mg811: Initial implementation

This driver was developed on a DFRobot CO2 sensor based on the MG811:
http://www.dfrobot.com/index.php?route=product/product&product_id=1023

It seems to *require* very precise calibration at 400ppm and 1000ppm
to be accurate.  It also gets pretty hot (due to the heater) and
consumes significant current.

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
This commit is contained in:
Jon Trulson
2015-08-25 15:52:10 -06:00
committed by sisinty sasmita patra
parent ad1cc81c0d
commit 60cfe88e37
10 changed files with 445 additions and 0 deletions

8
src/mg811/jsupm_mg811.i Normal file
View File

@@ -0,0 +1,8 @@
%module jsupm_mg811
%include "../upm.i"
%{
#include "mg811.h"
%}
%include "mg811.h"