Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. memi
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    memi

    @memi

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    memi Unfollow Follow

    Latest posts made by memi

    • 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 !

      posted in Technical Discussion
      M
      memi