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!

EasyFull instructions provided9,261
Tone() with 8-bit Volume Control - No Extra Components!

Things used in this project

Story

Read more

Schematics

Hookup Guide

Volume

Code

Volume Library

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

Credits

Connor Nishijima

Connor Nishijima

3 projects • 9 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