Hi folks,
Let me first explain the objective. Through an Arduino do I like to read on an LCD the 0-5VDC signal coming from a CO2 sensor but scaled with 0V is 0.00% and 5V is 3,00%.
Next step is doing data logging of this value to an SD card
I have following hardware:
- Arduino Uno r3
- Adafruit 772 display : LCD Shield Kit w/ 16x2 Character Display - Only 2 pins used! [BLUE AND WHITE] : ID 772 : $19.95 : Adafruit Industries, Unique & fun DIY electronics and kits
- Adafruit Data Logging Shiel 1141 : Adafruit Assembled Data Logging shield for Arduino : ID 1141 : $13.95 : Adafruit Industries, Unique & fun DIY electronics and kits
The CO2 sensor is powered by a separate 24VDC power supply with the (-) of this sensor connected to (-) of the 12VDC power supply for the Arduino.
The signal is connected to the analog input 1
Both libraries (lcd display and data logger shield) is installed.
Can somebody provide some links to a similar project please?
Also the code for averaging the readout value is highly appreciated.
Thank you already for the help in this.