This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF24L01+ design running on batteries - Standby-I question

I have a design, using the NRF24L01+, that I would like to run from batteries.  The Transmitting device is not a problem, because it can turn off when not transmitting.

For the Receiving device, I would like to use the Standby-I mode, and periodically switch over to Active Receive mode to listen for messages.

Has anyone done anything like this?  I am finding that I miss most of the messages, by going into Standby.  This is what I would like to do:

1) Transmitter sends out an 11-byte packet every 5mS, for 500mS, when a button is pressed.

2) Receiver is in standby for 400mS, then switched to active receiving for 50mS, and then back to Standby.

I have tested this, and I only get maybe 1 correct reception, out of 10 button presses.

When I keep the Receiver in Active Receive, I get a correct reception upon each button press on the Transmitter.

If anyone has any advice for a low power receiving strategy, I would appreciate it.  Thanks! 

Parents
  • Hi Kent

    It is odd that you would receive so few packets with the timing parameters you mention. If you send the same packet at 5ms intervals for 500ms you should have around 10 attempts to get through, regardless of how the TX and RX have drifted timing wise. 

    Are you sending the same payload over and over again?
    This can some times lead to issues where the packet is discarded in the receiver because it is assumed to be a retransmit of an older packet. 

    If this is the case can you try to include a rolling counter in the payload and see if the performance improves?

    Best regards
    Torbjørn

Reply
  • Hi Kent

    It is odd that you would receive so few packets with the timing parameters you mention. If you send the same packet at 5ms intervals for 500ms you should have around 10 attempts to get through, regardless of how the TX and RX have drifted timing wise. 

    Are you sending the same payload over and over again?
    This can some times lead to issues where the packet is discarded in the receiver because it is assumed to be a retransmit of an older packet. 

    If this is the case can you try to include a rolling counter in the payload and see if the performance improves?

    Best regards
    Torbjørn

Children
Related