Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Hobbies Electronics Enthusiasts Club, All elect/robotics lovers! pls come!

views
     
jiaxun
post Aug 12 2009, 03:40 PM

- Wh@†Eve® - ™
******
Senior Member
1,352 posts

Joined: Jun 2007
Hi,

I would like to make something like a birthday song card, but the birthday song is replaced by the song of my choice.

Does anybody knows where can I get such a programmable IC and how to program it? Besides, I would like a guide on how to make that circuit.

Thank you.
jiaxun
post Aug 12 2009, 09:33 PM

- Wh@†Eve® - ™
******
Senior Member
1,352 posts

Joined: Jun 2007
QUOTE(tgrrr @ Aug 12 2009, 06:20 PM)
I don't know if the kind of programmable IC you're looking for exists.
You can make your own simple audio player using micro-controllers like PIC, but you'll need to write the whole program, not just the song you wanted to play.
*
It exist, example: http://www.rev-ed.co.uk/picaxe/
This one can only program for monophonic ringtone.

But I wonder where can I find it in Malaysia. Especially those that can record full song.
jiaxun
post Aug 13 2009, 07:11 AM

- Wh@†Eve® - ™
******
Senior Member
1,352 posts

Joined: Jun 2007
QUOTE(Aurora @ Aug 12 2009, 10:35 PM)
Depends on your audio quality, a very simple song (i.e. bepper type, sound quality is like dinosour-age nokia 3310 ringtone) can be produce with just a programmable micro-controller, the smallest and cheapest one is probably around RM10 (check lelong.com.my), not much component require. But the chip is quite big la, you can't really get those small circuit like they sell in bookstore. If you want better quality, like MP3 (i.e. instrument with you singing the song)....  sweat.gif That one more expensive, you need to get a MP3 encoder/decoder chip. Even I haven't play with that before. You can try google DIY MP3 circuit. This idea is best if you want to make a customize music box, cause the circuit+battery itself is just no sense to put onto a card...  laugh.gif  laugh.gif
*
Yes this is what I'm talking about. I searched lelong but only got 1 type which is 18-pins. I think 8 or 16 pints will be enough?
jiaxun
post Aug 14 2009, 08:05 AM

- Wh@†Eve® - ™
******
Senior Member
1,352 posts

Joined: Jun 2007
QUOTE(tgrrr @ Aug 13 2009, 10:58 AM)
Oh I didn't know you just want some beeping music. I'm thinking using PIC to generate PWMs at the frequency of music "note" will do the job. Then you just need some driver circuit for the speaker.
*
QUOTE(Aurora @ Aug 13 2009, 09:46 PM)
Any pin count will do, you don't need all the pins. But need to check the internal memory. I haven't write a music program file before, my guess is even the smallest size will do.  biggrin.gif Like tgrrr said, just engage the PWM, then change the duty factor and you can get your music already. See if I'm free to do a simple demo or not this weekend.  biggrin.gif First need to get a beeper/speaker, maybe steal from my PC casing.
*
Actually, what is/are the difference(s) between IC and PIC

Sorry I am totally not related to this E&E field but only know some basics, hope you guys can help me out on this. Thanks.

 

Change to:
| Lo-Fi Version
0.0261sec    0.54    7 queries    GZIP Disabled
Time is now: 29th November 2025 - 05:57 PM