Xinyuan-LilyGO / LilyGo-T-OI-PLUS

esp32-c3 development board with 16340 battery holder
MIT License
72 stars 17 forks source link

Turn off power LED #6

Closed dogsop closed 2 years ago

dogsop commented 3 years ago

Can the power LED be disabled in software to cut down the power drain when running on battery?

mgsb commented 3 years ago

The schematic (https://raw.githubusercontent.com/Xinyuan-LilyGO/LilyGo-T-OI-PLUS/main/schematic/T-OI_PLUS_Schematic.pdf) shows the red LED hardwired to Vdd33.

dogsop commented 3 years ago

The schematic (https://raw.githubusercontent.com/Xinyuan-LilyGO/LilyGo-T-OI-PLUS/main/schematic/T-OI_PLUS_Schematic.pdf) shows the red LED hardwired to Vdd33.

The schematic is wrong, at least for the version I got. The red LED is wired to a GPIO pin, the green LED is wired to power. I was having trouble following the schematic and was hoping that it was also possible to turn off the green LED.

gigamegawatts commented 3 years ago

I noticed that the photos of the board on Lilygo's AliExpress site are of an older version of the board. Their photos show a board labelled 20210625, with the green LED in the middle.

My board is labelled 20210716, version 1.1. It has the green LED on the outside and the red LED in the middle. On this board, the green LED is controlled through GPIO 3, while the red LED is always on when the board is powered. So, the schematic seems to be for the newer version of the board.

Incidentally, LilyGo's AliExpress page for this board now says "Sorry, this item is no longer available!" I don't know if that means out-of-stock, or discontinued.

mgsb commented 3 years ago

Yes, I have v1.1 board, too, which appears to match the schematic. The LEDs, from left to right are:

al1fch commented 3 years ago

OK with @gigamegawatts and @msg for V.1.1 board (2021 07 16)

Current schematic is for V1.1 https://github.com/Xinyuan-LilyGO/LilyGo-T-OI-PLUS/tree/main/schematic Power red led is easy to remove...

LilyGO commented 3 years ago

If you don't want to stick red power lights, you can note with customer service.