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

NRF24LE1 Communication

Hi all! I am approaching this with pretty much zero experience but what I'm trying to build should be a piece of cake for you so any help, example code, advice will be appreciated.

The idea is to build a simple notification system. The RX is connected to a 3V coin cell through an on/off switch and couple LED's. If switched on, LED blinks once and the RX enters deep sleep mode and wakes up when a signal from a TX is received. When RX wakes up, LED's blink until RX is switched off. If switched off/on, RX resets, enters deep sleep and waits for a signal.

The TX is connected to a 3V power source. As soon as TX switches on, it sends a signal to RX and RX wakes up. The TX repeatedly sends signal to RX for 2 minutes and enters deep sleep if not switched off.

I'm using 2 x NRF24LE1, Q32, Keil software, mpro burner. I have programmed a device to blink a LED (Hello World) and 2 devices to communicate with "enhanced_shockburst" example, but that is as far is I've got. Trying to add deep sleep and wake up on pins resulted in nearly burning the chips.

Maybe someone has done/made something similar and can help even a bit?

Send help to NRF24LE1 street. Thank you in advance!

Parents
  • Hi

    What do you mean about nearly burning the chips? That you were unable to program them again?

    I wrote a small example many years ago, showing how to implement wakeup on pin from deep sleep: Wakeup on pin.zip
    Maybe you could take a look at that and see if you handle power management in the same way?

    Also, please be aware that you can't use the radio in deep sleep mode. If you want to wake up the chip through the radio you have to simulate it by waking up periodically and turning on the RX for a short amount of time to look for packets, and then you can go to sleep in between RX periods. If you want to sleep on a timer then the lowest mode you can use is 'memory retention timers on'.

    Best regards
    Torbjørn

  • In connection with the TX module setup, the RX module would be programmed in RTC mode and ESB_prx. When going through the question section I saw a post where you uploaded an example where you modified the ESB TX example to use RTC sleep. I see the difference between the orig. ESB TX example. The problem is that I don't really understand how the WUOPC0/1 works with the RTC sleep. In the example codes for RTC I see that there is "wakeup_tick". Does that part of the code needs to be changed to WUOPC0/1 or the "wakeup_tick" remains and WUOPC0/1 is added? Thank you for you patience with me. Many thanks, M

Reply
  • In connection with the TX module setup, the RX module would be programmed in RTC mode and ESB_prx. When going through the question section I saw a post where you uploaded an example where you modified the ESB TX example to use RTC sleep. I see the difference between the orig. ESB TX example. The problem is that I don't really understand how the WUOPC0/1 works with the RTC sleep. In the example codes for RTC I see that there is "wakeup_tick". Does that part of the code needs to be changed to WUOPC0/1 or the "wakeup_tick" remains and WUOPC0/1 is added? Thank you for you patience with me. Many thanks, M

Children
No Data
Related