SEN0159

SEN0159 Datasheet


CO2 Sensor SKU:SEN0159

Part Datasheet
SEN0159 SEN0159 SEN0159 (pdf)
PDF Datasheet Preview
Page 1 of 9

CO2 Sensor SKU:SEN0159

Contents
1 Introduction 2 Specification 3 Tutorial

Connecting Diagram Sample code Result 4 FAQ

Introduction
/wiki/index.php/File:SEN0159.JPG CO2 Sensor Arduino compatiable

Greenhouse Effect is melting the iceberg every SKU:SEN0159
minute,. By knowing the exact concentration of

CO2, we can do something to reduce the CO2
and to protect our earth. For that reason, a HQ

CO2 sensor is designed by DFRobot engineer This is the first CO2 sensor in OSHW market. The
output voltage of the module falls as the concentration of the CO2 increases. The potentiometer
onboard is designed to set the threshold of voltage. As long as the CO2 concentration is high
enough voltage is lower than threshold , a digital signal ON/OFF will be released.

Features It has MG-811 sensor module onboard which is highly sensitive to CO2 and less sensitive to alcohol and CO, Low humidity & temperature dependency. Onboard heating circuit brings the best temperature for sensor to function. 5V power input will be boosted to 6V for heating. This sensor has an onboard conditioning circuit for amplifying output signal.

Specification

Input Power - >500mA 5V recommended Operating voltage 0 - 5V Interface Analog One digital output Once the CO2 concentration is over the set threshold value, it will output digital HIGH, 5V Onboard heating circuit

Heating Current 200mA Heating Voltage 6V Heating Power 1200mW Size 32x42mm

Tutorial

Connecting Diagram

Page 2 of 9

NOTE An external power supply is necessary to feed Arduino card to heat the CO2 Sensor to ensure the CO2 sensor could get enough heating power 3.3V - 6V >500mA . Or it won't work properly! The external power is not showed in the diagram.

Sample code

Page 3 of 9
/*******************Demo for MG-811 Gas Sensor Module V1.1******************
***********

Author Tiequan Shao:

Peng Wei:

Modified by Leff from DFRobot, 2016-4-21, mak
e the algorithm clearer to user

Lisence Attribution-NonCommercial-ShareAlike Unported CC BY-NC-SA

Note This piece of source code is supposed to be used as a demostration ONLY. More
sophisticated calibration is required for industrial field applicat ion.

Sandbox Electron ics 2012-05-31 ********/
/************************Hardware Related Macros*********|******************
*********/
#define

MG_PIN
//define which analog i
nput channel you are going to use
More datasheets: AT89C4051-24PI | AT89C4051-24SC | M13066 SL005 | M13066 SL002 | M13066 SL001 | M113227 SL002 | M113227 SL005 | M113227 SL001 | 12-21UBC/C430/TR8 | 1626A


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived SEN0159 Datasheet file may be downloaded here without warranties.

Datasheet ID: SEN0159 509080