Smoke Detection

ABOUT THIS PROJECT

In this example, you will read the sensor analog output voltage and when the smoke reaches a certain level, it will make sound a buzzer and a red LED will turn on.
When the output voltage is below  that level, a green LED will be on.

PHOTO




How does it Work?



The voltage that the sensor outputs changes accordingly to the smoke/gas level that exists in the atmosphere. The sensor outputs a voltage that is proportional to the concentration of smoke/gas.
In other words, the relationship between voltage and gas concentration is the following:
  • The greaterthe gas concentration,the greaterthe output voltage
  • The lowerthe gas concentration,the lowerthe output voltage




With Lcd Diagram


COMPONENT


1.ARDUINO
2.MQ2 SENSOR
3.BUZZER
4.RED LED
5.GREEN LED
6. 220 OHM RESISTER - 3

Code 

0 Comments