Skip to main content
Visitor II
October 21, 2024
Question

Is there any STM32 MCU which has ADC with range higher than 3.3V ?

  • October 21, 2024
  • 3 replies
  • 787 views

I want to monitor my 4.2V battery and cant find any MCU which can convert such high voltage . It will be even better if it has differential ADC [can do 1.5-4.5].Previously tries STM32F303C8T6 but all the ADC pins are only 3.3V Tolerant. Its my first time posting so really don't know if i'm posting in the right page.

This topic has been closed for replies.

3 replies

gbm
Super User
October 21, 2024

No, but there are resistors, so you may make simple voltage divider... :)

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
Tesla DeLorean
Guru
October 21, 2024

Generally no, you'd need to condition externally. Perhaps via a battery monitoring / charging IC?

I vaguely recollect one that can measure VBAT/2

 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Super User
October 21, 2024

@Soothertion wrote:

I want to monitor my 4.2V battery 


4.2V suggests lithium?

Note that terminal voltage is a rather poor indicator of state-of-charge for lithium batteries.

As @Tesla DeLorean suggested, a proper battery monitor chip would do better.

For just terminal voltage, as @gbm said, you can use a simple potential divider - but beware that will put a drain on the battery...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.