Xinyuan-LilyGO / T-Display-S3

MIT License
729 stars 172 forks source link

Battery and no display #218

Closed vautieri closed 5 months ago

vautieri commented 5 months ago

With the 3.7 VDC batt plugged in, the red led goes bright, so I know it is connected. However, when I disconnect rhe USB c, the display turns off. Do I really need to power this through the USB port for. The display?

teastainGit commented 5 months ago

If you are new to the LilyGO T-Display S3 I suggest you look through my GitHub repository I made as a user. https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples Sounds like a case of: "C) Can run on USB power but not battery connector: In declarations add

define PIN_POWER_ON 15 // just before the setup and then in setup add:

pinMode(PIN_POWER_ON, OUTPUT);  //"triggers the LCD backlight, and enables battery power
digitalWrite(PIN_POWER_ON, HIGH);)  //on startup"

(LilyGO variously refers to them as "LCD power on" OR "PIN_POWER_ON")
Thanks to user RobLatour for finding this cure for the battery issue!"

-Terry

vautieri commented 5 months ago

Worked like a charm and thank you for the quick response.

Seebit61 commented 5 months ago

Muchas gracias ha funcionado.Felicidades por su servicio. Ahora estoy investigando para que me diga la carga de la batería. Bartolomé RománEl 15 ene 2024, a las 21:55, Terry Stainton @.***> escribió: If you are new to the LilyGO T-Display S3 I suggest you look through my GitHub repository I made as a user. https://github.com/teastainGit/LilyGO-T-display-S3-setup-and-examples Sounds like a case of: "C) Can run on USB power but not battery connector: In declarations add

define PIN_POWER_ON 15 // just before the setup and then in setup add:

pinMode(PIN_POWER_ON, OUTPUT); //"triggers the LCD backlight, and enables battery power digitalWrite(PIN_POWER_ON, HIGH);) //on startup" (LilyGO variously refers to them as "LCD power on" OR "PIN_POWER_ON") Thanks to user RobLatour for finding this cure for the battery issue!"

-Terry

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>