I know how to set up a voltage divider with a couple of resistors to measure

battery voltage of ~12v on an analog pin that accepts 3.3v.

 

But, I really am interested in a small segment of the range, say 9v to 13v.

How would I "zoom" in on that range?  I want to subtract/bias the vbat

by the 9v minimum.  So, 9v -> 0 and 13v -> 3.3.

 

---> Paul

 

 

 

_______________________________________________
Triangle, NC Embedded Interest Group mailing list

To post message: TriEmbed@triembed.org
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: https://TriEmbed.org
To unsubscribe, click link and send a blank message: 
mailto:unsubscribe-triem...@bitser.net?subject=unsubscribe
Searchable email archive available at 
https://www.mail-archive.com/triembed@triembed.org/

Reply via email to