Raspberry Pi: Full Stack [Video]

Preview in Mapt
Code Files

Raspberry Pi: Full Stack [Video]

Peter Dalmaris

2 customer reviews
A whirlwind tour of full-stack web application development on the Raspberry Pi. NOTE: Please note this title is NOT DRM FREE.
Mapt Subscription
FREE
$29.99/m after trial
Video
$10.00
RRP $49.99
Save 79%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$29.99 p/m after trial
RRP $49.99
Subscription
Video
Start 30 Day Trial

Frequently bought together


Raspberry Pi: Full Stack [Video] Book Cover
Raspberry Pi: Full Stack [Video]
$ 49.99
$ 10.00
Full Stack Kotlin Development [Video] Book Cover
Full Stack Kotlin Development [Video]
$ 124.99
$ 10.00
Buy 2 for $20.00
Save $154.98
Add to Cart

Video Details

ISBN 139781788620178
Course Length7 hours and 45 minutes

Video Description

The objective of this course is to take you to a whirlwind tour of the Raspberry Pi, and introduce you to everything that is great about it.Structured as a project, you will become familiar with the various components that make up the web development stack: the operating system, the hardware (including the GPIOs), the application server, web server, database server, and the Python programming language.You will also become familiar with Cloud services that you will integrate into your Raspberry Pi-powered web application.You application will take sensor data and make them available to the user via a web interface that is constructed based on jQuery and HTML5.You will need a Raspberry Pi, a DHT22 sensor, a button, an LED, a few resistors and a breadboard. If you wish to setup wireless networking on your Raspberry Pi, you will also need a USB Wifi dongle.To make the most from this course, you should be familiar with basic programming and be comfortable with the command line.

Style and Approach

A 8 hour long course to get fully acquainted with the web development stack: the operating system, the hardware (including the GPIOs), the application server, web server, database server, and the Python programming language.

Table of Contents

Introduction to the course
Introduction
About the Raspberry Pi
Components
The Operating System
Section Introduction
How to extract a tar.gz file
Installing mini Raspbian using Mac OS X
Installing mini Raspbian using Windows
Section Conclusion
Python and GPIOs
Section Introduction
Setup Python
GPIO basics
Make an LED blink
Read the status of a button
Read temperature and humidity from a digital sensor
Section Conclusion
Setup the Web application stack
Section Introduction
What is the Web application stack?
Install Nginx, the Web server
Install Flask and venv
Install uWSGI
Setup Upstart
About log files
Serving static assets and Skeleton
Styling our Web application with Skeleton
Debugging a Flask application
Section Conclusion
Building a simple Flask application on the Raspberry Pi
Section Intro
Show DHT22 sensor data in the browser
Install the SQLite3 database
Use a Python script to store sensor reading to the database
Automate sensor data logging with cron and SQLite3
Show historical sensor data in the browser
Section Conclusion
Improving our application with date-time range record selector
Section Introduction
Selecting historical sensor data records with a time-date range
Define a date-time range in the URL
Timezones in Rasbian
Validating timestamps
Tidying up: refactor our application code
Section Conclusion
Improving the user interface
Section Introduction
Adding date range radio buttons
Visualise sensor data with Google Charts
Install a datetime picker widgets
Setting up the datetime picker widget
Setting up time zones on the client side
Setting up time zones on the server side
Link the two pages of the application
Section Conclusion
Setup cloud charting and analysis with Plotly
Section introduction
Setup Plotly
Add Plotly links
Add Plotly support to the Flask application script
Section Conclusion
Other useful things to know
Install and configure a Wifi USB dongle for wireless networking
Quick setup guide for Nginx, uwsgi and Upstart Part 1
Quick setup guide for Nginx, uwsgi and Upstart Part 2
Conclusion
Conclusion

What You Will Learn

  • Setup the minimal Raspbian operating system to the RPi.
  • Install 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
  • 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
  • Install and configure a USB Wifi adaptor for your RPi

Authors

Table of Contents

Introduction to the course
Introduction
About the Raspberry Pi
Components
The Operating System
Section Introduction
How to extract a tar.gz file
Installing mini Raspbian using Mac OS X
Installing mini Raspbian using Windows
Section Conclusion
Python and GPIOs
Section Introduction
Setup Python
GPIO basics
Make an LED blink
Read the status of a button
Read temperature and humidity from a digital sensor
Section Conclusion
Setup the Web application stack
Section Introduction
What is the Web application stack?
Install Nginx, the Web server
Install Flask and venv
Install uWSGI
Setup Upstart
About log files
Serving static assets and Skeleton
Styling our Web application with Skeleton
Debugging a Flask application
Section Conclusion
Building a simple Flask application on the Raspberry Pi
Section Intro
Show DHT22 sensor data in the browser
Install the SQLite3 database
Use a Python script to store sensor reading to the database
Automate sensor data logging with cron and SQLite3
Show historical sensor data in the browser
Section Conclusion
Improving our application with date-time range record selector
Section Introduction
Selecting historical sensor data records with a time-date range
Define a date-time range in the URL
Timezones in Rasbian
Validating timestamps
Tidying up: refactor our application code
Section Conclusion
Improving the user interface
Section Introduction
Adding date range radio buttons
Visualise sensor data with Google Charts
Install a datetime picker widgets
Setting up the datetime picker widget
Setting up time zones on the client side
Setting up time zones on the server side
Link the two pages of the application
Section Conclusion
Setup cloud charting and analysis with Plotly
Section introduction
Setup Plotly
Add Plotly links
Add Plotly support to the Flask application script
Section Conclusion
Other useful things to know
Install and configure a Wifi USB dongle for wireless networking
Quick setup guide for Nginx, uwsgi and Upstart Part 1
Quick setup guide for Nginx, uwsgi and Upstart Part 2
Conclusion
Conclusion

Video Details

ISBN 139781788620178
Course Length7 hours and 45 minutes
Read More
From 2 reviews

Read More Reviews

Recommended for You

Full Stack Kotlin Development [Video] Book Cover
Full Stack Kotlin Development [Video]
$ 124.99
$ 10.00
Full Stack Development with JHipster Book Cover
Full Stack Development with JHipster
$ 35.99
$ 10.00
Full Stack Angular for Java Developers Book Cover
Full Stack Angular for Java Developers
$ 39.99
$ 10.00
Internet of Things with Raspberry Pi 3 Book Cover
Internet of Things with Raspberry Pi 3
$ 27.99
$ 10.00
Full Stack Web Development with Raspberry Pi 3 Book Cover
Full Stack Web Development with Raspberry Pi 3
$ 27.99
$ 10.00
The complete JavaScript developer: MEAN stack zero-to-hero [Video] Book Cover
The complete JavaScript developer: MEAN stack zero-to-hero [Video]
$ 73.99
$ 10.00