Gas Leak Detector Using MQ2 on ESP32 and Blynk App
ฝัง
- เผยแพร่เมื่อ 8 มิ.ย. 2024
- The MQ-2 Gas sensor can detect or measure gasses like LPG, Alcohol, Propane, Hydrogen, CO, and even methane. With this sensor, we can build a gas leak detector to check if there is a gas leak and send a notification to our mobile phone. Watch this video to know how to make a gas detector using ESP32 and Blynk App.
⌨️Software :
1️⃣ Arduino IDE
💻Tutorial:
tutorial.cytron.io/2020/05/08...
🔧Hardware :
1️⃣ Node32 Lite Wifi & Bluetooth Development Kit: my.cytron.io/p-node32-lite-wi...
2️⃣MQ2 Smoke LPG CO Sensor Module: my.cytron.io/p-mq2-smoke-lpg-...
3️⃣LED 5mm Green: my.cytron.io/c-electronic-com...
4️⃣ LED 5mm Red: my.cytron.io/p-led-5mm-red/?t...
5️⃣ Resistor 0.25W 5% (220R):my.cytron.io/p-resistor-0.25w...
6️⃣ USB Micro B Cable: my.cytron.io/p-usb-micro-b-ca...
7️⃣ Breadboard: www.cytron.io/p-breadboard-8....
8️⃣ Male to Female Jumper Wires: Male to Female Jumper Wire: my.cytron.io/p-male-to-female...
🧕👩🎓👨🎓
If you are a student, register here:
www.cytron.io/student-benefit...
👨🏻🏫👩🏻🏫
If you are a teacher, register here:
www.cytron.io/cytron-for-cikg...
Suad Anwar,
Cytron Technologies. - วิทยาศาสตร์และเทคโนโลยี
hi can i get the sample code because in the website theres no more sample code thank you
Can i get the schematic diagram?
What should i do if i add buzzer and lcd ? Can u tell me that the code if i add buzzer and lcd?
haii i hope you notice my comment !! can i replace node32 lite wifi to eps32? and is the circuit connection and the coding are same?
Hii mam i required one program for gas sensor with relay connected with axial fan using the esp32 can u help mam please
Nice
my esp32 doesn't have RAW pin
Instead of 34 pin can we choose any other?
why it show no BlynkSimpleEsp32.h???may you support the files?
I have analog sensor reading of +2000 instead of 500 or 700, do you know what might be the problem?
same did you figure out how to fix it?
Hello can i ask, can i add another gas sensor on the esp32? To detect another gas?
I also want to add another gas sensor on esp32 please tell me how
Es muy importante usar el pin correcto, tarde mucho en descubrirlo pero en mi caso el "pin" fué mi problema.
que pin usaste? estoy usando el 34 y me salen lecturas muy grandes... sin humo
@@carlogv Dejame revisar mis diagramas.
@@carlogv Haciendo esa conexion probablemente quemen la placa, esta alimentando el sensor con 5 v luego lee esos 5volt por la entrada analogica que solo lee 3.3v
Can I change the esp32 with esp 32 lora?
yesss
kenapa dekat arduino ide dekat tempat port tu tak berfungsi ye
Hiii mam...what is the unit of gas used here?
Hi. This MQ2 Smoke LPG CO Sensor Module define Parts per Million (ppm) as physical unit. You may read more details about this product in datasheet provided in the product page link. Thanks :)
@@cytrontech can u tell me the code if i add buzzer and lcd?
how want add buzzer in coding
Assalam, sy nk tanya knp x dpt notification di blynk tetapi di litar sudah menyala LED high
sorry saya tak tau'
can i get the code
Hi. You can find codes provided in the tutorial page link under the description. Thanks :)
Why 4095??
Hi Fragmento Perdido
, can I know which 4095 you refer to?
@@cytrontech When you put 4095 in Blynk's gauge, why that amount?
I wanted to use between 300 to 10,000 ppm, according to the MQ2 datasheet, but in this code you provided it is always limited to 4,095
@@PedroHenrique-gj4ik Reading an analog value with the ESP32 means you can measure varying voltage levels between 0 V and 3.3 V.
The voltage measured is then assigned to a value between 0 and 4095, in which 0 V corresponds to 0, and 3.3 V corresponds to 4095. Any voltage between 0 V and 3.3 V will be given the corresponding value in between.
randomnerdtutorials.com/esp32-adc-analog-read-arduino-ide/
@@cytrontech I understood. So how can I change this so that the variable displays from 300 to 10,000?
I don't work, I'm from Mexico
Hi. You may drop an email to support@cytron.io for further technical assistance. Thanks:)