Battery Management: Heltec WiFi LoRa 32 V3
Vložit
- čas přidán 31. 03. 2024
- Battery Management: Heltec WiFi LoRa 32 V3.
A friend of the channel asks about battery management on the Heltec WiFi LoRa 32 V3. In my search to find the answer, I find an interesting article that discusses battery management on all the versions of the Heltec WiFi LoRa 32 development board. There is also sample code. Of course it doesn't work for me, missing SSD1306.h file during compiling. I even have an SSD1306 library installed that has that file in it. So I fall back to my own display sketch for the mashup.
Digital Concepts Battery Management
digitalconcepts.net.au/arduino/index.php?op=Battery
ShotokuTech / HeltecLoRaV3TextDemo
github.com/ShotokuTech/Heltec...
ShotokuTech / HeltecLoRaV3BatteryVoltage
github.com/ShotokuTech/Heltec...
Heltec WiFi Lora 32 Playlist
• Heltec WiFi Lora 32 Pl...
As an Amazon associate I earn from qualifying purchases at no additional cost to you.
HiLetgo ESP32 V3 LoRa V3 SX1262 0.96 inch OLED Display Development Board
amzn.to/3T5fTFM
ML2032 Rechargeable Battery
amzn.to/3TmP8gd - Věda a technologie
Hi Sir, would like to ask if you can do a tutorial video about LoRa nodes communication? e.g.- showing its functions to simultaneous data transmission of possibly actual SNR and RSSI values from the LoRa 32 V3 modules.
Thanks for always exploring new thing!
Hello. I have a playlist with almost 30 video for Heltec WiFi LoRa 32. Maybe there is something for you already? Thanks.
Heltec WiFi LoRa 32 Playlist
czcams.com/play/PLVPBipeObwMP02QIrh3RGMs1BtPTMt19j.html
@@ShotokuTech I've been watching your previous videos over and over again, but sir, you haven't done two or three LoRa 32 V3 simply transmitting and receiving SNR and RSSI, such as two nodes sending signals and one gateway node receiving signals, or one node sending signals and two gateways receiving that signal. The result can be to observe the relative relationship between those nodes, their received signals, and the distance between the node and the gateway within a certain range. Sir, Could it be possible to do a tutorial video with this content?
Thanks so much!
To be honest I suggest adopting the Meshtastic platform.
Meshtastic Playlist: Quite possibly the best use case for your compatible LoRa devices. Become part of a larger community or make one.
czcams.com/play/PLVPBipeObwMNikSEscJtNj8iK2wksWBtu.html
@@ShotokuTech Yeah sir, I need your tutorial guide please, can it be done like simply monitoring using Arduino IDE?
@@Yoyo-kf8mi So did you look at any of the other videos from these playlists? These are pretty thorough tutorials. Meshtastic let's you monitor not just your own LoRa nodes, but other people's nodes as well. I am picking up nodes 2-3 miles away from me. And I can monitor RSSI for them in the web interface for Meshtastic. I don't know how else to answer your question. Thanks.
Yes battery management is needed, it took only a few days before I got my first bloated 1000 mAh LiPo battery. The V3 has not been able to do that to my 3000mAh battery. Thank for sharing!
V3 seems capable of charging them correctly, at least so far for me. Thanks. Best wishes.
Literally exactly what i needed!
Good to hear. Thanks.
Brilliant share!
Thanks Judy. I have one attached to a solar panel and it has run three days straight so far.
I just assumed that I should build an external battery charging unit. It was instructive, but completely unnecessary ha ha. I will try the on board feature. I find that many times I run into the same challenge with 'include' files that seem like they should fall within my meager library management skills but go missing... Keep up the great content, it is somehow perfect for my needs
Cool, thanks. Best wishes!
Such fantastic video!
Glad you think so Judy!
Danger! High Voltage!! ⚡
It'll be alright Jimmy! Thanks!
So very nice, wow!
Thank you Judy! 😊
Hey! It's me again. I was wondering if you have already tested the new Wifi_lora_v3_factorytest_v1, besides the fact that i have already tested this board before (and done some projects with it) it seems to be that the new library update has so many different problems to solve (does not work at all, at least for me) and i was wondering how you dealt with that! Congrats for that good work on troubleshooting and challenges!
Right now I am totally immersed in running Meshtastic on the Heltec WiFi Lora 32 V3. My outdoor solar powered unit just survived its first night with 64% battery left and the Sun is coming out again. I'll see what I can do if I get a chance. I noticed a new board came up with LoRa failed right out of the box the other day. But flashed with Meshtastic it worked fine.
I see, does meshtastic have any support for multiple sensors and different projects that might require a way to access that information by any app with graphics?
@@santiagoandres5658 We are learning about that step by step. I have several videos and shorts on the topic so far. You know from my other videos that serial and I2C devices are supported on V3 and I know Meshtastic supports MQTT. So I will connect the dots at some point. Stay tuned.
Grate sharing
Thanks!
Hello. I am currently using a boost module (the same that you show in the GPS video) to increase the battery voltage from 3.7 volts to 5 volts. The 5 volt output is connected to both ESP32 and the GPS module. So, in order to do battery management like this, how can I make it?
ESP32 only allow 3.3 volts on the GPIO pins. So you would need a couple of resistors to divide the 5 volt input to a GPIO pin between positive and ground. Then you would have to come up with the correct factor to multiply the resulting divided value back up to 5 volts. Or you can just monitor the 3.3 volt line the same as in this video. It depends on which voltage you want to monitor I guess. This was the booster I have used and it has its own battery indicator built in. (4 LEDs). I just attached a Micro USB connector to it to charge the battery. amzn.to/3PNk2gX
Brilliant video, thank you so much. I am also looking in to if the onboard led can be monitored to determine power supply,the led goes bright when plugged in, goes dim when on battery. The other possibility is does the voltage ready spike above the battery power when plugged in, in which case could maybe use if (voltage > batteryPower) then must be charging.
Yes, the voltage goes to 3.95 right away.
i sent you an email, it may go in to your junk mail.
Hello! I bought one of these today and powered it on to my computer without attaching the included antenna, It ran the WIFI_LoRa_32 factory test code. I am worried that i fried the LoRa module. I don't currently have another lora module to test communication. Do I have any way of testing if my Lora module still works short of getting another module?
Without a second device, you would need some RF meter. Or, if you are lucky to have other people nearby that are running Meshtastic, you could install Meshtastic and detect other nodes. I didn't see other nodes until I put a longer 175mm antenna. Then I picked up two nodes 2-3 miles away. czcams.com/users/shorts2zVF1u9YrWo?si=ysTlKXR6HAhKR1zN
Thank you for your work!
The voltage control is one of the "to do list" with my Heltec V3, dealing with my "connected beehive" project...
But i'm still struggling with abnormal values given by both my DHT 22 ( Temperature digital sensor) and HX711 (weight analogic sensor)
So i'm wondering if there is any user of the Heltec V3 board following this channel who has already tested these sensors and who could recommand me GPIOs that are known to work with this kind of sensors DHT and HX-711?
(All the factory tests work fine with my Heltec V3 board ;-)
Eric
For I2C I use pins 42 and 41. If you want to use the display with I2C devices attached, I use 'Twowire' for the 2nd I2C instance. The display resets the I2C pins to the first instance when it initializes. I show that here: czcams.com/video/5lEMRN-o_ng/video.html
For Serial I use pins 46 and 45: czcams.com/video/tQZC4GlYhMc/video.html
I am having problems compiling and joining the code with another one that I made, I do not understand why it does not recognize the adcAttachpin function, I was searching the forums trying to try but I have not been able to fix the error
The code I shared works, correct? It's hard for me to advise further without the context of what else you have added to the sketch. Best wishes.
Same issue!
@@tetie_ What is the issue specifically? What library, what sketch?
@@ShotokuTech I managed to solve the issue simply by removing the function. It seems to work properly without it. The expresssif docs says the adcAttachPin API got removed when upgrading from arduino ESP32 2.X to 3.0. So it seems to be chip-specific for newer ones
ledCSetup doesnt work with heltec lora 32 v3 Do you know why? many thanks
#include
const int pwmPin = 19; //
const int freq = 5000; //
const int pwmChannel = 0; //
const int resolution = 8; //
void setup() {
// PWM pin konfigurálása
ledcSetup(pwmChannel, freq, resolution);
// A PWM pin hozzárendelése a kiválasztott csatornához
ledcAttachPin(pwmPin, pwmChannel);
}
Hello. To be honest, I am only supporting the example sketches that are included with the V3 board definition or code based on those examples. Best wishes.