Doctor Geek/Nerd

View Original

The Web Lamp

Project Type: Raspberry Pi, Python, Electronics
Software: Text Editor or Python IDLE, Flask
OS: Raspian
Kits/Part Source: PowerSwitch Tail IIRaspberry Pi B Starter Kit 
Project Source: Getting Started with Raspberry Pi by Matt Richardson and Shawn Wallace 

This project teaches the reader to turn a lamp on and off through a web browser.

Web Browser view on an iPhone

1-10 Ratings

IKEA Rating - 10
The code for the Python is kinda long but the HTML for the template was short. The book does a good job of explaining both the code and the HTML.

Python Code for Web Lamp

The Pi running the Python Script

Tony Stark Rating - 1
The reader will want to test the project on a breadboarded LED before connecting the Pi to the PowerSwitch Tail.

Testing with a breadboarded LED

Mr. Wizard Rating - 10
This project basically gives a practical method of integrating the Raspberry Pi with and electronic project and a web browser. I can see how these principle can be applied to other electronics or even robotics.