Gas leakage is very dangerous, to prevent that from happening, this project was created
Not a member? You should
Already have an account?
To make the experience fit your profile, pick a username and tell us what interests you.
based on your interests.
Choose more interests.
from machine import ADCfrom machine import Pinimport timeadc0=ADC(0) led=Pin(4,Pin.OUT)target=200while True: print("gas=",adc0.read()) time.sleep(1) if adc0.read() > target: led.value(1) else: led.value(0)
A0 = A0
GND = GND
VCC = 5V
+ = D2
- = GND
View all instructions
In order to follow projects & hackers or give likes
you need to create an account.
Become a member to follow this project and never miss any updates
© 2019 Hackaday
Yes, delete it
You are about to report the project "Gas Leakage Detection", please tell us the reason.
Your application has been submitted.
Are you sure you want to remove yourself as
a member for this project?
Project owner will be notified upon removal.