Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mjrovai/RPi-Flask-WebServer
Python WebServer with Flask and Raspberry Pi
https://github.com/Mjrovai/RPi-Flask-WebServer
Last synced: 13 days ago
JSON representation
Python WebServer with Flask and Raspberry Pi
- Host: GitHub
- URL: https://github.com/Mjrovai/RPi-Flask-WebServer
- Owner: Mjrovai
- License: mit
- Created: 2018-01-05T21:51:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-21T19:10:49.000Z (over 3 years ago)
- Last Synced: 2024-08-01T19:52:48.382Z (3 months ago)
- Language: Python
- Size: 4.87 MB
- Stars: 54
- Watchers: 6
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPi-Flask-WebServer
Python WebServer with Flask and Raspberry PiLet's create a simple WebServer to control things in your home. There are a lot of ways to do that. For this project here, we will use FLASK, a very simple and free microframework for Python. With Flask, will be very simple to control Raspberry GPIOs over the internet.
Flask is called a micro framework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself.
On this tutorial, we will use a Raspberry Pi as a local Web Server, where we will control via a simple webpage, 3 of its GPIOs programmed as outputs (acting as actuators) and monitor 2 of its GPIOs, programmed as inputs (sensors). The block diagram shows what we want to accomplish.