Heltec LoRaWAN ESP32 V3 - heltec_vbat() returns very low value even with a charged battery attached, and display is blank. #73
-
I have a Heltec LoRaWAN ESP32 V3. Definitely V3, that's printed near the antenna socket. [Edit: It's V3.2] I have GND and one of the 3V3 pins connected to an Hc-sr501 Infrared PIR Motion Sensor and its output connected to GPIO_NUM_2. (Note - this works.) Nothing is connected to GPIO_0, 1 or 37 (Button and two VBat pins.) When running the following code, nothing shows on the screen and heltec_vbat returns a very low - and inconsistent - value, like 0.04 to 0.25V. Help?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey, i ran into the exact same issue ... yesterday ... :
The source of confusion - which also got me for a day - is that So i changed heltec_unofficial.h:
and add in my code:
|
Beta Was this translation helpful? Give feedback.
-
Excellent - thank you, Markus. This battery issue is solved. However, the display issue remains - your change moves I'll be looking at this more closely today. Also, I just got a new device in, and I'll try the same code on that device to see what happens. I'll mark this "fixed" and create a new post for the display issue if the new device exhibits the same behavior. Again, thanks! |
Beta Was this translation helpful? Give feedback.
Hey,
i ran into the exact same issue ... yesterday ... :
The source of confusion - which also got me for a day - is that
the schematic named V3.2 Schematic diagram on the product site obviously is the 3.1 schematic.
The correct schematic is https://resource.heltec.cn/download/WiFi_LoRa_32_V3/WiFi_LoRa_32_V3.2_Schematic_Diagram.pdf from the Downloadable Resources.
Rop, you also got that wrong ...
So i changed heltec_unofficial.h: