Chapter
Installing the Raspbian operating system
Debugging your Raspberry Pi Zero with a serial console cable
Testing and accessing the serial COM interface
Connecting to the home network and accessing remotely
Connecting with an Ethernet adapter
Accessing the Raspberry Pi Zero via SSH
Connecting to the Wi-Fi network
How to install the wireless tools
Configuring IP address and wireless network
Testing the communication
Updating the package repository
Remote Desktop with Windows
Testing the PHP installation
Chapter 2: Connecting Things to the Raspberry Pi Zero
Connectting digital input – sensor DS18B20
Configuring the one-wire protocol
Displaying the readings on the screen
Connecting analog inputs using an MCP3008 ADC Converter
Reading the data with a Python script
Putting the real-time clock to final test
Chapter 3: Connecting Sensors - Measure the Real Things
Measuring flow sensor to calculate the volume of water
Reading the sensor signal
Reading and counting pulses with Arduino
Calculating water flow rate based on the pulses counted
Calculating flow and volume of water:
Displaying the parameters measured on an LCD
Measuring the concentration of gas
Connections with the sensor and Arduino board
Measuring the level of alcohol with a sensor
Detecting fire with a sensor
Measuring the humidity for plants
Measuring the level of water in a recipient
Measuring temperature, humidity, and light and displaying data on an LCD
Hardware and software requirements
Displaying data on the LCD
Detecting motion with a PIR sensor
PIR sensor interfaced with Arduino
Detecting if the door is open with a reed switch
Detecting who can get in the house with a fingerprint sensor
Chapter 4: Control-Connected Devices
Making a simple web server with Node.js
Controlling a relay from a Raspberry Pi Zero using Restful API and Node.js
Commands with the aREST API
Installing Node.js on your Raspberry Pi Zero
Controlling the relay using aREST commands from a web browser
Configuring the web server
Configuring Node.js on a computer as a web server
Configuring web server port 8080 with Node.js
Monitoring temperature, humidity, and light using Node.js with Arduino Wi-Fi
Connecting to the Wi-Fi network
Monitoring temperature, humidity, and light using Node.js with Arduino Ethernet
Code for the application of the Arduino Ethernet shield
Configuring the device in Node.js
Chapter 5: Adding a Webcam to Monitor Your Security System
Interaction between Arduino and Raspberry Pi
Installing Arduino IDE in Raspbian
Remote access to Raspberry Pi
Executing Arduino in a graphical interface
Arduino interface in Raspian
Selecting the serial port
Downloading a sketch from the graphical interface
Controlling an output connected to Arduino from Raspberry Pi Zero
Controlling the Arduino board from Python
Connecting a TTL serial camera to Arduino and saving pictures to a micro SD
Detecting motion with the serial TTL camera
Controlling a snapshot from Raspberry Pi
Code for the function to take a picture
Controlling your camera from a web page
Calling the Python scripts from PHP
Monitoring your USB camera for security in a network
Monitoring from the MJPG-STREAMER server
Monitoring the USB camera from the Raspberry Pi
Chapter 6: Building a Web Monitor and Controlling Devices from a Dashboard
Configuring MySQL database server
Installing MySQL driver for PHP
Installing PhpMyAdmin for administrating databases
Configuring the Apache server
Entering to the phpMyAdmin remote panel
Showing the Arduinobd database
Sending data from Arduino and the Ethernet shield to the web server
Programming the script software
Data queries from the database
Scripts for specific data to be displayed
Query for recording temperature
Controlling and dimming a LED
Controlling the LED from an interface
Controlling the speed of a DC motor
Controlling Lights with electrical circuits
Remote access from anywhere to your Raspberry Pi Zero
How to access our modem to configure it
Creating an account at No-ip.org
Controlling lights and measuring current consumption
Building the interface to control and monitor
Installing Jade for Node.js
Interface for controlling and monitoring
Controlling and monitoring Arduino, Wi-Fi, and Ethernet shields on connected devices and sensors
Building the code to control and monitor devices from a single interface
Adding the devices to monitor and control
Chapter 7: Building a Spy Police with the Internet of Things Dashboard
Spy microphone that detects noise
Regulating the current of an AC lamp dimmer
Controlling access with an RFID card
Building an alarm system using the Raspberry Pi Zero
Motion sensor with Raspberry Pi Zero
Monitoring the climate from a remote dashboard
Exploring the sensor test
Configuring the remote dashboard (Dweet.io)
Chapter 8: Monitoring and Controlling Your Devices from a Smart Phone
Controlling a relay from a smart phone using APP Inventor
Creating our first application
Communicating APP Inventor with Arduino ethernet shield
Reading JSON response in Android Studio using ethernet shield
Permission of the application
Controlling a DC motor using an Android Application
Controlling outputs from android using your Raspberry Pi Zero
Controlling outputs with Raspberry Pi via Bluetooth
Controlling lights from an Android Application
Chapter 9: Putting It All Together
Integrating the system – development projects
Getting into the details of light sensor
Automatic light controller
Solar power monitor circuit
Automatic irrigation system with a soil sensor
Arduino water-level controller
Bluetooth based home automation
Controlling access with a matrix keyboard
Connecting an LCD screen to display the code
Controlling the door lock with a keypad
Code to access using the keypad
Integrating the system control with relays and devices
Controlling multiple appliances
How to set up the power supplies
Power supply for AC loads
Connecting a relay of 24 DC volts to the Arduino board