I got the assumption that the OP was trying to determine the three states: 1: No battery 2: Engine off 3: Engine running By only looking at a +12v line in the car, without any other sensors. I would think that 2 vs. 3 could be distinguished easily by the amount/type of noise on the line over a short period of time. Bob Ammerman RAm Systems -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads