Raspberry Pi Tutorial 34 - Wireless Pi to Arduino Communication with NRF24L01+ Part 1

Alexander Baran-Harper · 101K views · 2015 · 21:15

Open on YouTube

Embedded systems & DIY electronicsElectronics & circuit designtutorialdated

Why Raspberry Pi Stack Exchange recommends it

Raspberry Pi Stack Exchange users link it as the tutorial they followed when wiring and coding NRF24L01 radios between a Pi and an Arduino, usually in questions about getting that setup to work.

Recommended by 0 people across 0 different months, 2018 to 2026.

What it is

A hobbyist tutorial (part 1 of 2) showing how to send bytes between a Raspberry Pi and an Arduino using inexpensive NRF24L01+ radio transceivers, wired with a few jumper wires. Presented by Alexander Baran-Harper as part of his Raspberry Pi tutorial series, it claims a range of around 30 metres.

What people said

Cites Santiago Mj · 2018-04 · Raspberry Pi Stack Exchange · on “NRF24L01 Arduino and raspberry”

I've been trying for long time communicate arduino and raspberry pi using NRF24L01 module, for now it has been impossible. I followed the next tutorial: Tutorial NRF24L01 [this video] connections Arduino: CE - 9, CNS - 10........ Raspberry pi 3 model B V1.2: CE - 17, CSN - SPIO CS0 "pin 24" OUTPUTS: Arduino: [LINK] Raspberry: [LINK] Pipes setups : Arduino : radio.openWritingPipe(0xF0F0F0F0E1LL); Raspberry: pipes = [[0xE8, 0xE8, 0xF0, 0xF0, 0xE1], [0xF0, 0xF0, 0xF0, 0xF0, 0xE1]] radio.openReadingPipe(1, pipes 1 [this video] ) Thanks for any help!

Cites sideways8 · 2020-04 · Raspberry Pi Stack Exchange · on “lib_nrf24 throws OSError (Errno 9) Bad file descriptor on radio.available(0)”

I am using BLavery's lib_nrf24 library [LINK] with an nRF24L01 module on my pi running Octopi (it's pretty much rasbpian for the purposes here, AFAIK - here is the result of the os-release command). PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL=" [LINK] " SUPPORT_URL=" [LINK] " BUG_REPORT_URL=" [LINK] " I am able to setup the radio according to this tutorial [this video] , but the code that waits for the radio to receive data; while not radio.available(0): time.sleep(1/100) throws an OSError (errno 9) Bad file descriptor. Here is the full error traceback: Traceback (most rece

Cites PiMikeTSQL · 2020-04 · Raspberry Pi Stack Exchange · on “Raspberry Pi 4 Spidev Problems with NRF24L01 (AttributeError: module 'spidev' has no attribute 'spiDev')”

I am new to the Raspberry Pi platform and I have been trying to get my Pi to communicate with an NRF24L01 module. I have been at this for a few days and just cannot get it to work. Here is my info and what I have tried so far: @raspberrypi:~ $ ./versioncheck.sh - Original Installation Raspberry Pi reference 2020-02-13 - Current OS Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster - Kernel 4.19.97-v7l+ - Model Raspberry Pi 4 Model B Rev 1.1 - Firmware Feb 12 2020 12:36:21 Copyright (c) 2012 Broadcom version c3c8dbdf147686fb0c3f32aece709d0653368810 (clean) (release) (start) Filesystem created: Sun Mar 15 20:45:11 2020 I have followed a bunch of t

Cites Elmar · 2026-03 · Raspberry Pi Stack Exchange · on “Why nRF24L01 PA is not working on Raspberry Pi 4b?”

I have two RPi 4b boards and two nRF24L01 PA modules. The goal is to use both RPi 4b boards and transceivers (both send and receive data). Note 1: I am using 64-bit OS on RPi 4b. For more details, please scroll to the end of the post. Note 2: "lib_nrf24" library is not supported anymore. Therefore, if you want to replicate the following code, you have to go to github , download the "lib_nrf24.py" file and manually upload to the RPI 4b. [LINK] But my messages are not getting through. This is what I am getting: /home/hexapod/Desktop/Hexapod_venv/lib_nrf24.py:377: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings. self.GPIO.setup(