Skip to main content

How to use a Bare Conductive Touch Board with Arduino

What is the Bare Conductive Touch Board?

The Bare Conductive Touch Board is a board made by Bare Conductive. The Touch Board has 12 capacitive electrodes that respond to a touch. These electrodes can be extended with conductive materials, like Electric Paint or foil. The Touch Board has on-board MP3 playback and a MIDI synthesizer. This means you can either play MP3 files or simulate a MIDI instrument by touching the electrodes. pf-b1ea0e52--CompTBWhiteFront1080x1080withfeatures.webp In short, the Touch Board is a pre-built Arduino that combines the functions of play MP3 and capacitive touch sensing, but you can do more than that. If you don't have the Touch Board, you can still do the same things following the above two tutorials.

Hardware Plugin

Whenever we use an Arduino, we have to tell the Arduino IDE which Arduino board we are using, whether it is a Arduino Leonardo or Arduino Mega. So we have to do the same here, telling Arduino IDE which board we are using. In this case, the Bare Conductive Touch Board. However, you cannot find the Touch Board from Tools - Boards. We have to download and put the plugin in place.

  1. Quit Arduino if you have it opened.

  2. Download the Hardware Plugin here: bare-conductive-arduino-public.zip

  3. Create a hardware folder

    Windows: Libraries/Documents/Arduino/hardware

    OR My Documents/Arduino/hardware

    Mac: Documents/Arduino/hardware

    Linux (Ubuntu): Home/Arduino/hardware

  4. Unzip and put the folder inside the hardware folder

Now open Arduino IDE, you will see the Touch Board from Tools - Boards - Bare Conductive Boards.

board.png

Library

The MPR121 is the capacitive touch chip on the Touch Board - this library allows us to access it. The VS1053 chip is the MP3 chip on the Touch Board. It uses two libraries, one for the chip and one for the onboard micro SD card.

  1. Quit Arduino if you have it opened.

  2. Download the MPR121 Library here: mpr121-public.zip

  3. Download the VS1053 Library here: Sparkfun-MP3-Player-Shield-Arduino-Library-master.zip

  4. Go to the libraries folder

    Windows: Libraries/Documents/Arduino/libraries

    OR My Documents/Arduino/libraries

    Mac: Documents/Arduino/libraries

    Linux (Ubuntu): Home/Arduino/libraries

  5. Unzip mpr121-public.zip and find the folder MPR121

  6. Unzip Sparkfun-MP3-Player-Shield-Arduino-Library-master.zip and find the folders: SdFat and SFEMP3Shield.

  7. Copy MPR121, SdFat and SFEMP3Shield Folder to the libraries folder

Now the software Arduino IDE is ready, you will see the libraries from Sketch - Include Library.

File naming

Files saved in the Micro SD card should be named TRACK000.mp3 through TRACK011.mp3, and the Bare Conductive Board will match the file name to the E0 to E11 pins and play the according sound files.

Wiring

No wiring is needed. But you can extend each touch point with wires or connect them to any conductive materials, e.g. fruit.

Basic Example

This basic example will play TRACK000.mp3 to TRACK011.mp3 from the SD card when the according pin is touched.

touch-mp3-public.zip

Sample MP3 files

To help you get up and running quickly there are 5 example MP3's you can use with the basic example of Tom saying 1-5.

Example MP3 Files

Resources