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. Hardware
  3. {QUESTION} Battery Sensor example

{QUESTION} Battery Sensor example

Scheduled Pinned Locked Moved Hardware
voltage dividerbattery monitorarduino nano
3 Posts 3 Posters 2.1k Views
  • 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.
  • D Offline
    D Offline
    drock1985
    wrote on last edited by
    #1

    Hi,

    I've been reading the battery sensor example script on the MySensors page http://www.mysensors.org/build/battery I want to put a few battery sensors around my house, and plan to use 9V batteries and probably a some AA/AAA sensors as well. The example on the page above mentions the use of the 3.3v mini and 2AA; does the same voltage divider apply to an Arduino Nano and the batteries I intend to use, or should it be adjusted?

    My Projects
    2 Door Chime Sensor
    Washing Machine Monitor

    M 1 Reply Last reply
    0
    • S Offline
      S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      Hi! The nano is 5v and accepts (limits) 6-20 V on the raw pin.

      You could power the nano through the raw pin and use a voltage regulator for the radio if you want to use 9v batteries. The battery should be measured 100% when 9v and 0% when 6V i guess.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • D drock1985

        Hi,

        I've been reading the battery sensor example script on the MySensors page http://www.mysensors.org/build/battery I want to put a few battery sensors around my house, and plan to use 9V batteries and probably a some AA/AAA sensors as well. The example on the page above mentions the use of the 3.3v mini and 2AA; does the same voltage divider apply to an Arduino Nano and the batteries I intend to use, or should it be adjusted?

        M Offline
        M Offline
        m26872
        Hardware Contributor
        wrote on last edited by
        #3

        @drock1985
        Maybe some hints here.

        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