Simple touch-to-MP3 code for the Bare Conductive Touch Board. Touch electrode 0, TRACK000.MP3 plays from the micro SD card. Touch electrode 1, TRACK001.MP3 plays from the micro SD card, and so on. This is the code that ships with the Touch Board.
-
Arduino 1.5.6 or later
-
Arduino's instructions for installing libraries are available here
-
SFEMP3shield library (zip file download here)
-
Bare Conductive MPR121 library (zip file download here)
-
Bare Conductive Arduino Hardware Plugins (zip file download here) - instructions on installing this hardware plugin folder are available here.
-
Close the Arduino IDE if you have it open.
-
Download the .zip or clone the repository to your local machine - if downloading the .zip, extract the contents somewhere that suits you.
-
Take the Touch_MP3 folder and move it to Arduino Sketchbook Folder. This will be different for each operating system:
Windows
Libraries\Documents\Arduino
or
My Documents\Arduino
Mac
Documents/Arduino
Linux (Ubuntu)
Home/Arduino
If this folder does not exist, create it first.
-
Reopen the Arduino IDE - you should now be able to open the sketch in the File -> Sketchbook menu.