Pages: [1]   Go Down
Author Topic: Arduino + co2 sensor(MG811)  (Read 3094 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i hope  produce Arduino can check  co2

i search google many

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1272008003/5

http://www.spencerpages.com/wiki/index.php?title=MG811_Carbon_Dioxide_(CO2)_Sensor

http://algasverdes.blogspot.com/2010/08/blog-post.html

i use arduino 5V + TLC271cp

Try like http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2568&d=1210174233


this is my use
http://dl.dropbox.com/u/34098841/text2.jpg

but not work , can anyone help me,thank.
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 116
Posts: 5400
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think the problem is your op-amp setup. If that is supposed to be a voltage follower, the negative input (pin 2) should be connected to the output (pin 6), not to ground. Check the output (pin 6) of the op-amp with a voltmeter during operation. Chances are the output will be at one rail or the other.

You need to take a closer look at this example you posted. The co2 sensor is a differential output. Pay close attention to how it is connected to the op-amp.
http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2568&d=1210174233

Edit: And the author of that article should take a better look at the datasheet of the co2 sensor. One of those 'H' pins should be connected to the power supply, and the other to ground. That is the heater.

The heater takes a bit of current. Some co2 devices do not check constantly. They use a transistor activated by another digital pin to enable/disable the heater. The device enables the heater, waits a bit, takes a reading, then disables the heater. Then it waits a while before taking another reading. No heater current during this time.

« Last Edit: October 05, 2011, 07:37:05 am by SurferTim » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I try,

I change
TLP271 pin 2 to pin 6
MG811 one 'H' to GND

i need some  time to determine determining the result is ok or not

thank you very much.^^
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 116
Posts: 5400
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The example at that link is not just a voltage follower like yours (non-inverting gain=1) . That op-amp is a non-inverting amplifier. I calculate it has a gain of 4 to 5, depending on the setting of that potentiometer.

And that heater is rated 6v@200ma. Got that much power left?
« Last Edit: October 06, 2011, 08:53:52 am by SurferTim » Logged

Pages: [1]   Go Up
Jump to: