Connor Nishijima
Published © GPL3+

Tone() with 8-bit Volume Control - No Extra Components!

Using ultrasong PWM frequencies, the Arduino can now produce square tone() waves with 256 volume levels with nothing but a speaker!

BeginnerFull instructions provided30,119
Tone() with 8-bit Volume Control - No Extra Components!

Things used in this project

Story

Read more

Schematics

Hookup Guide

Code

Volume Library

The Volume library is also available through the Arduino Library Manager!

Credits

Connor Nishijima

Connor Nishijima

3 projects • 15 followers
I'm a bit of a cheapass. You might know me from adding motion detection and 10-bit volume control to AVR uCs with NO components.

Comments