[TriEmbed] Measure voltage

Pete soper pete at soper.us
Thu Aug 17 08:17:42 CDT 2023


This might be helpful if the battery being monitored is not also 
powering the MPU. Just tie MPU ground to the top of the zener and the 
zener input to the battery + terminal.  The pot and meter are not 
relevant. So "zero" is the zener voltage.

Pete

Zener circuit
On 8/16/23 16:28, The MacDougals via TriEmbed wrote:
>
> 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 at 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-TriEmbed at bitser.net?subject=unsubscribe
> Searchable email archive available athttps://www.mail-archive.com/triembed@triembed.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20230817/df185ccd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zener.png
Type: image/png
Size: 119163 bytes
Desc: not available
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20230817/df185ccd/attachment.png>


More information about the TriEmbed mailing list