LILYGO T-Display S3 - battery power
I have two LILYGO T-Display S3, both stamped as T_Display_S3 22-8-2 v1.2 on the back side of the board:
I tried to power each via the battery wires / connector that came with it (using: 3.3 volts, 3.7 volts, 4.3 volts and 40.7 volts (regulated from a power supply) – none were able to power on the board.
I double checked the connectors matched the + and - signs printed on the board.
This appears to be the same problem as posted by one fellow here by: https://community.lilygo.cc/topic/114/esp32-s3-tft-1-9-display/8
Powering the board via the USB cable works fine.
teastain last edited by
@roblatour I responded to the other guy that 3.3V from a power supply hooked up to the "Battery" connector worked fine.
I don't have any batteries(!) as I always power through a PS.
This is quite a quandary. It may be something in the design that the battery port has as a charger controller to re-charge the attached battery, rather than a direct power input, which would be silly.
Maybe let the battery be connected for a few minutes and press the black reset button?
Sorry I could not help firther.
@teastain Thanks, I tried that but it didn't work. I also measured the voltage into the board by connecting a multimeter against the two pins at the other side of the battery connector on the board. They read the correct voltage is getting thru the wires to the battery connection on the board.
Also, I tried connecting a battery, connecting the usb, and removing the usb.
However, once the usb was removed the board stopped working.
At this point I am thinking it may very well be that both the boards that I have are defective - which would be really too bad if true as I will have waisted a bunch of time on this.
I have two more on order from Lilygo when they arrive I will test them to see what happens.
teastain last edited by
Thorough, methodical checking!
I just connected both of my T-Display S3s, (one at a time!) to a 3.3Vdc source and also later, 4 AA batteries.
I used an ISP Programmer to deliver 3.3Vdc to the battery connector with LilyGO's supplied tiny cable, and, 5.27Vdc from a set of 4 rechargeable AA cells.
So, I must ask if you are using a PowerBank (designed to re-charge cell phones), as these will not supply power to tiny loads such as ESP32s !!!
(...and...at the risk of being annoying, I am running my HotHead example from my repo, as a "base line:.)
@teastain ok I found the problem
I was trying to get the T-Display to power on via the battery connection and testing with the device loaded with a sketch of my own - which worked fine when USB was plugged in but not the batteries.
I was waiting for two more LILYGO boards to arrive, which they did yesterday. I uploaded my program on one, and it didn't work with the battery. I tried the other with the factory default sketch and it did work with the battery connected.
So then I thought it must be a software thing, which it was:
In the factory sketch there are these lines that were not in my code:
#include "pin_config.h" // found at: https://github.com/Xinyuan-LilyGO/T-Display-S3/tree/main/example/factory
// in the setup subroutine of the sketch:
adding these lines to my sketch allowed it to work with the battery and the USB. Without these lines it would only work with the USB.
Of note, if you don't want to include pin_config.h you would only need these two lines of code:
Hope this will be of help to others.
@teastain Just noticed you had posted the same solution at:
teastain last edited by teastain
@roblatour Great news!
I will add it to my GitHub repo and credit you!