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. General Discussion
  3. Measurement of Battery Voltage

Measurement of Battery Voltage

Scheduled Pinned Locked Moved General Discussion
battery voltage
4 Posts 2 Posters 1.9k Views 3 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.
  • BeneB Offline
    BeneB Offline
    Bene
    wrote on last edited by
    #1

    Hi,

    first of all i like to thank you for your work on this projekt - I like mysensors very much!

    I have a question regarding voltage measurement of a battery.

    On this site (http://provideyourown.com/2012/secret-arduino-voltmeter-measure-battery-voltage/) i read, that you can measure the voltage of the battery without the need of seperate analog pin using the internal reference only.
    In the Guide on mysensors (Battery powered sensor) you use two resistors and an analog pin to read the voltage.

    From my perspective the way only using the internal refenrece voltage of 1.1V needs fewer components (no additional resistors, no analog pin) and should save some current that would otherwise flow through the resistors.

    Is there any advantage in doing it the way described on mysensors that i am missing?

    Thank you for your help!

    Kindly Regards
    Bene

    YveauxY 1 Reply Last reply
    0
    • BeneB Bene

      Hi,

      first of all i like to thank you for your work on this projekt - I like mysensors very much!

      I have a question regarding voltage measurement of a battery.

      On this site (http://provideyourown.com/2012/secret-arduino-voltmeter-measure-battery-voltage/) i read, that you can measure the voltage of the battery without the need of seperate analog pin using the internal reference only.
      In the Guide on mysensors (Battery powered sensor) you use two resistors and an analog pin to read the voltage.

      From my perspective the way only using the internal refenrece voltage of 1.1V needs fewer components (no additional resistors, no analog pin) and should save some current that would otherwise flow through the resistors.

      Is there any advantage in doing it the way described on mysensors that i am missing?

      Thank you for your help!

      Kindly Regards
      Bene

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @Bene Hi and welcome to the forum!
      Some time ago I wrote a library which exactly implements the method described on the site you mentioned.
      There's a topic devoted to this Vcc library, which you can find here.
      The drawbacks of this method are:

      • you cannot use it when a regulator is used to power the AVR; it needs to be directly powered from the battery
      • it isn't very accurate, but can be calibrated to increase accuracy.

      http://yveaux.blogspot.nl

      1 Reply Last reply
      3
      • BeneB Offline
        BeneB Offline
        Bene
        wrote on last edited by
        #3

        @Yveaux Many Thanks for your answer!
        Unfortunately, I had not found your article and sketch on the search.
        That explains a lot :-)

        YveauxY 1 Reply Last reply
        1
        • BeneB Bene

          @Yveaux Many Thanks for your answer!
          Unfortunately, I had not found your article and sketch on the search.
          That explains a lot :-)

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @Bene Always use google to search on MySensors forum; it's much better than the integrated search.
          Just add site:mysensors.org to your google query to limit results to this site only, e.g: search vcc

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          18

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          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