Battery Management: Heltec WiFi LoRa 32 V3

Sdílet
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

Komentáře • 46

  • @Yoyo-kf8mi
    @Yoyo-kf8mi Před 3 měsíci +9

    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!

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      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

    • @Yoyo-kf8mi
      @Yoyo-kf8mi Před 3 měsíci +9

      @@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!

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      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

    • @Yoyo-kf8mi
      @Yoyo-kf8mi Před 3 měsíci +1

      @@ShotokuTech Yeah sir, I need your tutorial guide please, can it be done like simply monitoring using Arduino IDE?

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      @@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.

  • @yannkitson116
    @yannkitson116 Před 3 měsíci +1

    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!

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      V3 seems capable of charging them correctly, at least so far for me. Thanks. Best wishes.

  • @miguelvillarivera7908
    @miguelvillarivera7908 Před 3 měsíci +2

    Literally exactly what i needed!

  • @JudyFayLondon
    @JudyFayLondon Před 3 měsíci +1

    Brilliant share!

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      Thanks Judy. I have one attached to a solar panel and it has run three days straight so far.

  • @irondogindustriesllc9025
    @irondogindustriesllc9025 Před 3 měsíci +1

    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

  • @JudyFayLondon
    @JudyFayLondon Před 3 měsíci +1

    Such fantastic video!

  • @JimmyFungus
    @JimmyFungus Před 3 měsíci +1

    Danger! High Voltage!! ⚡

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      It'll be alright Jimmy! Thanks!

  • @JudyPlus
    @JudyPlus Před 3 měsíci +1

    So very nice, wow!

  • @santiagoandres5658
    @santiagoandres5658 Před 3 měsíci +1

    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!

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      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.

    • @santiagoandres5658
      @santiagoandres5658 Před 3 měsíci +1

      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?

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci +1

      @@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.

  • @littletechengineer
    @littletechengineer Před 3 měsíci +1

    Grate sharing

  • @Marlon5658
    @Marlon5658 Před 3 měsíci +1

    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?

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      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

  • @karlennis7974
    @karlennis7974 Před 3 měsíci +1

    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.

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      Yes, the voltage goes to 3.95 right away.

    • @karlennis7974
      @karlennis7974 Před 3 měsíci

      i sent you an email, it may go in to your junk mail.

  • @miguelvillarivera9996
    @miguelvillarivera9996 Před 3 měsíci +1

    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?

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      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

  • @ericjoulin8758
    @ericjoulin8758 Před 3 měsíci +1

    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

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      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

    • @ShotokuTech
      @ShotokuTech  Před 3 měsíci

      For Serial I use pins 46 and 45: czcams.com/video/tQZC4GlYhMc/video.html

  • @stefaniaescobarmonrroy6025
    @stefaniaescobarmonrroy6025 Před 2 měsíci +2

    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

    • @ShotokuTech
      @ShotokuTech  Před 2 měsíci

      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.

    • @tetie_
      @tetie_ Před 5 dny +1

      Same issue!

    • @ShotokuTech
      @ShotokuTech  Před 4 dny

      @@tetie_ What is the issue specifically? What library, what sketch?

    • @tetie_
      @tetie_ Před 4 dny

      @@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

  • @thepeterandpeter
    @thepeterandpeter Před 2 měsíci +1

    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);
    }

    • @ShotokuTech
      @ShotokuTech  Před 2 měsíci

      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.