In this chapter, you’ll develop an alarm system to detect the movement of someone through the use of a passive infrared sensor (PIR) motion sensor and the Raspberry Pi board. When this happens, you will get an alert notice through a message on your Twitter/X account. In this chapter, you will work exclusively with the digital ports of the Raspberry Pi to create an Internet of Things (IoT) project.
In the past, I have developed a security alarm system with Raspberry Pi and Arduino UNO, but I’ve never monitored the values registered in ThingSpeak and sent ...