Go Down

Topic: Ultrasonic speaker for Arduino Mega (Read 3083 times) previous topic - next topic

joshlevy89

I am curious if it is possible to generate ultrasonic sounds with the Arduino Mega.  The standard piezo buzzer only reaches 10kHz and I need to hit the 50kHz range, and upwards if possible.  I have been told that the clock speed is not fast enough to generate such sounds.  If that is not true, is there a buzzer I can use to produce these sounds?

AWOL

Standard 40kHz Murata ultrasonic transducer.

Quote
I have been told that the clock speed is not fast enough to generate such sounds.

Who told you that?

joshlevy89

I do not see any such component provided by Murata.  Can you post a link or maybe an alternative device?


polymorph

There is the tone() library which could go in excess of 60kHz, and now there is the improved toneAC() library which is said to go even higher.

http://playground.arduino.cc/Code/ToneAC
Steve Greenfield AE7HD
Drawing Schematics: tinyurl.com/23mo9pf - tinyurl.com/o97ysyx - https://tinyurl.com/Technote8
Multitasking: forum.arduino.cc/index.php?topic=223286.0
gammon.com.au/blink - gammon.com.au/serial - gammon.com.au/interrupts

Go Up