© Guillermo Guillen 2019
G. GuillenSensor Projects with Raspberry Pihttps://doi.org/10.1007/978-1-4842-5299-4_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 account. In this project, you'll use an analog port and the 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 Twitter when the values were above a certain level, ...

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.