ESP32 Bit Pirate home

Recipe · Beginner · RF24

Wire an nRF24L01 RF24 module

RF24 mode configures the SPI bus alongside CE and CSN. Select the matching GPIO roles for your board.

nRF24L01 radio module with 2.4 GHz signal.
RF24 needs SPI plus its dedicated CE and CSN signals.

Documented wiring roles

  • CE → selected GPIO
  • CSN → selected SPI CS
  • SCK → selected SPI SCK
  • MISO → selected SPI MISO
  • MOSI → selected SPI MOSI
  • VCC → 3.3V
  • GND → GND

Configure RF24

Run config in RF24 mode instead of copying another board’s pin numbers.

Checks

  • The nRF24L01 module uses 3.3 V.
  • CE and CSN do not have the same role.
  • Use radio functions only in an authorized environment.

nRF24L01 wiring FAQ

Why does the nRF24L01 need both CE and CSN?

CSN selects the module on the SPI bus, while CE controls radio state for transmit and receive. Swapping or sharing them can make SPI look partly alive while RF24 operations still fail.

What power wiring should I use for an nRF24L01?

Use a stable 3.3 V supply, shared ground, and short leads. Many modules are sensitive to voltage dips, so local decoupling near the module helps when initialization or packet tests are intermittent.

Can I prove wiring with only a channel scan?

A scan proves the module responds well enough for a basic radio command. It does not prove that channel, address, payload width or data rate match another transmitter, so use a known second module for full validation.