© Guillermo Guillen 2024
G. GuillenSensor Projects with Raspberry PiMaker Innovations Serieshttps://doi.org/10.1007/979-8-8688-0464-9_3

3. Gas Leak Alarm

Guillermo Guillen1  
(1)
Ciudad de Mexico, Mexico
 

In this chapter, you’ll develop a system for the detection of fires or gas leaks with the Raspberry Pi board and the MQ2 gas sensor. This system will send the captured data to the remote ThingSpeak server and, when a gas increase is detected beyond a programed limit, send a message to your Twitter/X account. In this project, you’ll use an analog port and the Internet of Things (IoT) ThingSpeak server.

I have developed a gas leak alarm with a microcontroller before, but I have never monitored the values registered in ThingSpeak and sent an alert to ...

Get Sensor Projects with Raspberry Pi: Internet of Things and Digital Image Processing 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.