A battery measurement

jenya7
Posts: 19
Joined: Mon Feb 24, 2020 9:14 am

A battery measurement

Postby jenya7 » Fri Aug 14, 2020 6:44 am

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?

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: A battery measurement

Postby ESP_Sprite » Fri Aug 14, 2020 7:51 am

That depends on the battery, but generally, no. You need a voltage divider to bring the voltage in range of the ADC.

jenya7
Posts: 19
Joined: Mon Feb 24, 2020 9:14 am

Re: A battery measurement

Postby jenya7 » Fri Aug 14, 2020 12:47 pm

ESP_Sprite wrote:
Fri Aug 14, 2020 7:51 am
That depends on the battery, but generally, no. You need a voltage divider to bring the voltage in range of the ADC.
It will be 1.8v?

Who is online

Users browsing this forum: No registered users and 161 guests