Generating ping sounds


Closed Thread
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2011
    Posts
    26

    Default Generating ping sounds

    Hi,

    I am trying to recreate the bullet ricochet sound like the old shooting gallery games that I can control via a PIC. I am not sure of the best way to do this either with the PIC itself, or some external circuitry. Any kind of loud dings, etc to signify a bullet has hit metal, and/or maybe some 'thud' kind of sounds for when you miss. Has anybody done this sort of stuff before? I could always use a raw sound file stored in an EEPROM for playback, but it seems like overkill for my project.

    Thanks

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default 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.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    Jun 2011
    Posts
    26


    Did you find this post helpful? Yes | No

    Default 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.

  4. #4
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default 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.)
    http://www.scalerobotics.com

  5. #5
    Join Date
    Jun 2011
    Posts
    26


    Did you find this post helpful? Yes | No

    Default 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?

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,806


    Did you find this post helpful? Yes | No

    Default Re: Generating ping sounds

    Have a look at this one

    http://www.4dsystems.com.au/prod.php?id=73

    Ioannis

  7. #7
    Join Date
    Jun 2011
    Posts
    26


    Did you find this post helpful? Yes | No

    Default Re: Generating ping sounds

    Thanks Ioannis, the SOMO-14D looks awesome. I have ordered one and will let you know how it goes.

  8. #8
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Generating ping sounds

    Moved from Schematics.

    Robert

  9. #9
    Join Date
    Jun 2011
    Posts
    26


    Did you find this post helpful? Yes | No

    Default 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!

  10. #10
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,806


    Did you find this post helpful? Yes | No

    Default Re: Generating ping sounds

    Great you got it working and your feedback.

    Ioannis

Members who have read this thread : 1

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts