Raspberry Pi Full Stack Raspbian
- 9.5 hours on-demand video
- 2 articles
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Setup the minimal Raspbian Lite operating system to the RPi.
- Learn how to work in headless mode
- Learn to install and use the a Python virtual environment.
- Install and use Flask, a Python-based web micro-framework
- Install and use uWSGI as the application server for Flask
- Install and use Nginx light-weight web server
- Setup systemd to automatically start your application
- Use the RPi GPIOs as digital input and outputs
- Use a DHT22 humidity and temperature sensor
- Install and use the SQLite database
- Use the Google Chart API to create visual representations of the sensor data
- Use JQuery to add interactivity to web pages
- Use Plotly for graphical analysis of sensor data
- Assign a static IP address to your Raspberry Pi
- Expose your application to the Internet, and access it from anywhere
- A Raspberry Pi 4, 3, 2, model B
- A Windows, Mac or Linux computer
- A DHT22 sensor
- An 5mm LED
- A pushbutton
- A breadboard and jumper wires
- Access to the Internet
- (Check hardware requirements in a free lecture in the first section of the course)
Welcome to Raspberry Pi: Full Stack, a hands-on project designed to teach you how to build an Internet-of-Things application based on the world’s most popular embedded computer.
This is an updated and improved remake of the original Raspberry Pi Full Stack. In this new course, I have updated all of the technologies involved in the current state of the Art, and have also added new content.
This course will expose you to the full process of developing a web application.
You will understand why the Raspberry Pi is such a versatile tinkering platform by experiencing first hand how well it combines:
- open hardware, that includes wireless and wired networking and the ability to connect sensors and actuators,
- the powerful Linux/Debian operating system, which gives you access to high-level programming languages and desktop-level software applications
- and, the flexibility of open source development software which, literally, powers the cloud applications that you use every day
As you progress through the sections, you will learn how to complete a single step of the application development process.
You’ll start with the operating system, add Python and play with some common hardware. Then you'll set up the web application stack, and the application itself.
You will learn and add new features and refinements as you move through the lectures.
This course is perfect for people that have at least basic understanding of computers and electronics.
Ideally, you have experience in experimenting with the Arduino and are comfortable with the breadboard and simple components.
There are no requirements necessary to enrol; I only ask you to be ready to learn and willing to put the required time and effort.
Please don't forget to watch the free lectures in the first section of the course. These lectures will give you detailed information on the course content and the hardware you will need.
Looking forward to learning with you!
- Makers who want to experience the full process of web application development
- Any experience in programming with a high-level language is useful but not necessary
- Experience with small breadboard circuit is useful but not necessary
- Anyone who want experience working with modern web application development technologies
The setup process is available on Github: https://github.com/futureshocked/RaspberryPiFullStack_Raspbian/edit/master/CommandLineInstructions/360_seting_up_system_Python_notes.txt
For convenience, I copy it here:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ sudo apt-get install libncurses5-dev libncursesw5-dev libreadline6-dev libffi-dev
$ sudo apt-get install libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libsqlite3-dev libgdbm-dev tk8.5-dev libssl-dev openssl
$ sudo apt-get install python-dev
Update, February 5, 2020. At this time, Python 3.8.1 is the latest version.
To install Python 3.8.1, follow this process (you can remain as user “pi” until the last few steps that require root):
~ $ cd ~
~ $ mkdir python-source
~ $ cd python-source/
~/python-source $ wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz
~/python-source $ tar zxvf Python-3.8.1.tgz
~/python-source $ cd Python-3.8.1/
~/python-source/Python-3.8.1 $ ./configure --prefix=/usr/local/opt/python-3.8.1
~/python-source/Python-3.8.1 $ make
~/python-source/Python-3.8.1 $ sudo make install
At this point, Python 3.8.1 is now installed in /usr/local/opt/python-3.8.1
Test your new Python:
~/python-source/Python-3.8.1 $ /usr/local/opt/python-3.8.1/bin/python3.8 --version
The response should be: “Python 3.8.1”