Step 1: The circuit diagram

The circuit is very simple and consists of just four components: the battery, microcontroller, piezo speaker and switch.

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.
<p>I actually own a company that sells the sound modules (or music chips / voice chips) used to make your own greeting cards. It's pretty simple to record or program your own modules. I even made some videos showing how this is done. Here are some links showing how this is done, how to make your own musical greeting cards, and how to purchase. We even put lcd video screens as well as webkeys and NFC tags (near field communication, rfid) in greeting cards, brochures, and invitations and sales folders as well.</p><p>http://www.bigdawgsgreetings.com</p><p>http://stores.ebay.com/bigdawgsgreetings</p><p>DIY musical sound modules and voice chips, blank recordable greeting cards, usb programmamble sound, music box (light sensor), user programmable motion sensor sound boxes. Mainly for education, crafts, scrapbooking, and hobbies.</p><p>http://www.bigdawgspromo.com</p><p>Prerecorded sound modules, and video lcd screens (with a sound or video you provide) and custom printed cards and invitations. Mainly for events (personal or business), and marketing purposes.</p><p>Please share your thoughts as we are trying to expand our business.</p><p>- Edgar Davin</p>
<p>Edgar, I had a question about chips for the greeting cards. Do they work the same for the lights that light up in greeting cards? I working on a project and if it works I would love to try it. Suggestions? </p>
<p>I know how to make musical notes. These cards have great demand in my country Kenya. Whom can I partner with so that we produce these products? +254733779750</p>
<p>Microchip, who manufactures the integrated circuit used in the card.</p>
Hi, first time on here, nice site! <br> <br>I have a comment, and a question! I want to be able to make, and program chips like those in music cards, so I can create and record my own songs. <br> <br>What is the equipment I need to have to make these chips, and how will I be able to program the music chips myself? A list of equipment, and parts, or some help in the right direction would be appreciated! :)
neelandan: <br>Congrats for this tiny project - I have been listening it for many-many minutes non- stop :) <br>However, I would have 2 small corrections: <br>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); <br>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). <br>And 1 idea: if I connect one wire of the piezo to the GND, it will result a little bit lower volume. <br>greets
thanks for pointing that! :) <br>much appreciated! <br>Merry Xmas! :) <br>marC:)
I got this whit MPLAB<br><br>Build C:\PRUEBA\Prueba for device 10F200<br>Using driver C:\Program Files (x86)\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe<br><br>Executing: &quot;C:\Program Files (x86)\HI-TECH Software\PICC\LITE\9.60\bin\picl.exe&quot; -C C:\PRUEBA\Prueba.asm --chip=10F200 -P --opt=default -q -g --asmlist &quot;--errformat=Error [%n] %f; %l.%c %s&quot; &quot;--msgformat=Advisory[%n] %s&quot; &quot;--warnformat=Warning [%n] %f; %l.%c %s&quot; <br>Error [141] C:\PRUEBA\Prueba.asm; 19.21 can't open include file &quot;P10F206.inc&quot;: No such file or directory<br><br>********** Build failed! **************
Is there any way to make this function with an mp3 or .wav file? Size and shape won't be an issue, since I'm trying to make my door play a specific sound when opened.
Cool DIY. We actually make and sell musical sound chips and sound modules for crafts, hobbies, education, and DIY projects through our online store at http://store.bigdawgspromo.com. We also have light sensor, motion sensor, push button, and slide tongue greeting card modules (making musical greeting cards). However ours are programmed through USB using an MP3 file.<br><br>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<br><br>I liked this posting very much. Looking eager to the next one!
the pic10f206 is apparently an 8 pin microcontroler
Try looking at the SOT-23 size. That's a 6 pin chip. The other package sizes of this chip are 8 pin.
hi, could anyone please give me the compiled hex? I tried doing it myself, bur i can't seam to figure out MPLab:s I use proton. I found a way to make a hex file out of it but that didn't work, my programmer program couldn't load it:s
see in the beginning of the page... thanks!
Which processor do you intend to use?
10F200 but i found it, i diden't see it in the instructable at first
now it won't program :s i keep getting an error message saying: rom programming error at adress 0x0000 Good 0x0A84 Bad 0x0FE I'm using the 8 pin DIP version instead of the 6 pin SMD version
i cannot get it to work.. can someone help me out please... with pic10f206..<br><br>THanks !:)
I picked up a few (ebay, 3*25, about 30 cents each) pic10f202 and it worked like a charm :-) Using a detector radio's headset though for testing. With the help of a friend I&nbsp;somewhat got &quot;popcorn&quot;&nbsp;playing, but in university I&nbsp;lost the darn microcontroller on the carpet ;-)<br /> Once I&nbsp;got the thing back running, I'll post again. Thanks for this instructable.
<p>One day, maybe, when I become experienced with electronics, I'd like to try this out.&nbsp; Sorry you caught so much relative flak but this really cool instructable.&nbsp;</p>
I've always wanted to learn to use those little tiny processors. Some1 should make a little kit with instructions about them. I know some of you had those that would let you make a little magnet, or a light, or maybe a little buzzer or somethin.
<p>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.</p>
where can i get the software and hardware to reprogram my musical module from a greetings card?
Nowhere. You can't reprogram the module in a greetings card. What you can do is to get a six pin PIC from Microchip, program it to play the melody you want and stick it in place of the module in a greetings card.
i did some googling and found out that there are reprogrammable PIC chips out there. is it possible that the chip from my music card is reprogrammable? if i were to get a new module, where can i get the necessary hardware that connects my computer to the card to program it?
I have never seen a reprogrammable music module in a store bought greeting card. My way of building your own is the only way to go if you want a customised tune in your card.
where can i get the necessary hardware that connects my computer to the card to program it? can you give me the specific name of that hardware.?
google "pic programmer"
Pretty much all pic microcontrollers are dead easy to reprogram, the problem is that when they're programmed at the factory, they can set a bit high that makes the chip unreadable, to prevent a company from stealing another company's code, unfortunately it also makes it unwriteable.
Do you know if those pins can be programmed with more than a simple melody. I am thinkin of a full 3-5 minute song with vocals and all.
I think it can be done with a "high end" micro - one with a megabyte or so of programmable memory, into which you can store your digitised song and a small program to play it back. That sort of chip will have typically eighty to a hundred pins in a quad flat pack - that is, a square chip with twenty to twentyfive leads on each side.
or lo-end with some 1 wire eproms
can nyone oplz tell me whether i can do this project on atmega 16 microcontroler or not?i have a little knowledge on PIC10F.so can i write d program in my atmega 16 microcontroller?what will be d exart code 4 this??urgent,valentine day is coming nearer..n i have 2 complete it b4..plz understand&nbsp;d situation....&nbsp;
&nbsp;want to make my own musical greeting card.<br /> i have try to search it on google but i was getting only sites of dealers &amp; greeting card sellers.<br /> <br /> i have read like that they are using either voice recorder IC or micro-controller.<br /> <br /> how can i load music files or my own voice in that chip.<br /> is there any software for loading file in it then which format it supports.??<br /> <br /> can anyone please tell me how i can get detail of circuit of musical greeting card.<br /> <br /> thanking you all in advance...!!
can i write program to tell the names.is it possible.
i would like to see the circuit diagram but im not able to acess it.
nice project!!! can you tell me where can I buy this microcontroller ??
doe,a deer,a female deer,ray,a drop of golden sun,me,a name I call myself,far,a long long way to ruuuuuun,sew,a needle pulling thread,la,a note to follow sew,tea,a drink with jam and bread,and that brings us back to dooooooooooooooo!
... you truely disgust me
Im happy to see the lyrics, reminds me of my Grandmother and how she used to sing it to us as kids *sigh* <br/>
thats the whole thing,if you like it or not
Dude you have to wonder, the line 'la, a not to follow so' .... doesn't it seem just a tad bit lame? A little bit unfinished like? Like as if the writer of the song was getting into the flow of things nicely with the whole song and then suddenly had, like, a stroke or something and when he got back to it he couldn't remember what he wanted to write!! Seems wrong somehow, yea? lol :)
Joellsays: Hello there,... sorry but I just needed to ask you something about your musical greeting card project,... how do you convert the hex file of the melody into the 'do re me fa...' notation that you've used in your program? And further, can the output of the piezoelectric speaker be polyphonic? As in, if i were to convert or use the hex version of an mp3 file would it play it decently or would i play a distorted monophonic version. Actually, it goes the other way around. First you convert your melody into the tonic sol-fa notation - get the help of somebody who knows music. Second, these notes are incorporated into an Assembly Language program - the example shows a few tunes. Third, the program is converted to the hex file used for programming the chip. This simple processor, with a simple program inside, is limited to playing a monophonic melody. That is, one note at a time.
Alright so this might seem like a silly doubt: If i wanted to program a complex tune into this chip, like a full mp3, can i basically just generate the hex file of that mp3 and program it onto the chip? Or is there a tweak to be made to allow me to do this.<br/>Can't see a reason why it shouldn't be possible but then again, i've been wrong before :)<br/><br/>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. <br/><br/><a rel="nofollow" href="http://www.snapfiles.com/get/filealyzer.html">Filealyzer</a><br/>
always wanted to know how these were made. cool instructable, looks way too hard for me. im only 13 hahaha
im 13 and i can make it. so u can too
What are all the pieces i need for the musical card from start to finish including the micro chip,leads and wires? and where can i buy them all at to start building my card?
You are looking for a Bill Of Materials (BOM). Sorry, it is like going to the art store and asking for "enough paint for two hills, five trees and a sunset". This instructable is intended for persons already into electronics as a hobby. The average hobbyist will have the bits and pieces needed for this project (except maybe the PIC) lying around. If you are trying to make one, the best course of action will be to buy a musical greeting card from a store, and replace the chip inside that with one you have programmed yourself. You will need a PIC programmer, too.
okay...i need some help on this topic (i.e musical greeting cards) i have a programmer and the voice modules ....i have to types...the recordable and the non recorable. This is it... the came from a foreign country and i have been trying to duplicate the voice module/re=program the chips i have already purschase from overseas... is there anyone who can duplicate pc board?<br/>

About This Instructable


125 favorites


Bio: Employed as an Engineer in Electronics. Interested in building small circuits around tiny chips (the electronic kind).
More by neelandan: Wireless L E D 9V battery case for projects Stereo amplifier, dead bug style
Add instructable to: