I am looking for examples on how to generate a sound wave and getting its output through one of the Bb many GPIO's by plugging in a piezo or a speaker. Ultimately, I'd like to generate different frequencies in a way that's akin to Arduino's Tone() function. Is this possible?
Thanks!
Generate a sound wave tone and getting an output through gpio
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- monsieur_david
- Posts: 8
- Joined: Thu Nov 08, 2012 7:13 pm
-
- Posts: 4
- Joined: Fri Dec 27, 2013 6:23 pm
Re: Generate a sound wave tone and getting an output through
Hi,
remember that GPIO pins produce digital 1's and 0's, so you can use PWM to generate analog signals or connect your output gpio to DAC (digital to analog converter), check this too:
http://elinux.org/Beagleboard:BeagleBone_Black_Capes
remember that GPIO pins produce digital 1's and 0's, so you can use PWM to generate analog signals or connect your output gpio to DAC (digital to analog converter), check this too:
http://elinux.org/Beagleboard:BeagleBone_Black_Capes
Please be positive and constructive with your questions and comments.