PWM sound Tutorial

Posted on Feb 6, 2014

Here we demonstrate the use of an Arduino PWM output pin to generate sound. The output pin can be toggled very quickly from LOW to HIGH generating a square wave. If the frequency of this square wave is within the range of 20-20, 00Hz and sent directly into a Piezo Speaker, an audible tone will be produced (in reality, the range of output is limited

PWM sound Tutorial
Click here to download the full size of the above Circuit.

by the specs of the speaker and does not cover the entire audible frequency range. ) This tutorial covers three sound output schemes: first is the method with the Piezo Speaker connected directly to the Arduino output pin. The second uses a low pass filter to transform the square wave to a line level signal that can be used with standard audio equipment. The third output scheme uses a TDA7052 amplifier (8-DIP) chip with volume control and sends the audio signal into a small 8 OHM speaker.

Leave Comment

characters left:

New Circuits



Popular Circuits

Schematic Diagram 12v battery charger circuit
Human-Computer Interface Technology 1
Baxandall Tone Control Circuits Using Two Transistor
2SC1946A 30 Watt VHF Amplifier
Touch switch circuit
HF Direction finding
AC voltmeter circuit