skip to Main Content
+971 55 881 1725 hmimthiaz @ imthi.com

Capacitive touch Drumkit with Raspberry Pi using MRP121

Couple of weeks ago I backed a new project Touch Board: Interactivity Everywhere on kickstater. This project excited me so much and I couldn’t wait for the finished product to arrive in March. I started to search for capacitive touch chips and finally landed on MPR121 breakout board on Sparkfun. Ordered them and received it 2 days ago and could not wait anymore and directly jumped into building a drums kit.

To make this work I did some research and everything was available but from different website. In this article I will put everything together in one place. I will go step by step

What do you need ?

1) Raspberry PI loaded with Raspbian OS.
2) MPR121 Capacitive Touch Sensor Breakout Board
3) Aluminium Foil for touch board
4) Connecting Wires

Configure I2C

I2C is a very commonly used standard designed to allow one chip to talk to another. So, since the Raspberry Pi can talk I2C we can connect it to a variety of I2C capable chips and modules. Please follow anyone of the following links to configure I2C on your Raspberry pi.

I2C and Raspbian wheezy
Adafruit’s Raspberry Pi Lesson 4. GPIO Setup

Connect the circuit

Can you detect the address of the MPR121 board ?

If you are not able to see 5a, try the command with i2cdetect -y 0. Still no luck! Google is your friend…

Download Code

Thanks to Scott Garner has contributed the complete source code of the beetbox. Download the code from github and run the program.

You should be able to hear the sound when you touch the foil inputs. If you are not able to hear the sound you can refer to this article to play sound file from command prompt in Raspberry Pi.

Thanks to Bare Conductive for inspiring this project… 😉

Michael Jackson dancing for Tamil song

Today I found this crazy video remixed for Tamil song where Micheal Jackson is dancing for it. Hilarious..!!!!

This is the original song from the Tamil movie. Please keep in mind when you watch Tamil movies laws of physics cannot be applied.

Hope you had cool fun 😉

Dubai Desert Safari with Flippers

For past three weeks Sheeban was bugging everyone that we should be going out somewhere on a weekend. Last week we decided that we go for Desert Safari. The next issue which travel agency was cheap and good. After the hunt we found Oasis Palm Tourism was a good option. After discount they charged 160 AED per head, which included whole lot of options. It was a real good deal. We started today afternoon around 3:00 PM from Al Ghurair City. They took us somewhere near Hatta – Oman highway around 40 km drive from Dubai.

On the way we visited the entrance of Sheikh’s palace. The whole place was flooded with peacocks and it was an amazing scene.

We halted for sometime before the ride in the sand dunes and took some nice pictures. To be honest it was little scary when the car was sliding on the dune slopes. I managed to take few shots even though it was impossible to hold the camera as the whole car was shaking a lot.

Next halt was for dune surfing and almost everyone tried except me 🙁 as I have very bad experience with skiing. After that we went for some more rounds and saw camel farm on the way to the camp.

The final stop was at the camp where we had snacks, shisha, dinner and the most awaited “Belly Dancing” 😉

I should thank the whole team for making to this trip. It was a very good experience.

P.S: I have more nice pictures at very high resolution and if anyone wants can contact me personally 😉

Back To Top