Gas Station for Detect CO

363

3

Carbon monoxide (CO) is very dangerous gas, because it doesn't smell, haven't taste. You can't see it, or detect it with your nose. My goal is build simple CO detector. Firstly, I detect very small amounts of that gas in my house. That's is reason, why I don't calculate ppm (for small amounts of CO, you need very precise detector + temperature and humidity has affect on measurement).

Here is my video, you can use ENGLISH SUBTITLES.

Video - Gas station MQ 2 based

Step 1: BOM

1. Wemos D1 retired

http://s.click.aliexpress.com/e/OJ1RVFS

http://s.click.aliexpress.com/e/cpgt6Uak

2. MQ2 gas sensor

http://s.click.aliexpress.com/e/k5cKynI

http://s.click.aliexpress.com/e/bmEMp1rE

3. dupont cables

http://s.click.aliexpress.com/e/bJhlN3nS

http://s.click.aliexpress.com/e/cO3r2GFO (don't forget to choose correct plug, EU or USA)

5. cable for upload program to wemos

http://s.click.aliexpress.com/e/3PglisC

Step 2: Circuit

In my circuit, Wemos D1 retired is powered from adapter, which consupt 1.5 W from socket. Also, I measure current consumption of gas sensor, which is cca 100 mA

Step 3: Code

You need thingspeak account and in library manager in Arduine IDE Wemod D1 (retired) board.Here is code.

One problem is calculating resistance of gas sensor (Rs), which is incorrect (I got formula from external website). You need to know value of adjustable resistor.

Step 4: Graph

Here you can see sensor values and output voltage of my sensor.

Step 5: Ppm of CO

Here is graph showing how to calculate ppm -> particles per million of individual gas.

Firstly, you need to know R0, which is resistance of sensor at clear air with 1000 ppm of hydrogen. You can write it as R0 = Rs at clear air.

Secondly, you need to know Rs, which is resistance of sensor where is CO gas at some concentration.

Recommendations

• Large Motors Class

12,795 Enrolled