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!
Components and supplies
1
Arduino UNO
1
Speaker: 0.25W, 8 ohms
Project description
Code
Volume Library
The Volume library is also available through the Arduino Library Manager!
Downloadable files
Hookup Guide
Hookup Guide

Hookup Guide
Hookup Guide

Comments
Only logged in users can leave comments