Chapter 3. Connecting Sensors - Measure the Real Things
The objectives of this book are to build a Home Security System, control domestic appliances by electronically controlled systems with sensors, and monitor them from a dashboard. First, we need to consider that our sensors are connected to an end device that can read the signals and transmit them to the network.
For the end devices, we will use Arduino boards to acquire the readings from the sensors. We can see that the Raspberry Pi doesn't have analog inputs. For this reason, we use an Arduino board to read that signals.
In the previous chapter, we talked about how to connect devices to the Raspberry Pi; in this section, we will see how to interface sensors with Arduino boards to see how to read real signals from different applications for real measurements. We will cover the following topics in this chapter:
- Using a flow sensor to calculate the volume of water
- Measuring the concentration of gas with a sensor
- Measuring the...