arduino oxygen sensor


. They look identical and you can probably tell them, apart only by the labels., Both require exactly the same connections, but they detect different gases. In this tutorial. I’Ll show you how to use one of them with Arduino. We’ll, be reading values from the sensor and make the Arduino light an LED when gas concentration rises above certain level. To build this project. You’Ll need a few things: a 5V DC power supply that can deliver at least 0.3A an MQ 2 or MQ 5 gas sensor, an Arduino board, a breadboard, a few wires, an LED, a 120 ohm resistor, a resistor close to 20k, a piece of heat shrink, tubing And a gas lighter or torch. Let’s start playing with the sensor.. A gas sensor has 6 pins.. These 2 middle legs are heater. Coil pins. Don’t worry about polarity it’s, not important in this sensor.. The next 2 legs are A pins and they should be connected to each other.. The last pair is named B and these 2 pins should also be connected to each other.. I’Ll connect my wires to the sensor using heat shrink. Tubing. Now let’s connect the sensor to the breadboard. One of the heater coil wires goes to the positive rail and the other one to ground. Connect both A wires to the positive rail on the breadboard. Hook, up the B wires to the same row and to ground Through a 20k resistor., A jumper wire goes between the B pins and A0 pin on your Arduino.

Board. Connect your breadboard ground rail, with the Arduino ground, pin. Hook up your LED’s negative lead to ground and the positive lead to one of empty rows on the breadboard. Connect a 120ohm resistor to the positive lead of your LED and the other end of the resistor. Through a jumper wire to your Adruino’s, pin number 8. Connect a jumper wire to the positive rail on you, breadboard and another one to the ground. Rail. Hook up your power supply to these jumper wires and the Arduino to your computer. Download the code from my website and upload it to your Arduino.. You’Ll, find a link in the description. Below. Now go to Arduino IDE, select, ‘Tools’ gt, ‘Serial monitor’, and you should see a value between 0 and 1023.. If your sensor detects gas, the value goes. Higher. Readings from the sensor are reliable after about 2 3 minutes after powering up.. After about 3 minutes, you’ll notice, the readings will go lower and stabilize at a certain base. Value. Now I’ll try to give my sensor some gas from a mini torch.. As you can see, the value increases instantly. When it reaches 500, the LED lights up.. You can adjust sensitivity by changing the ‘sensorValue’ in the code to match your needs.. Now you know how to use a gas sensor with the Arduino.. If you have any questions or want to add something, feel free to write a comment below., If you like this video or find it useful, you can support me by sharing this tutorial with your friends, giving me thumbs up or subscribing to my channel.

, Knowing that you Appreciate my work really helps me make more videos.


arduino oxygen sensor Video







arduino oxygen sensor news








arduino oxygen sensor Social






Want to keep an eye on things? Design your own remote-controlled surveillance robot.
safe image.php?d=AQADPMe3SpSWy3ye&w=720&h=720& deee 45b5 bc27 b8c68d6f471d2fdsc 0064 Nsdya7mAld - arduino oxygen sensor

In Distrelec Group’s upcoming webinar, Arduino CISO Gianluca Varisco will provide a detailed understanding on why the future and success of the IoT is in the “security of things.” Register now!

🗓️ Thursday, October 10th
🕓 4pm CET

safe image.php?d=AQAPrRJWmvzVlvFw&w=720&h=720& Distrelec webinar 400X300 - arduino oxygen sensor
lI1VUK  normal - arduino oxygen sensor
Sat May 26 09:11:15 +0000 2018

RT @TheChaosfather: I found a heart rate #sensor module #MAX30100 in shopping online. This module can collect blood oxygen and heart rate d…

CI9aBPK8 normal - arduino oxygen sensor
Tue Mar 15 02:19:43 +0000 2016

RT @TheChaosfather: I found a heart rate #sensor module #MAX30100 in shopping online. This module can collect blood oxygen and heart rate d…



Originally posted 2017-04-14 16:02:12.

(Visited 86 times, 1 visits today)

About The Author

You might be interested in

Comment (20)

  1. Wow! There are a ton of questions/answers for this video. I tried to search throught them with some keywords, however I could not find answers I was looking for about cost and about lower detection limit and accuracy in the low range of measurements. Looking to build something similar but it would have to detect and readout values for CH4 way below the LEL at around the 10ppm range in order to be useful for my project. Sorry if this question is repetitive from those asked/answered before.

  2. Thank you for the video. Sir, How do we calibrate the gas sensor to sense a specific compound? I read the datasheet it said we have to connect a resistor or potentiometer to measure a specific compound. How do I do that, sir?

  3. Hi, that’s a great video, could you please tell me how you can make another one for detecting multi gases in the same time or if it’s possible can you make another video , thanks in advance for you reply.

  4. Hi, do you know if there are CO2 detectors available that would be able to capture a signal of human exhale?

  5. Hello, thanks for this wonderful video. Can I use any of the MQ- series to measure the quantity of gas inside the storage tank?

  6. Hi sir,
    This is awesome. Will you please upload a video about blood glucose monitoring using acetone sensor (mq 138)?


Your email address will not be published. Required fields are marked *