How to Disable / Enable Radio within Loop

  • During normal operation, when a node wakes up from sleep, it looks like the radio is enabled right away and stays enabled until the node goes back to sleep. For my use case, I need the node to wake up with the radio disabled so I can acquire data for several seconds. After acquisition, I'd like to manually enable the radio to send the messages. When complete, node goes back to sleep (which automatically disables radio).

    Are there commands to manually enable and disable the radio? Radio is a nRF24 on a pro-mini arduino if that matters.

  • Hardware Contributor

    you can use transportInit() and transportPowerDown()

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.