How to do Projection Mapping with the Touch Board
Find out how to do projection mapping with the Touch Board
We’ve taken inspiration from your projects and created a projection mapping tutorial using the Touch Board! In this tutorial, we explain how to link your Touch Board to a projector to make interactive graphics using its MIDI function. We used MadMapper as a projection mapping software, but you can use other software if you prefer.
If you want to get some inspiration for projection mapping, have a look at some past projects here.
To begin you will need:
Electric Paint 50ml
Electric Paint 10ml
laptop running MadMapper
Setting up the Touch Board
To set the Touch Board into MIDI controller mode, select “Bare Conductive Touch Board (USB MIDI, iPad compatible)” in the Tools -> Board menu and then upload the sketch “Midi_interface_generic”.
Set the controls in Mad Mapper
We’re going to use the MIDI function of the Touch Board to trigger two animations in Mad Mapper. We have two sample animations that you can download here. Otherwise, you can design your own.
Open MadMapper and drag and drop the animations into the workspace. Make sure to change the “Loop movie” setting to “Play the movie to the end of the loop and pause” so that the animation only plays once. When you have your animations on the workspace, connect the Touch Board to the laptop and turn it on. Open the MIDI control settings in Mad Mapper. Select the animation you want to control with the Touch Board, then click the “Goto beginning” button, then touch the electrode you want to use, for example, electrode 0. The “Goto beginning” button should now be grey and have something written across it, like “1/B2”.
Repeat the procedure with the second animation.
If you like to, you can connect the projector to your laptop and project the animations by going into “Full Screen Mode”.
Paint the triggers
Now we need to start thinking about where we want to project the animation. We used some painted cardboard, which we attached to the wall. But you can use plywood, a blank canvas or paint directly onto a wall.
Next, we need to paint the graphics to start the animation using Electric Paint. You can paint the graphics either by hand, use stencils, or screen print. For this tutorial, we simply painted a circle and square by hand.
Connecting to the Touch Board
The next step is connecting the graphics to the Touch Board. In the first place, if your Touch Board is still connected to your laptop, turn it off and disconnect it.
Then, if you’re planning on hiding the Touch Board behind the surface, you’ll have to make a connection through the material. We used black nails, but you could also drill a hole and then use a screw, or some cable.
To connect to the electrodes you can use any conductive material, such as wires, copper tape or Electric Paint. For example, we used copper tape and pierced it with the black nails. To get a full overview on how you can connect to the sensors, have a look here.
Touch the paint and watch the animation
After the paint has dried, connect your Touch Board back to the laptop and the projector. Then, turn the Touch Board on, touch the paint and watch the animation unfold!
You might find that the Electric Paint doesn’t trigger the animation too well. Probably, this might be because the distance between the Electric Paint and the Touch Board is too long. Consequently, you could try changing the sensitivity of the Touch Board’s electrodes, you can learn on how to do this here.