Go Down

Topic: Arduino + co2 sensor(MG811) (Read 3 times) previous topic - next topic


Oct 05, 2011, 12:57 pm Last Edit: Oct 05, 2011, 02:37 pm by SurferTim Reason: 1
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.

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.


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.^^


Oct 06, 2011, 03:50 pm Last Edit: Oct 06, 2011, 03:53 pm by SurferTim Reason: 1
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?

Go Up