Paul Stoffregen writes:
Yesterday I made a little audio clip player for a Monty Python Flying Circus theme party. It plays the 3 second dramatic sound for the unexpected Spanish Inquisition entrance.
The hardware is pretty simple. It’s just a Teensy 3.0 that “plays” the audio using a PWM pin.
The PWM is amplified to a 9V signal using a NPN transistor, then a pair of transistors buffer the signal to the current required to drive an 8 ohm speaker.
I had intended to make a nice L-C filter to remove the PWM carrier, but only the 100 uH inductor made it onto the breadboard as I quickly put this thing together in only a couple hours.
Read more here for source code and more!
Featured Adafruit Products
Teensy 3.0 + header – Teensy 3.0 is a small, breadboard-friendly development board designed by Paul Stoffregen and PJRC. Teensy 3.0 will bring a low-cost 32 bit ARM Cortex-M4 platform to hobbyists, students and engineers, using an adapted version of the Arduino IDE (Teensyduino) or programming directly in C language. (read more)Related