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.
-
you can use transportInit() and transportPowerDown()
2 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Home Assistant/MySensors quirks
Development • 17 Mar 2025, 02:35 • OldSurferDude 17 Mar 2025, 02:35 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07 -
Counting Incoming and Outgoing Messages from a Gateway
Development • 10 Dec 2024, 21:57 • Trand 14 Dec 2024, 20:23