Deep sleep with LILYGO ESP32 T-Display v1.1
-
I have a LILYGO ESP32 T_Display v1.1
I try to be in deep sleep mode with this board. I am not able to go below 36ma. In principle I should reach something below 1ma
Nothing is connected on the board and the small red LED has been removed.
I did a lot of research and did a ton of testing.
Can anybody help me ?
Here is my code:
#include <TFT_eSPI.h> // Hardware-specific library #include <SPI.h> TFT_eSPI tft = TFT_eSPI(); void setup() { tft.init(); delay(10000); tft.writecommand(ST7789_DISPOFF);// Switch off the display delay(5); tft.writecommand(ST7789_SLPIN);// Sleep the display driver delay(5); pinMode(TFT_BL,OUTPUT); digitalWrite(TFT_BL, LOW); // Should force backlight off //gpio_hold_en(GPIO_NUM_4); //gpio_deep_sleep_hold_en(); esp_deep_sleep_start(); } void loop() { // put your main code here, to run repeatedly: }
Thank's a lot !