Hi,
Im trying to use an NRF24L01.
I found an example for Tx a character and an example to receive a character, and this two example work perfectly.
My problem now is this: I have to connect this RF component to an arduino powered by battery. To save the battery I want disable Rx, TX or both (depending on what I need at the moment).
Someone can help me, with a little example, explaining me ho to disable/enable Rx and Tx?
There is no need to disable anything. The listening current is very low. And you can choose how often you transmit in order to minimize power consumption. You probably need to study the Nordic nRF24L01+ datasheet to get the full details.
It may be helpful to use the battery powered device to initiate the transmission because that would allow you to put it to sleep in between transmissions.
Robin2:
There is no need to disable anything. The listening current is very low. And you can choose how often you transmit in order to minimize power consumption. You probably need to study the Nordic nRF24L01+ datasheet to get the full details.
It may be helpful to use the battery powered device to initiate the transmission because that would allow you to put it to sleep in between transmissions.
Now I'm using an Arduino UNo R3 and and Arduino nano for the test, but finally I have to use an Arduino Nano powered by external power supply 5V 5A and an Arduino Mini 3.3V 8MHz powered by two AA battery (1.5V x 2 = 3V).
To reduce the power consumption I sleep Arduino activated by interrupt, and I'm thinking to slepp also nRF24L01+ setting to 1 the PWR_UP field in the register 0. Is correct?
sc73:
To reduce the power consumption I sleep Arduino activated by interrupt, and I'm thinking to slepp also nRF24L01+ setting to 1 the PWR_UP field in the register 0. Is correct?
From a quick read of the datasheet that seems to be correct, but I have never used it. My projects don't need to sleep.