Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. NodeManager
  4. voltperbits and reference voltage

voltperbits and reference voltage

Scheduled Pinned Locked Moved NodeManager
2 Posts 1 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fhenrycoF Offline
    fhenrycoF Offline
    fhenryco
    wrote on last edited by fhenryco
    #1

    Hi,
    i'm currently testing the functionalities of node manager as for battery monitoring.
    As i understand it your
    void setBatteryInternalVcc(bool value) in case bool =true is only to measure the Vcc the arduino is powered through.
    To measure another voltage , for instance the input voltage Vbatt of a step up regulator that feeds the arduino, Vbatt then being the actual battery voltage, we have no option except using bool = false and use a voltage divider to measure Vbatt on a chosen arduino pin with 1.1V as the reference.
    ... or what did i miss because your default value for voltperbits which is ~ 3.3 /1024 seems to imply that the reference is 3.3V in which case a voltage divider is not needed...

    what is your actual reference when measuring voltages? is it actually not defined and needing to be defined by using void setReference(int value) ? ... a bit misleading because in your documentation this void is not refered to in your battery management section

    fhenrycoF 1 Reply Last reply
    0
    • fhenrycoF fhenryco

      Hi,
      i'm currently testing the functionalities of node manager as for battery monitoring.
      As i understand it your
      void setBatteryInternalVcc(bool value) in case bool =true is only to measure the Vcc the arduino is powered through.
      To measure another voltage , for instance the input voltage Vbatt of a step up regulator that feeds the arduino, Vbatt then being the actual battery voltage, we have no option except using bool = false and use a voltage divider to measure Vbatt on a chosen arduino pin with 1.1V as the reference.
      ... or what did i miss because your default value for voltperbits which is ~ 3.3 /1024 seems to imply that the reference is 3.3V in which case a voltage divider is not needed...

      what is your actual reference when measuring voltages? is it actually not defined and needing to be defined by using void setReference(int value) ? ... a bit misleading because in your documentation this void is not refered to in your battery management section

      fhenrycoF Offline
      fhenrycoF Offline
      fhenryco
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      12

      Online

      12.0k

      Users

      11.2k

      Topics

      113.4k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular