Re: Generating ping sounds
Here's a low tech idea...
How about if you use an old doorbell or electromagnet or solonoid to clank or ping or ding something to get the sound(s) you want. Obviousily this could be controlled by a sufficient transistor or relay controlled by the PIC.
Re: Generating ping sounds
I thought about that, but really need a solution that can be produced in a decent quantity (1000 units or so). I have seen electronic shooting gallery games make this sound, I was just wondering if anybody knew how they do it. I don't really have a background in analogue electronics, so not sure of the best way to go.
Re: Generating ping sounds
There's the old Roman Black method. Sounds are rather hissy, but you can embed it into a pic chip. A ricochet sound mightbe well suited for it, since it might over ride the hiss. :)
Here's some code with number example. And a wave file you can play for getting an idea of the "quality". Not great, but you can easily tell what numbers they are.
http://www.picbasic.co.uk/forum/show...0131#post90131
and Darrel's better example:
http://www.picbasic.co.uk/forum/show...1089#post51089
(In fact, his example has a sort of laser gun sound in it.)
Re: Generating ping sounds
Thanks for the suggestion, I already tested the Roman Black method and found that the sound was just too hissy. It is pretty cool though.
I was hoping that there would be some kind of simple sound circuit I could make from other components. I have seen sine wave generators with 555 timer chips that make wailing sounds. Maybe there is something like this that they use to make 'ding' kind of sounds?
Re: Generating ping sounds
Re: Generating ping sounds
Thanks Ioannis, the SOMO-14D looks awesome. I have ordered one and will let you know how it goes.
Re: Generating ping sounds
Moved from Schematics.
Robert
Re: Generating ping sounds
Ok, I managed to get the SOMO-14D working correctly. It does exactly what it says it should, and plays sounds quite loudly through the speaker connection. It does take a while getting the right SD card for it, but once you have that it's great.
Thanks again for the help!
Re: Generating ping sounds
Great you got it working and your feedback.
Ioannis