Ok, here's the full scoop. This project is a digital dashboard/data logger for a car.
This circuit/PCB is an arduino form-factor shield that will plug into an
Embedded Artists LPC4088 base board. It might be easiest to read my blog post on it
here.
Basically I'm using the EA baseboard and using this custom "shield" to add ADC functionality as well as connector I/O. Here's a shot of the PCB:
The schematic is attached.
Here are the design goals/restrictions:
-5V and 3.3V power is available to the shield
-I need to be able to input a 0-5V signal
-The two Pulse Input channels are 12V from vehicle speed/tach sensors
-I'd like to keep the 8 ADC channels somewhat flexible as to not limit what type of sensors can go where, etc. Most sensors will either be variable resistors or a straight voltage 0-5V
Where I've gone wrong:
-As betwixt pointed out, I'm asking rail-to-rail input range of my opamps and they are not designed to do this. I maybe be able to find a drop in replacement. An
LT1366 might be suitable as it claims rail-to-rail input and output capability.
-I know i don't have a nice VREF for the ADC. I only have 5V available and i need 0-5V input (unless i scale) so i didn't have much margin for regulating down. Maybe a 4.096V reference would work well for my resistive sensors, but i'd still have to scale down for the external 0-5V sensors.
Any thoughts? Thanks again!