← All parts
nRF24L01+ 2.4GHz Module
Nordic SemiconductornRF24L01+
2.4GHz transceiver module built on the Nordic nRF24L01+. SPI-controlled, 3.3V supply (5V-tolerant inputs). Standard 8-pin 2x4 header.
In stock
Specifications
0No specs listed.
Pinout
8| Pin | Name | Functions | Notes |
|---|---|---|---|
| 1 | GND | GND | Ground |
| 2 | VCC | POWER | 3.3V (NOT 5V) |
| 3 | CE | GPIO | Chip enable (TX/RX) |
| 4 | CSN | SPI | SPI chip select |
| 5 | SCK | SPI | SPI clock |
| 6 | MOSI | SPI | SPI MOSI |
| 7 | MISO | SPI | SPI MISO |
| 8 | IRQ | GPIO | Interrupt (active LOW) |
Interactive pinout
Highlight:
nRF24L01+
Click a pin to copy its name · tap a tag above to spotlight a bus.
Starter code
Community starter examples — minimal, unofficial, and provided to get you wiring fast. Verify against the manufacturer datasheet before relying on them.
Arduino (C++)
Arduino library: RF24 (by TMRh20)
arduino
// nRF24L01+ 2.4 GHz radio (transmitter) — community starter example
#include <SPI.h>
#include <RF24.h>
#if defined(ESP32)
RF24 radio(4, 5); // CE=GPIO4, CSN=GPIO5
#else
RF24 radio(9, 10); // CE=D9, CSN=D10
#endif
const byte addr[6] = "node1";
void setup() {
Serial.begin(115200);
if (!radio.begin()) { Serial.println("nRF24 not responding"); while (1) delay(10); }
radio.openWritingPipe(addr);
radio.stopListening();
}
void loop() {
const char msg[] = "hello";
radio.write(&msg, sizeof(msg));
delay(1000);
}MicroPython
MicroPython library: nrf24l01 (micropython-lib)
python
# nRF24L01+ (ESP32, transmitter) — community starter example
# lib: nrf24l01.py (micropython-lib drivers)
from machine import Pin, SPI
from nrf24l01 import NRF24L01
import struct, time
csn = Pin(5, Pin.OUT, value=1) # CSN=GPIO5
ce = Pin(4, Pin.OUT, value=0) # CE=GPIO4
spi = SPI(2, sck=Pin(18), mosi=Pin(23), miso=Pin(19))
nrf = NRF24L01(spi, csn, ce, payload_size=8)
nrf.open_tx_pipe(b"node1")
while True:
nrf.send(struct.pack("i", 1))
time.sleep(1)Wiring
| Pin | Arduino Uno R3 | ESP32 DevKitC (WROOM-32) | Notes |
|---|---|---|---|
| GND | GND | GND | |
| VCC | +3V3 | 3V3 | 3.3 V ONLY - 5 V destroys it; add a 10 uF cap across VCC/GND |
| CE | D9 | GPIO4 | |
| CSN | D10 | GPIO5 | |
| SCK | D13 (SCK) | GPIO18 | |
| MOSI | D11 (MOSI) | GPIO23 | |
| MISO | D12 (MISO) | GPIO19 | |
| IRQ | - | - | Optional interrupt; not used here |
Typical uses
- Low-cost 2.4 GHz links between microcontrollers
- Sensor mesh / remote-control telemetry