Using the NRF24L01+
with the Arduino

I welcome your questions and comments. Email me at y2kLeader@gmail.com.

Alert - There is a misprint on line 23 of the sketch on p. 61 (NRF24L01 Basic Receive).
radio.openReadingPipe(0x0000000001);
should read:
radio.openReadingPipe(1,0x0000000001);

Thanks to Jose Luis Sinovas Uribe for discovering the error.

Line 30 of the sketch on page 61 should read:
for (int i=0;i<32;i++){

Downloads
Arduino IDE Software
NRF24L01 Library
printf.h (right-click on this file and save it to your sketch directory)
Menu
NRF24L01 Basic Transmit from p.56
NRF24L01 Basic Receive from p.61
Basic Transmit with Dynamic Payloads(Send) from p.67
Basic Transmit with Dynamic Payloads(Receive) from p.68
Receiving Data from Multiple Modules (Transmitting Sketch) from p.73
Receiving Data from Multiple Modules (Receiving Sketch) from p.74
Bidirectional Transmissions and Acknowledgments (Transmitting Sketch) from p.81
Bidirectional Transmissions and Acknowledgments (Receiving Sketch) from p.85
Printing details with printf from p.89
Printing details without printf from p.90
Frequency Sniffer (Send) from p.93
Frequency Sniffer (Receive) from p.94
Read and Write Registers from p.98
Read the Status Register from p.106
Standard Acknowledgement Packets (Transmit) from p.112
Standard Acknowledgement Packets (Receive) from p.115
IRQ Wakeup Call (Transmit) from p.121
IRQ Wakeup Call (Receive) from p.124


NRF24L01 Basic Transmit from p.56

  Select All

NRF24L01 Basic Receive from p.61

  Select All

Basic Transmit with Dynamic Payloads(Send) from p.67

  Select All

Basic Transmit with Dynamic Payloads(Receive) from p.68

  Select All

Receiving Data from Multiple Modules (Transmitting Sketch) from p.73

  Select All

Receiving Data from Multiple Modules (Receiving Sketch) from p.74

  Select All

Bidirectional Transmissions and Acknowledgments (Transmitting Sketch) from p.81

  Select All

Bidirectional Transmissions and Acknowledgments (Receiving Sketch) from p.85

  Select All

Printing details with printf from p.89

  Select All

Printing details without printf from p.90

  Select All

Frequency Sniffer (Send) from p.93

  Select All

Frequency Sniffer (Receive) from p.94

  Select All

Read and Write Registers from p.98

  Select All

Read the Status Register from p.106

  Select All

Standard Acknowledgement Packets (Transmit) from p.112

  Select All

Standard Acknowledgement Packets (Receive) from p.115

  Select All

IRQ Wakeup Call (Transmit) from p.121

  Select All

IRQ Wakeup Call (Receive) from p.124

  Select All