Main Content

Arduino Noise Machine

I found a tiny speaker while tearing down an old P.C. for recycling and thought I’d see what it sounded like using the Arduino Tone() function. I began with one 10 potentiometer to control the pitch and started making some noise. The Tone() function uses a simple pulse pattern. It turns the sound on and off at different frequencies in a square wave-pattern. I had two other potentiometers lying around so I added them and used them to control the tone duration. One to control the length of the tone and one to control the silent space in between the tones. It’s basically using another square wave-pattern but at a much lower frequency. You can achieve a good variety of noise with this circuit. It works well with a piezo buzzer too, but lacks the bass response of a speaker.”

Link to article