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()
1 out of 2
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14 -
Home Assistant/MySensors quirks
Development • 17 days ago • OldSurferDude 17 days ago -
MQTT-Help me understand about the MQTT Gateway.
Development • 2 Mar 2025, 01:44 • dpcons 21 days ago