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

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top