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. Measuring and Reporting Battery Level Sensor combine together with Relay Actuator or any other sensor in one device (Arduino Mini Pro)

Measuring and Reporting Battery Level Sensor combine together with Relay Actuator or any other sensor in one device (Arduino Mini Pro)

Scheduled Pinned Locked Moved Development
5 Posts 3 Posters 2.3k 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.
  • Anton_TA Offline
    Anton_TA Offline
    Anton_T
    wrote on last edited by Anton_T
    #1

    I'm not good in programming, that's why,
    I have question, is it possible to combine Measuring and Reporting Battery Level sensor
    (BatteryPoweredSensor.ino)
    with
    for example Relay Actuator (RelayWithButtonActuator.ino)
    or any other sensor
    in one device / Arduino Mini Pro?

    I find it very useful to build sensors& actuators with build-in Measuring and Reporting Battery Level & TO KNOW WHEN TO REPLACE/RECHARGE BATTERIES :)

    Is SLEEP_TIME will be the first issue?

    Thank you in advance!

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Relay Actuator would not run for long on batteries. I would recommend always powering it from mains.

      But it is always possible to send in battery level on any sensor/actualtor using the sendBatteryLevel-method (as shown in the example you linked).
      In the BatteryPoweredSensor-example the sensor sleeps most of the time. The time MCU should power down is specified with SLEEP_TIME.

      1 Reply Last reply
      0
      • clippermiamiC Offline
        clippermiamiC Offline
        clippermiami
        Hero Member
        wrote on last edited by
        #3

        Does the Vera Plug in know anything about sensor battery level reporting if it comes in? What's the message identifier for battery level data? Does anything have to be done on the Vera end? And would the battery level information appear, as another child our one the Node data?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          On Vera, battery level will be shown in the Node-device. Nothing have to be done on vera side. Battery level is transferred as an internal command (I_BATTERY).

          clippermiamiC 1 Reply Last reply
          0
          • hekH hek

            On Vera, battery level will be shown in the Node-device. Nothing have to be done on vera side. Battery level is transferred as an internal command (I_BATTERY).

            clippermiamiC Offline
            clippermiamiC Offline
            clippermiami
            Hero Member
            wrote on last edited by
            #5

            @hek Thanks.

            John

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


            23

            Online

            11.7k

            Users

            11.2k

            Topics

            113.0k

            Posts


            Copyright 2019 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