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
 

Suggested Topics

  • 1
  • 1
  • 3
  • 5
  • 3
  • 10

10
Online

11.4k
Users

11.1k
Topics

112.7k
Posts