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. transportPowerDown() with v2.2.0

transportPowerDown() with v2.2.0

Scheduled Pinned Locked Moved Development
6 Posts 3 Posters 1.2k Views 4 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.
  • D Offline
    D Offline
    d-smes
    wrote on last edited by
    #1

    Re: How to Disable / Enable Radio within Loop

    With MySensors v2.2.0, I observe that transportPowerDown() no longer works. With version 2.1.1, current consumption would drop from 17.5 mA to 3.5 mA (pro-mini @ 8MHz powered by 2x AA batteries, nRF24L01 direct connected, and no sensors) when the function was called.

    Is there an equivalent / new command for v2.2.0 that will put the nRF radio in Standby or Power Down mode?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      sleep()?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        d-smes
        wrote on last edited by
        #3

        sleep() puts the arduino (and radio) to sleep. I need a way to put the radio in a low current consumption state while the micro stays awake and acquires data from sensors and processes that info which can take a few seconds. Only then do I need to send the data after-which I can sleep.

        In my use case, without transportPowerDown(), I burn an extra 14 mA for 2 seconds every minute. This equates to just over 11 mA-hr per day or over 330 mA-hr per month of needless energy consumption!

        gohanG 1 Reply Last reply
        1
        • T Offline
          T Offline
          Technovation
          wrote on last edited by
          #4

          Try transportDisable();

          1 Reply Last reply
          1
          • D d-smes

            sleep() puts the arduino (and radio) to sleep. I need a way to put the radio in a low current consumption state while the micro stays awake and acquires data from sensors and processes that info which can take a few seconds. Only then do I need to send the data after-which I can sleep.

            In my use case, without transportPowerDown(), I burn an extra 14 mA for 2 seconds every minute. This equates to just over 11 mA-hr per day or over 330 mA-hr per month of needless energy consumption!

            gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #5

            @d-smes fair enough. May I ask why do you need to process sensor data every minute?

            1 Reply Last reply
            0
            • D Offline
              D Offline
              d-smes
              wrote on last edited by
              #6

              @d-smes said in transportPowerDown() with v2.2.0:

              transportPowerDown()

              Thanks guys; that worked! And if anyone else is interested, the radio automatically re-enables when you send a message.

              @gohan - I monitor several temperatures, water levels, and flow rates associated with a duck pond and filtration system. Things can get out of whack fairly quickly due to pump inlet blockages, full filters, equipment failures, and weather induced surprises. Need quick updates so if there's a problem, I can intervene before a pump runs dry or I lose too much water.

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


              11

              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