See if this article covers what you want -- you can adapt it to be the prebuffer before the ADC input:
https://circuitdigest.com/electronic-circuits/simple-battery-level-indicator-using-op-amp - sgh On Wed, Aug 16, 2023 at 4:29 PM The MacDougals via TriEmbed < [email protected]> 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: [email protected] > 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: > [email protected]?subject=unsubscribe > Searchable email archive available at > https://www.mail-archive.com/[email protected]/ > > -- Scott G. Hall Raleigh, NC, USA [email protected] *Although kindness is rarely a job, no matter what you do it's always an option.*
_______________________________________________ Triangle, NC Embedded Interest Group mailing list To post message: [email protected] 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:[email protected]?subject=unsubscribe Searchable email archive available at https://www.mail-archive.com/[email protected]/
