Xinyuan-LilyGO / LilyGo-T-Display-S2

47 stars 17 forks source link

VBAT not connected to BAT to read battery voltage #8

Open kreier opened 2 years ago

kreier commented 2 years ago

The battery voltage appears in the schematic both as VBAT and BAT. Coming from connector P1 it is connected to the charge controller TP4054 and here labeled as VBAT

image

Separated by a MOSFET SI2301 it is connected to 5V and the power switch to +5V

image

The 100k/100k voltage divider connected to GPIO9 to read the battery voltage is connected to BAT

image

And BAT is connected to pin 19 on the right side of the T-Display S2

image

So pin19 could be used to read a LiPo battery voltage, but the voltage of the very LiPo battery connected to power the T-Display S2 cannot be measured. Is this intentional? Is there a possible point to connect on the board with a soldering iron to make use of the voltage divider and measure the voltage of the attached LiIon battery? That was directly possible with the T-Display with the ESP32.

cs-devansh-mahajan commented 2 years ago

I am using the LilyGo-T-Display-S2 board.

I tried powering it with the 5V pin and 200 mA without success.

Does this Board have another powering options with the pins?

https://github.com/Xinyuan-LilyGO/LilyGo-T-Display-S2

flyinggorilla commented 2 years ago

Same issue reading battery voltage. seems to be a design "bug" !? workarounds?