Cloud smoke detector
In several countries around the world, it is not mandatory to install a smoke detector inside your home. In this recipe, we are going to build our own smoke detector that will automatically send you alerts when smoke is detected in your home.
Getting ready
For this recipe, you are going to need a smoke detector, based on the MQ-2 gas sensor. This is the component that I used for this project:
Let's now see how to assemble this project. First, place the Arduino board on the breadboard. Then, connect the + pin of the sensor to Arduino VCC, the – pin of the sensor to GND, and finally the remaining sensor pin to A0. This is the final result:
We can now test the sensor. Indeed, we need to calibrate it so we know what is the output of the sensor when no smoke is detected. For that, I simply used the default sketch AnalogReadSerial given with the Arduino IDE. Upload...