Everything you need to get your Touch Board project back up and running
The Touch Board is a versatile device to create interactive projects. The Touch Board is based around an Arduino Leonardo and can be reprogrammed via the Arduino programming environment (IDE). You can use our example code or write you own. You can connect to its capacitive sensors with Electric Paint and trigger endless events. Problems with the Touch Board typically fall into two categories, code issues, and mechanical issues. This tutorial will take you through troubleshooting the most common problems.
If you get stuck or still can't find a solution, reach out to us at email@example.com. We're here to help!
We love it when you share your projects! Post your project on Instagram, YouTube, or Twitter, and make sure to tag @bareconductive or use #bareconductive. You can also send your videos and photos to firstname.lastname@example.org so we can post them on our site for the world to see.
You will need:
- 1 x Touch Board
- 1 x USB Micro B to USB A or USB C (depending on your computer's USB port type)
- 1 x Computer running Mac OS, Windows, or Linux
Unable to upload code
In order to change the code on the Touch Board, you need to install the Touch Board installer for the Arduino IDE.
If you are unable to locate the Touch Board within the Arduino IDE under Tools -> Port, but you ran the Touch Board installer, then check your cable. Some USB cables are for powering only, but you need to use one that works both for powering as well as transmitting data. If you bought the Touch Board in one of our kits, please use the USB cable that came with the kit. If you bought the Touch Board separately, please try using a different cable.
If you are able to locate the Touch Board under Tools -> Port, but the code isn't being uploaded, and instead it's just idle, then please try following these steps:
- Press the reset button on the Touch Board
- Make sure that you don't have any menus open in the Arduino IDE
- While the L LED is flashing, select the correct port from the Tools -> Port menu in the Arduino IDE (you have about 8 seconds to do this)
- Ensure that Bare Conductive Touch Board is selected in the Tools -> Board menu in the IDE
- Allow the L LED to stop flashing
- With the code that you want to upload open in the IDE, click the upload button and immediately after, press and hold the reset button on the board
- Release the reset button at the point where the text above the black console at the bottom of the screen changes to "Uploading…"
Unable to hear any sounds
The Touch Board can play MP3 files from its SD card, or act as a MIDI synthesizer. If you have previously set up the Touch Board as MIDI synthesizer, for example as a piano, but now you want to play MP3 files again, then you need to remove the soldering from the two solder bridges of the Touch Board and upload the right code, for playing MP3s, it's "Touch_MP3". Also make sure that the headphones or speakers that you are using are fully charged, and plugged in all the way into the Touch Board.
If you are using your own MP3 files, make sure that you have labelled them correctly, you can find a detailed tutorial here. Sometimes it's good to start from scratch if you are getting stuck, so if you want to use the example files that came with the Touch Board, you can download them here. If you have to reformat the SD card, it needs to be set as MS-DOS (FAT) format.
Also, make sure that the micro SD card is fully inserted into the Touch Board and remove any dirt if applicable.
Unable to trigger the sensors
The sensors might not respond or trigger an output erroneously for a couple of reasons. First, make sure that you are not touching the sensors when you turn the Touch Board on and that the Touch Board isn't placed on a conductive surface.
If your sensors aren't responding, then we always recommend using the Grapher first, it helps you visualise the sensors. Work yourself up from testing the electrodes directly on the Touch Board to one large sensor after another.
If you are attaching anything to the capacitive sensors of the Touch Board, make sure to reset the Touch Board, either by turning it off and on again, or by resetting it with the Reset button on the board, or by resetting it via the Grapher. When the board first turns on, it spends a few seconds finding a background capacitance level against which to detect touches, any time you connect something new to the Touch Board you need to let it readjust so that each electrode can do the necessary calibration.
Make sure that any connections to the sensors is stable and constant, so for example with alligator clips, make sure that they are secured to the surface and are not overlapping each other. In your design, there shouldn't be any displacement of the sensors. Overlapping clips can cause interference and noise, so stabilising them helps.
If you are painting long lines with Electric Paint as an interface, you need to be careful. Electric Paint can have a high resistance over a long distance, which means that the signal might get lost at such a long range. You can then either paint shorter lines with Electric Paint or change the threshold values. You can change the threshold values with the Grapher or with the code in order to detect your target, you can even have a variation in the thresholds for each electrode. Also, make sure the Electric Paint hasn't cracked anywhere, if it has, just apply another layer of Electric Paint.
Also, like with wires, make sure that the Electric Paint connected one electrode isn't touching the paint of another.
If you are using long cables to create sensors, make sure to use shielded cable, otherwise, the non-shielded cable will pick up noise.
Sometimes, there can be interference with the sensors due to background noise or because a ground reference is missing. This is especially true for when using the Touch Board with a battery or a power bank. One quick way to eliminate this noise is by grounding the Touch Board and connecting the GND connection of the Touch Board to ground.
If you are writing your own code or modifying one of the example codes for your design, we'd recommend using the serial monitor in Arduino. By adding lines of Serial.println(""), you can see what happens in your code when. We use this, for example, in the Touch_MP3 code.