Raspberry Pi Medal Light

You love the Olympics but you don’t have time to check if your country has won any medals. Using IFTTT and Ledborg on the Raspberry Pi, you can know get notified of any medal just by looking at your Pi (and then tell the whole world how proud you are) !

Raspberry Pi Medal Light

Step 1: The parts

This project obviously requires a Raspberry Pi. I used the popular Ledborg as my light source, a cheap RGB LED add-on for the Pi, which also makes controlling it in Python really easy. You will also need to have a Gmail account and a IFTTT account, as those will alert the Raspberry Pi of any new medal.

Step 2: Installing the Raspberry Pi

Plugging the Ledborg in the Raspberry Pi is really easy. Just insert it on the GPIO pins, making sure that the Ledborg is not extending outside the frame of the Raspberry Pi, but rather inside. Plug your Pi, connect it to the internet, and either SSH into it or open a console window.
To install Ledborg software, enter these lines:
mkdir ~/ledborg-setup
cd ~/ledborg-setup
wget -O setup.zip http://www.piborg.org/downloads/ledborg/raspbian-2014-01-07-rev2.zip
unzip setup.zip
chmod +x install.sh
./install.sh

Step 3: The codeRaspberry Pi Medal Light Code

The code is adapted from this post: http://talktech.info/2013/03/05/raspberrypi-plus-ledborg-plus-ifttt-com-fun-with-lights/
From the console window enter the following commands:
wget https://googledrive.com/host/0By6W2xwV2whWeDdWZjFPRWdqcTA/medal.py
chmod +x medal.py
nano medal.py

You should then be greeted with the nano screen. Just change [email protected] and password to your Gmail credential.
Press CTRL + X then y then Enter

 

For more detail: Raspberry Pi Medal Light

About The Author

Scroll to Top
Read previous post:
Charlieplexing with the Raspberry Pi
Charlieplexing with the Raspberry Pi

I've always been interested in Charlieplexing, but never had any means to get into it.  When I got my Raspberry...

Close