Quote Originally Posted by mackrackit View Post
ADC might be your solution. A few days ago a battery voltage monitor was discussed. http://www.picbasic.co.uk/forum/showthread.php?t=6744

Look it over and see if you what you think. If I am on the wrong track let me know.
I think you are on the worng track. I'm using ADC to measure the fuel level but the sensor range is from 0 to 6V. It is necessary to scale down from 0 to 5V so that PIC can 'read' it. My problem is on the lm324 (opamp as a buffer).

Thanks.