The previous chapter covered some inputs and outputs using Python GPIO Zero. This chapter will look at some more sensors and outputs relating to infrared and light. Some of these can be used with the GPIO Zero module and others using other Python libraries. This will include detecting people entering a room, detecting light, and sending and receiving infrared signals.
PIR Sensor
This project will look at using a PIR (passive infrared) sensor to detect someone entering a room and turning on a bright light. This will introduce two new components, one being the PIR ...