Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670 A7608 SIM7672 series
MIT License
96 stars 42 forks source link

measured battery voltage does not change #19

Closed nukutoki closed 1 year ago

nukutoki commented 1 year ago

Hi, I am using the battery voltage example. The measured battery voltage is always 4.04V (if no USB is connected). I am using this board. Should the example work on this board or do I have to connect the GPIO35 somehow? Thanks in advance.

LilyGO commented 1 year ago

Hello.The battery check function is available only for 2022-7-28 V1.2.

nukutoki commented 1 year ago

OK, thank you for the fast reply.

giannoug commented 1 year ago

@LilyGO So how can we check battery voltage for 2022-5-22 V1.1?

LilyGO commented 1 year ago

Hello. Only V1.2 has the function of detecting battery voltage

giannoug commented 1 year ago

Which pin of the board has battery voltage? VBAT? We could be able to use a voltage divider to calculate it

LilyGO commented 1 year ago

V1.2. The IO35 can capture battery voltage

giannoug commented 1 year ago

For V1.1, can this be achieved with external components like I mentioned above?

LilyGO commented 1 year ago

I'm sorry. V1.1 does not have a GPIO for ADC to detect battery voltage