PCM (Pulse Code Modulation)
Using Arduino and a speaker, you can generate audio signals as if they were coming out from an MP3 player.
Components
Arduino Uno
8 ohm Speaker
TIP 120 Resistor to be used as an amplifier.
Circuit
Just connect the amplifier transistor to Arduino and then connect them to the speaker.
Software
Download Audacity and then download software encoder from here.
Arduino code is included in this file.
Source: Instructables
No comments:
Post a Comment