Connecting The RF24 Modules

"A highly integrated, ultra low power 2Mbps RF transceiver for the 2.4GHz band"

On this page

The nRF24L01+ Pins

The nRF24L01+ has 8 pins, and we'll use 7 of them (we don't need IRQ). You can find the right orientation by looking for the ground pin which is marked in its own little square.

RF24 Pin Layout

Connect to Arduino

Male to Female Dupont Wire
With Male-to-Female Dupont wires, you'll connect 7 wires using the mapping in the table below. The Arduino has multiple GND pins - it doesn't matter which you use.

nRF24L01+ Arduino (Uno, Nano)
GND GND
VCC 3.3V
CE D7
CSN D8
SCK D13
MOSI D11
MISO D12
IRQ -

Connect to Raspberry Pi

Female to Female Dupont Wire
With Female-to-Female Dupont wires, you'll connect 7 wires using the mapping in the table below. Your Pi might come with a pin layout sheet. If not, here's a very good one that works for both the B and B+ and includes a PDF you can print for easy reference.

nRF24L01+ Raspberry Pi (B/B+)
GND GND
VCC 3.3V (17)
CE GPIO22 (15)
CSN GPIO8 (24)
SCK SCKL (23)
MOSI MOSI (19)
MISO MISO (21)
IRQ -

The Result

When you're done, your setup will look similar to this:

Setup with Pi and Uno
I think one of the wires is in the wrong Arduino pin in this picture...

Next

Now we need to install some libraries for the Pi and Arduino so they understand what to do with these modules.

The RF24 Libraries