The Tapper – a musical sensor project for Arduino

Project #3 – The Tapper

The TapperTap the speaker plugged into the Arduino, and it plays a tune back to you on that same speaker. In this project, BuilderBot and “Super-Awesome” Sylvia will show you how a regular speaker can be both an input and an output in the same project! Afterwards, you can adjust this project to trigger almost anything you want.

Be sure to read the directions in the book to find out how to build The Tapper!BuilderBot


Looking for the code? Copy and paste the following into your Arduino IDE, hook up your speaker & Arduino, press upload and try it out!

Look Here!

To use it, tap or flick the speaker until the LED blinks. Do this three times (or however many the code says to do) and it should play you a song.


This software is licensed under the CC-GNU GPL version 2.0 or later.