Doctor Geek/Nerd

View Original

Connecting the Web to the Real World

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

This project reads data from the GPIO pins and displays the data on a web page. In this case it used breadboarded push buttons

Webpage as viewed through the iPhone

1-10 Ratings

IKEA Rating - 10
Super simple to do. The book explains the lines of Python and HTML.

Python Code for Project

Tony Stark Rating - 1
The book does assume you understand how to breadboard the push buttons. The instructions do not cover how the breadboard works.

Mr. Wizard Rating - 10
The project shows how Python can be used to read data from the pins then manage the data to a template webpage. I image this could be used with temp sensor data, door switches and a number of other applicaitons.