Skip to content

problems with deepsleep of Heltec Vision Master E290 is 2mA instead of the 20uA which is mentioned. #243

Open

Description

@Fer-byte-123

Hi,

While testing the Heltec Vision Master E290 V0.3.2

Image

the deepsleep current is 2mA instead of the 20uA which is mentioned in the datasheet.

Do you have any idea how to improve this?

I used the standard deepsleep command from the arduino examples:

 *
 * Function:
 * 1.ESP32 deep sleep achieves low power consumption
 * 
 * * Description:
 * 1.Pin states can be set to achieve stable deep sleep.
 * 2.If equipped with Lora module, please use this low-power instance
 * 
 * To reset the deepsleep on a Heltec Vision Master, you can press and 
 *  hold the Boot key, press RST once, and then release the Boot key. 
 * Now you can upload next program. 
 *
 * Library url: https://github.com/HelTecAutomation/Heltec_ESP32
 * Support: support@heltec.cn
 *
 * HelTec AutoMation, Chengdu, China
 * 成都惠利特自动化科技有限公司
 * https://www.heltec.org
 *
 * */

#include "Arduino.h"
#include "LoRaWan_APP.h"
#include "driver/rtc_io.h"
#include <driver/gpio.h>

#define wakeuptime  10 * 1000 * (uint64_t)1000 //Sleep time

void intodeepsleep()
{
  Mcu.begin(HELTEC_BOARD,SLOW_CLK_TPYE);
  pinMode(18,OUTPUT);
  digitalWrite(18, LOW);
  Radio.Sleep();
  SPI.end();
  pinMode(14,ANALOG);
  pinMode(8, OUTPUT);
  digitalWrite(8, HIGH);
  rtc_gpio_hold_en(gpio_num_t(8));
  pinMode(12,ANALOG);
  pinMode(13,ANALOG);
  pinMode(9,ANALOG);
  pinMode(11,ANALOG);
  pinMode(10,ANALOG);
}

void setup()
{
    intodeepsleep();
    esp_sleep_enable_timer_wakeup(wakeuptime);
    delay(4000);
    esp_deep_sleep_start();
}
void loop()
{
}

Activity

  1. Fer-byte-123 commented on Aug 7, 2026

    @Fer-byte-123
    Author

    I tested also the E213, this one also gave 2mA in deepsleep. Can you please mention what i am missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions