Introduction: Tweet for Bubbles

This project was recently deployed at an IOT conference in Pune, India. The bubble machine that we brought from here, was modified to make bubbles if someone tweets with #PuneIOT. After people came to know about this we got a lot of tweets and a lot of bubbles too.

Teacher Notes

Teachers! Did you use this instructable in your classroom? Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Gathering the Required Parts

1. Bubble maker machine + soap water

2. Raspberry Pi + wifi-Dongle

3. Tah + Relays and Sensors Shield (we can make do without it, but since I had one handy saved me the trouble of making the circuit)

Now lets get started.

Step 2: Create a Twitter App and Setup Raspberry PI

First visit the Twitter Developers’ Site. This link guide you on how to create an app on twitter. Once you have created an app please copy the following details

Step 3: Setup the Tah Board.

Let us take the Tah board and attach it to the sensor + relay shield. Then cut the wire that connects to the bubble maker and insert the relay connected on pin 2 in series.

The sketch for the Tah board can be found here. It is simply reading the serial port for a string and as soon as it receives the string turns the relay on for 1 second. Upload the sketch on the Tah and plug it into the Raspberry Pi.