Remove these ads by
Signing UpStep 1: The circuit diagram
The switch (not shown in the diagram) is just two strips of metal pressed together, with a piece of paper in between. As the card is opened, the paper is pulled away and the two contact each other, thus closing the circuit.
A fragment of the code is shown, too. The program takes up 56 locations in memory. The PIC10F200 has 256 such locations available. A melody consisting of 200 notes or so can be fitted in to this chip.
This should be sufficient for a musical greeting card.






















































Visit Our Store »
Go Pro Today »




Congrats for this tiny project - I have been listening it for many-many minutes non- stop :)
However, I would have 2 small corrections:
1. You connected the piezo to the ports 2 and 3, but in the program they are at 0 and 1 (and the latters are the correct - GPIO0, GPIO1);
2. I built with PIC10F222 - in this type of ICs , to disable the extra functions on the pins, the ADCON0 register has to be cleared(CLRF ADCON0).
And 1 idea: if I connect one wire of the piezo to the GND, it will result a little bit lower volume.
greets
much appreciated!
Merry Xmas! :)
marC:)
Build C:\PRUEBA\Prueba for device 10F200
Using driver C:\Program Files (x86)\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe
Executing: "C:\Program Files (x86)\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe" -C C:\PRUEBA\Prueba.asm --chip=10F200 -P --opt=default -q -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s"
Error [141] C:\PRUEBA\Prueba.asm; 19.21 can't open include file "P10F206.inc": No such file or directory
********** Build failed! **************
We also put video lcd screens in cards, and USB flash drives webkeys, but these are for our commercial customers such as printers, marketing agencies, etc. http://www.bigdawgspromo.com
I liked this posting very much. Looking eager to the next one!
THanks !:)
Once I got the thing back running, I'll post again. Thanks for this instructable.
One day, maybe, when I become experienced with electronics, I'd like to try this out. Sorry you caught so much relative flak but this really cool instructable.
The data sheets from the manufacturers are usually the best instructions that there are, just google the chip name followed by data sheet, and (with a little understanding of digital devices) you can do whatever you want.
i have try to search it on google but i was getting only sites of dealers & greeting card sellers.
i have read like that they are using either voice recorder IC or micro-controller.
how can i load music files or my own voice in that chip.
is there any software for loading file in it then which format it supports.??
can anyone please tell me how i can get detail of circuit of musical greeting card.
thanking you all in advance...!!
Can't see a reason why it shouldn't be possible but then again, i've been wrong before :)
I'll be using filealyzer to generate the hex file; it just gives it to you... download it and try it with an mp3 if you like.
Filealyzer