Raspberry Pi Computing: Gas Sensors

Raspberry Pi Computing: Gas Sensors

Malcolm Maclean
Buy on Leanpub

Table of Contents

Raspberry Pi Computing: Gas Sensors

  • Introduction
    • Welcome!
    • What are we trying to do?
    • Who is this book for?
    • What will we need?
    • Why on earth did I write this rambling tome?
    • Where can you get more information?
  • The History of the Raspberry Pi
  • Raspberry Pi Versions
    • Raspberry Pi B+, B2, B3 and B3+
    • USB Ports
    • Video Out
    • Ethernet Network Connection
    • USB Power Input Jack
    • MicroSD Flash Memory Card Slot
    • Stereo and Composite Video Output
    • 40 Pin Header
  • Raspberry Pi Peripherals
    • SD Card
    • Keyboard / Mouse
    • Video
    • Network
    • Cases
  • Operating Systems
    • Welcome to Raspbian
    • Downloading
    • Writing the Operating System image to the SD Card
    • Enabling Secure Shell Access
    • Powering On
    • The Command Line interface
    • Raspberry Pi Software Configuration Tool
    • Software Updates
  • Power Up the Pi
    • Static IP Address
    • The Netmask
    • CIDR Notation
    • Distinguish Dynamic from Static
    • Default Gateway
    • Lets edit the dhcpcd.conf file
    • Remote access
    • Remote access via SSH
    • Setting up the Server (Raspberry Pi)
    • Setting up the Client (Windows)
    • WinSCP
    • Setting up a WiFi Network Connection
    • Built in WiFi Enabling
    • Make the changes operative
    • Make the built in WiFi IP address static
    • Make the changes operative
    • WiFi Via USB Dongle
    • Editing files
    • Make the changes operative
    • Make USB WiFi IP address static
    • Make the changes operative
    • Reconnecting to the wireless network automatically
    • Let’s write a script
    • Lets run our script on a regular schedule
    • Let’s test it
  • Setting up the Raspberry Pi Software
    • Web Server, PHP and Database
    • Install NGINX and PHP
    • Configuration
    • Database
    • Create a database and a table
  • Connecting the gas sensor to the Raspberry Pi
    • Analog and Digital
    • Analog
    • Digital
    • Analog to Digital Conversion (ADC)
    • The Sensor
    • Analog to Digital Conversion (ADC)
    • The ADS1015 Analog to Digital Converter
    • Measure
    • Hardware required
    • Connect
    • Test
    • Record
    • Record the readings
    • Recording data on a regular basis with cron
    • Managing database size
    • Explore
    • Simple data point API
    • Extracting a Range of Data
    • Wrap Up
    • Bibliography
  • Linux Concepts
    • What is Linux?
    • Linux Directory Structure
    • /
    • /bin
    • /boot
    • /dev
    • /etc
    • /etc/cron.d
    • /etc/rc?.d
    • /home
    • /lib
    • /lost+found
    • /media
    • /mnt
    • /opt
    • /proc
    • /root
    • /sbin
    • /srv
    • /tmp
    • /usr
    • /usr/bin
    • /usr/lib
    • /usr/local
    • /usr/sbin
    • /var
    • /var/lib
    • /var/log
    • /var/spool
    • /var/tmp
    • Everything is a file in Linux
    • Traditional Files
    • Directories
    • System Information
    • Devices
  • File Editing
    • The nano Editor
  • Linux Commands
    • Executing Commands in Linux
    • The Commands
    • apt-get
    • The apt-get command
    • apt-get update
    • apt-get upgrade
    • apt-get install
    • apt-get remove
    • cat
    • The cat command
    • Options
    • Arguments and Examples
    • Test yourself
    • cd
    • The cd command
    • Options
    • Arguments
    • Examples
    • Test yourself
    • chmod
    • The chmod command
    • Options
    • Arguments
    • Examples
    • crontab
    • The crontab command
    • Options
    • Examples
    • Test yourself
    • ifconfig
    • The ifconfig command
    • Options
    • Arguments
    • Test yourself
    • ls
    • The ls command
    • Options
    • Arguments
    • Examples
    • sudo
    • The sudo command
    • The ‘sudoers’ file
    • sudo vs su
    • Test yourself
  • Directory Structure Cheat Sheet
Raspberry Pi Computing: Gas Sensors/Overview

Raspberry Pi Computing: Gas Sensors

Course overview

Gas sensor measurement using the Raspberry Pi, SQLite, NGINX and Python.

12 chapters
Begin reading
Download
The Book

Raspberry Pi Computing: Gas Sensors12 chapters

Begin ›
  1. Introduction

  2. The History of the Raspberry Pi

  3. Raspberry Pi Versions

  4. Raspberry Pi Peripherals

  5. Operating Systems

  6. Power Up the Pi

  7. Setting up the Raspberry Pi Software

  8. Connecting the gas sensor to the Raspberry Pi

  9. Linux Concepts

  10. File Editing

  11. Linux Commands

  12. Directory Structure Cheat Sheet