I would like to connect the NRF24L01+ transceiver module to a Raspberry Pi 2 Model B V1.1 and create a network connection between other NRF24L01+ modules.

There are many how-to's on the internet explaining how to connect the NRF24L01+ to an Arduino, but only a few of them explain connecting the NRF24L01+ to a Raspberry Pi. Unfortunately, I could only find how-to's dedicated to older Raspberry Pi versions than the Raspberry Pi 2 Model B V1.1. Those lead to code compilation errors and problems with the different processors (ARMv6 and ARMv7).

Does anyone know a tutorial / how-to / step-by-step-instruction in how to connect a NRF24L01+ to a Raspberry Pi 2 Model B V1.1?

2 Answers 2



This one helped me. I had same problem, too.

  • 1
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – Ghanima
    Commented Jun 12, 2016 at 20:23

You need to use the SPI pins of your Raspberry Pi 2. You will find them here http://www.element14.com/community/docs/DOC-73950/l/raspberry-pi-2-model-b-gpio-40-pin-block-pinout

RPi --> nRF24L01+

17 --> Vcc

19 --> MOSI

21 --> MISO

23 --> SCK

25 --> GND

22 --> CE

24 or 26 --> CSN

  • Hi evgi9! Thank your for your help and the advice on the GPIO settings, but it still does not solve the compilation errors for using Raspberry Pi 2 Model B V1.1.
    – Socrates
    Commented Dec 2, 2015 at 15:40
  • Your initial question was mainly about the hardware configuration. What kind of compilation errors do you have?
    – evgi9
    Commented Dec 3, 2015 at 15:04
  • "Those lead to code compilation errors and problems with the different processors..."; usually the hardware 'connection' is not the issue.
    – fcm
    Commented Jun 5, 2016 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.