I'm planning to power my ESP32 board directly from a battery. How can I measure the state of the battery to alert a user on low battery?
May I apply VCC directly to an analog input to measure the battery voltage?
A battery measurement
-
- Posts: 9709
- Joined: Thu Nov 26, 2015 4:08 am
Re: A battery measurement
That depends on the battery, but generally, no. You need a voltage divider to bring the voltage in range of the ADC.
Re: A battery measurement
It will be 1.8v?ESP_Sprite wrote: ↑Fri Aug 14, 2020 7:51 amThat depends on the battery, but generally, no. You need a voltage divider to bring the voltage in range of the ADC.
Who is online
Users browsing this forum: No registered users and 185 guests