Twitter Mood Light
An Arduino and Python project that shows the mood of Twitter as an RGB LED.
Things you Will Need
Arduino Uno w/ USB Cable and Breadboard
3 Jumper Cables
The RGB, Resistor and jumper cables I use can be bought in a package here
A guide to installing Python libraries can be found here
Set up the analog one RGB LED as shown in the breadboard diagram in this guide
<insert serial port here> on line 25 in the python file to the Serial port of your Arduino which can be found here.
Get your details for the Twitter API by following the instructions here and insert them into lines 31 to 34 in the Python file.
To start the program first plug in the USB cable and compile the Arduino program to the Arduino board, then start the Python program and you should see the LED change colours (usually green) then every 5 seconds you should see a subtle colour change. The project is working.
The program will only work if the Python program is running on the PC and the USB cable is plugged into the Arduino.