Chapter 7. Retrieving Data from the Real World with Sensors
In this chapter, we will work with a variety of sensors to retrieve data from the real world. We will cover the following topics:
- Understanding sensors and their connection types
- Learn the most important things we must consider when choosing sensors
- Take advantage of the
upm
library with many different sensors - Measure the magnitude and direction of proper acceleration or g-force with an accelerometer
- Work with a three axis analog accelerometer
- Use a digital accelerometer that works with the I2C bus
- Work with the
mraa
library and the I2C bus to control a digital accelerometer - Measure ambient temperature with an analog sensor
- Use a digital temperature and humidity sensor that works with the I2C bus