• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

heltec wifi kit 32 battery level ADC read

Q&A Forum › Category: ESP32 › heltec wifi kit 32 battery level ADC read
0 Vote Up Vote Down
Jayakumar Raghavan asked 6 years ago

Hi,

I am using heltec wifi kit 32 for my project. I was wondering if I could do any ADC read for the current battery voltage value?
Thanks

 

Question Tags: heltec wifi kit 32 battery ADC
6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi.
Yes, you can do that. You just need to use an ADC pin.
Regards,
Sara

0 Vote Up Vote Down
Jayakumar Raghavan answered 6 years ago

Wondering which ADC pin to use in Heltec Wifi Kit 35 board.

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Do you mean Heltec Wifi Kit 32?
Is this the board that you have?

If this is the board that you have, you can follow this pinout to decide which pins to use. It is better to use pins that are not shared with the oled or the Lora module. For example: GPIO12 or GPIO 13.

I hope this helps.

Regards,
Sara

0 Vote Up Vote Down
Jayakumar Raghavan answered 6 years ago

Hi Sara,
I am using this wifi-kit. I am not able to identify the gpio that’s connected in-built battery to read voltage values from it.
http://www.heltec.cn/project/wifi-kit-32/?lang=en
 

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

Hi. 
Accordingly to this discussion:https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/issues/10
It seems to be GPIO32.
Regards,
Sara

0 Vote Up Vote Down
Sara Santos Staff answered 6 years ago

I found other article: https://hackaday.io/project/27791-esp32-lora-oled-module/log/69600-battery-voltage-measurement
And it mentions that the values read from the pin don’t make sense.
Probably, you’ll need to add a voltage divider to read the input directly from the battery.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.