ESP32-S3 TFT 1.9 display
-
It is a bit more awkward, but you must confirm battery voltage during start up!
Your Lemon, may be the battery.
-
@teastain i did test the battery under load as well. it can indeed deliver the voltage required. did you manage to test your unit with a battery? i'd be interested to know the outcome..
Thank you for your help!
-
@simpleuser Mine booted up right away with 3.3V coming in the battery connector. I don't have a battery!
Also are you sure of the polarity? The connector is so small and fiddly, I double checked.
Does it run OK on USB power?
Let me know!
Terry -
@teastain Thanks continuing to help!
Yes.. quite sure of the polarity. Red is +ve and Black is -ve. It also matches correctly to whats printed on the PCB.
i measured on loaded output of the battery again and confirm its 4.2V at least.
Connecting the battery and pressing reset only causes a brief green flash.Powering via the USB-C port has no issues. That works fine.
Is there any other way i can power the board? through some direct pins maybe?
Curious, can the board be connected to the the Li-ion battery and be connected to the USB at the same time? Will the board auto switch the power supply?
-
@simpleuser Unfortunately I'm out of ideas!!!
I have added T_Display_S3shematic.PDF to my LilyGO T-Display S3 GitHub repository, which is here:
https://github.com/teastainGit/LillyGO-T-display-S3-setup-and-examples
It looks like the bat connector circuit has no reverse polarity protection diode, which is silly, considering how sophisticated and complex the rest of the circuit is designed. In that case a simple one-time reversed battery leads would ruin the bat charging but not the overall functionality.
Let me know if I can be of further help, I am a retired Industrial Robot Interface designer, with time on my hands! -
[EDIT] and...yes, both can be connected and a mosfet will switch between the two, it looks like the LilyGO has an on-board charger. If it will not boot with BOTH USB and Battery connected, then yes, the battery interface is toast.
-Terry -
@teastain Thanks for checking and confirming. If the Lilygo indeed has an onboard Li-ion charger, then i highly suspect my battery interface is toast. I have not at any point reversed the polarity.
No problem i guess, i just have to change the design of my project to leverage an externally connected USB-C circuit. not ideal as the project isn't "independent" but until i get another unit, it'll have to do.
Good to know that its supposed to have an on-board charger and can take a li-ion battery though!
Thanks lots!
-
How about an external battery connected through the USB connector ?
Cut the end off of a C type USB cable locate the pos(+ve) and neg (-ve) conductors inside, attach your 4.2v li-ion to the cable and plug the cable into the USB C port on the LilyGO. -
@teastain that can work... but i guess its going to look big and not as sleek anyway, might as well save myself the trouble.
nah.. thats ok.
maybe for the next project.. hahaha -
Well, I did not think to ask you if you have the LCD ON commands in your sketch:
#define LCDpin 15 (before setup)
and
void setup() {
pinMode(LCDpin, OUTPUT); //triggers the LCD backlight
digitalWrite(LCDpin, HIGH);My LilyGO T-Display S3 will not turn on the backlight reliably, until I spotted the
LCD_Power_ On 15 pin on the official schematic. This works a charm.
Also YouTuber Volos says that he has trouble getting several types of batteries to work with his.
Hope this helps, TerryCheck out my GitHub repo.
-
@teastain Thank you! this is insightful. Really appreciated. i'd have to look into it when i have the time... perhaps the type of battery? i don't know. but at this point.. USB-C it is.. hahahah