Xinyuan-LilyGO / T-Display-S3

MIT License
729 stars 172 forks source link

Low voltage on external lipo battery connected to the JST port #223

Closed csthiang closed 3 months ago

csthiang commented 4 months ago

Board: t-display-s3 non-touch v1.2

I'm trying to power the board with a fully charged 3.7V lipo battery but it does not power on. I am aware of pulling pin 15 high for the display to work so I have the code bring up pin 15 and 38 for the screen. I've modified the GetBatteryVoltage demo code to add some sleep before powering the backlight on and it worked but I am seeing only 2.6-2.7v (Battery is at 4.18v as measured using multimeter). Measuring the 5v pin shows the same low voltage as well. Tried other known working li-ion it cannot work as well.

I have tried another of the same board and it is the same issue. There is no problem with using the usb-c to power the board. I have also updated the firmware but still seeing the same behaviour.

What could be the problem? Faulty board (both???)?

teastainGit commented 4 months ago

If you are new to LilyGO T-Display S3 you might try reading through my self-help repository : https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples The ESP32 has a terrible ADC and it is not stable or particularly linear. You 'updated the firmware' What firmware did you update? I'm not sure what that means, the bootloader is in ROM, any sketch you may upload is also technically 'firmware'! -cheers, -Terry

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.