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

  • Hello! :) So I've been experimenting with the Nordic's given example codes and codes I could find on the internet. From 0 knowledge in this I have went to at least some knowledge in all this. I have been trying to merge the ESB(PRX) example code and the "Register retention, timers on" and WUOP funstion examples, but it does not seem to working. When I switch on the PRX, LED's just light up and there is no reaction when I put pins to GND on PRX and PTX modules. The setup is PRX connected to 3.3V, GND and P04, P05 to LED's. On the PTX side, 3.3V, GND and P04, P05 to buttons. I will attach the code I've been trying to get working. I would greatly appreciate if you could take a look and see what might be the problem. Thank you for any tips and suggestions!

Reply
  • Hello! :) So I've been experimenting with the Nordic's given example codes and codes I could find on the internet. From 0 knowledge in this I have went to at least some knowledge in all this. I have been trying to merge the ESB(PRX) example code and the "Register retention, timers on" and WUOP funstion examples, but it does not seem to working. When I switch on the PRX, LED's just light up and there is no reaction when I put pins to GND on PRX and PTX modules. The setup is PRX connected to 3.3V, GND and P04, P05 to LED's. On the PTX side, 3.3V, GND and P04, P05 to buttons. I will attach the code I've been trying to get working. I would greatly appreciate if you could take a look and see what might be the problem. Thank you for any tips and suggestions!

Children
No Data
Related