Chapter 9.  Interfacing Sensors with the Raspberry Pi Zero

In this chapter, we will cover the following recipes:

  • Interfacing any resistive sensor on GPIO
  • Interfacing an LDO with the RPZ
  • Interfacing an ultrasonic sensor with the RPZ
  • Interfacing an analog-to-digital convertor to interface any analog sensor with the RPZ
  • Interfacing an infrared receiver to read remote controls and control a TV with the RPZ
  • Interfacing a motion sensor
  • Interfacing a temperature humidity sensor using bit-banging
  • Interfacing a gyroscope and accelerometer with the RPZ
  • Pulling it all together with the Pi Sense Hat

Interfacing any resistive sensor on GPIO

Resistive sensors are devices whose resistance changes when the sensor's input is altered. A photoresistor will change based on ...

Get Raspberry Pi Zero Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.