View Single Post
Old 03-30-2011, 12:41 PM   #14 (permalink)
bobski
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Quote:
Originally Posted by glug View Post
I don't think we've found a safe way to do it yet.
A 5 to 1 (or thereabouts) voltage divider consisting of 2 resistors should work fine.

Quote:
Originally Posted by glug View Post
Another thought - maybe the 12v could be monitored via the analog input for the buttons. That way, it wouldn't tie up another input.
I guess you could use the battery voltage signal as the pull-up for one of the button lines. You wouldn't be able to monitor the voltage while the button is actually being pressed, but that shouldn't be a big deal. Also, very low supply voltages (unlikely to occur) could be mistaken as a button press.
  Reply With Quote