I'm connecting a CO2 sensor to an analog pin. Im not so good at reading schematics so I was hoping somebody could say yea that looks right before I toast this sensor or arduino.
heres my nifty fritzing. what a cool program!!
I dont plan on using the alarm so i left that part of the circuit out.
ok thanks.
So then can you tell me what this means?
It looks tome like it goes from pin 4 to ground to a resistor to arduino.
what am I reading wrong?
Fritzing shows a chip because its just a place holder for 4 pins.
I saw those caps but I thought they were just showing what was already on the PCB.
Why is it to the left (on the other side) of the connection to arduino. how would I connect it? Or is it paralell vs in line?
ah. ok. according to some reading they usually put an amount in uF for the cap size. Wonder why they didnt. I see they recommend a 220uF between pin 1 and 2 as well.
Why would a capacitor between ground and the sensor be for? voltage fluctuations?
Capacitors can also eliminate ripples. If a line carrying DC voltage has ripples or spikes in it, a big capacitor can even out the voltage by absorbing the peaks and filling in the valleys.
Just a few comments to get you up and running properly:
You can really get away without any caps on this circuit. The analog output will be read just fine by the ADC, but if you have noise problems down the line I would add a small valued (.1uFish) cap to the analog output.
The 220uF cap is already installed on the sensor, it's used for decoupling. The CO2 sensor operates with a pulsed IR lamp that has a nasty current spike, to give predictable behavior it is decoupled on board.
The 10kOhm resistor on the signal line is just for current limiting. If you were so inclined, you could omit it too. The schematic is definitely for a more robust implementation, for hooking it up to an Arduino you just need some bits of wire.
We have an app-note on communicating with these sensors via I2C on the Arduino platform, instead of using the analog output, if you're feeling ambitious. You'll get a more precise reading out of it, and I've always considered digital readings a little more kosher when available.