Heltec_ESP32 icon indicating copy to clipboard operation
Heltec_ESP32 copied to clipboard

Heltec Wireless Stick Lite V3 Low Power Example Doesn't compile

Open vleroylr opened this issue 3 years ago • 9 comments

Apparently there is no #define for the wireless stick lite V3, thus, in the file Heltec.cpp the LoRa object is not created, resulting in a compile error due to the object not existing. Even after adding the #define before the #include "Heltec....." the code compiles but the current conpsumption is 19mA, WAAAAY more than the stated 15uA for this product.

vleroylr avatar Feb 13 '23 18:02 vleroylr

is there any documentation or are there any examples for this particular device? it's different enough from the Wireless Stick Lite V2. the deep sleep doesn't compile and, separately, i can't even see any labeled I2C pins.

mahesh2000 avatar Feb 14 '23 00:02 mahesh2000

@mahesh2000 u can find few things on Heltec under Datasheet or Docs & Resource. I have found the I2C pin in the Schematic Diagram. I made a litte Hello World example with RadioLib on the V3. There is also an example for the OLED. haven't testet deep sleep though.

JJJS777 avatar Feb 14 '23 09:02 JJJS777

There is an entirely different board definition repo on GitHub which you need to install. There are a few ways to do it, none of them simple. I did my own before i saw the others'. See https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/issues/165.

mahesh2000 avatar Feb 16 '23 14:02 mahesh2000

@mahesh2000 Did you get the stated current consumption on low power mode?

vleroylr avatar Feb 17 '23 19:02 vleroylr

@vleroylr, i got it down to 13uA.

mahesh2000 avatar Feb 18 '23 02:02 mahesh2000

Also, just use the predefined SDA and SCL pins. You can just use Serial.println(SDA) and Serial.println(SCL) to find the values. If I remember correctly, for the WSL V3 they're 17 & 18, ie GPIO_NUM_17 and GPIO_NUM_18.

mahesh2000 avatar Feb 18 '23 02:02 mahesh2000

@mahesh2000 Could you share the code where you got it down to 13uA?, I am really struggling to make it work and every help would be much appreciated :( !

vleroylr avatar Feb 28 '23 18:02 vleroylr

@mahesh2000 , Hey friend, I wonder if you could share your implementation on the Wireless Stick Lite V3 on low power mode... I still can't get it to 13uA as you did :(

vleroylr avatar May 16 '23 04:05 vleroylr

After some tweaking I got it down to 0.65mA, still trying to figure out were are the extra uA comming from. Such a pitty the company won't involve in this issue.

vleroylr avatar May 16 '23 22:05 vleroylr