MQ7-POLLUTION MONITORING USING THING SPEAK AND NODEMCU

by Hariharan vs in Circuits > Wireless

2766 Views, 1 Favorites, 0 Comments

MQ7-POLLUTION MONITORING USING THING SPEAK AND NODEMCU

IMG_20200103_231522.jpg

The pollution is major problem of our today's world.

but how we can monitor our pollution near by, now its very easy

SO LET'S START:

NEEDED MATERIALS

IMG_20200103_231615.jpg

1. NODEMCU

2. MQ7-CO-SENSOR

3. JUMPERS

4. BUZZER

5. CONNECTING CABLE

6. MATCH BOX

CONNECTION

IMG_20200103_231826.jpg

1. connect NODEMCU -A0 pin to MQ-7 SENSOR-A0 pin

2.connect NODEMCU VCC pin to SENSOR-VCC pin

3.connect NODEMCU GND pin to SENSOR=GND pin

4. connect BUZZER +ve to NODEMCU D0 pin

5. connect BUZZER -ve pin to NODEMCU GND pin

CODING:

download (2).png
2020-01-03-23-37-49.png
2020-01-03-23-38-15.png
2020-01-03-23-38-23.png
2020-01-03-23-39-08.png

1. open google or press this link thingspeak.

2.create an account on thingspeak.

3. create a new field on that.

5.Open API KEY sharing and copy the code

6.Paste in the arduino code..

7.change your ssid,password in code.

.

Downloads

LIBRARIES

thingspeak library: thingpeak

NODEMCU board preference :http://arduino.esp8266.com/stable/package_esp8266c...

add