Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›nRF24L01 2.4 GHz Radio

How-to · Intermediate · 3 min read

nRF24L01 2.4 GHz Radio

Wiring, Power Fix and Arduino Code

By Geekobot Learning Team · Updated 24 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerPinout and wiringThe power fix that solves most problemsSend and receive with the RF24 libraryGetting more range and reliabilitynRF24L01 or something else?Common mistakesFAQsParts and next steps
Short answer

The nRF24L01 is a cheap 2.4 GHz radio that sends small packets (up to 32 bytes) between microcontrollers with automatic acknowledgements and retries. It connects over SPI plus CE and CSN pins, runs on 3.3 V only, and works with the RF24 library. Most failures are power problems: solder a 10 µF capacitor across VCC and GND at the module. Range is tens of metres, or about 1 km with PA+LNA.

Key specs at a glance

Band
2.400 to 2.525 GHz, 126 channels
Data rate
250 kbps, 1 Mbps or 2 Mbps
Supply
1.9 to 3.6 V (3.3 V); inputs tolerate 5 V logic
Payload
Up to 32 bytes per packet; 6 receive pipes
Current
About 12 mA transmit; PA+LNA version over 100 mA
Range
Tens of metres indoors (PCB antenna); up to about 1 km line of sight (PA+LNA)
01

Pinout and wiring

nRF24L01 pinArduino UnoESP32Notes
VCC3.3V (with 10 µF capacitor)3V3Never 5 V
GNDGNDGND
CED9GPIO 4Any digital pin
CSND10GPIO 5Any digital pin
SCKD13GPIO 18Hardware SPI
MOSID11GPIO 23
MISOD12GPIO 19
IRQNot connectedNot connectedOptional interrupt
VCC
Arduino Uno:
3.3V (with 10 µF capacitor)
ESP32:
3V3
Notes:
Never 5 V
GND
Arduino Uno:
GND
ESP32:
GND
CE
Arduino Uno:
D9
ESP32:
GPIO 4
Notes:
Any digital pin
CSN
Arduino Uno:
D10
ESP32:
GPIO 5
Notes:
Any digital pin
SCK
Arduino Uno:
D13
ESP32:
GPIO 18
Notes:
Hardware SPI
MOSI
Arduino Uno:
D11
ESP32:
GPIO 23
MISO
Arduino Uno:
D12
ESP32:
GPIO 19
IRQ
Arduino Uno:
Not connected
ESP32:
Not connected
Notes:
Optional interrupt
02

The power fix that solves most problems

The radio draws short bursts of current when it transmits. The Uno's 3.3 V pin (and long jumper wires) cannot supply them cleanly, so packets fail or the module is not detected. Fixes, in order:

  1. 1
    Solder a 10 to 100 µF electrolytic capacitor directly across VCC and GND on the module (observe polarity).
  2. 2
    Use an nRF24L01 socket adapter that takes 5 V and has its own AMS1117 3.3 V regulator.
  3. 3
    For PA+LNA modules, use a separate 3.3 V regulator able to supply 250 mA or more, and keep the antenna away from metal.
  4. 4
    Start with radio.setPALevel(RF24_PA_LOW) on the bench; full power at close range can overload the receiver.
03

Send and receive with the RF24 library

Install RF24 by TMRh20 from the Library Manager. Upload the transmitter to one board and the receiver to another.

nRF24L01 transmitter and receiver · Arduino C++Verify & upload in Electrolark
#include <SPI.h>
#include <RF24.h>

RF24 radio(9, 10);                 // CE, CSN
const byte address[6] = "OL001";
const bool TRANSMITTER = true;     // false on the receiving board

void setup() {
  Serial.begin(115200);
  if (!radio.begin()) { Serial.println("Radio not found"); while (true) {} }
  radio.setPALevel(RF24_PA_LOW);
  radio.setDataRate(RF24_250KBPS); // longer range, better reliability
  radio.setChannel(108);           // above most Wi-Fi channels
  if (TRANSMITTER) {
    radio.openWritingPipe(address);
    radio.stopListening();
  } else {
    radio.openReadingPipe(1, address);
    radio.startListening();
  }
}

void loop() {
  if (TRANSMITTER) {
    int value = analogRead(A0);
    bool ok = radio.write(&value, sizeof(value));
    Serial.println(ok ? "Sent" : "Failed");
    delay(500);
  } else if (radio.available()) {
    int value;
    radio.read(&value, sizeof(value));
    Serial.println(value);
  }
}
04

Getting more range and reliability

  • ✓Use 250 kbps: lower data rates give better sensitivity.
  • ✓Pick a channel above 100 (2.500 GHz and up) to avoid busy Wi-Fi channels.
  • ✓Raise the PA level only after the link works.
  • ✓Use the PA+LNA version with an external antenna for long links, and power it properly.
  • ✓Use auto-ack (on by default): write() returns false if the receiver did not acknowledge, so you know when to retry.
  • ✓For many nodes, the RF24Network and RF24Mesh libraries build tree or mesh networks.
05

nRF24L01 or something else?

The nRF24L01 is great for remote controls, robot links and sensor nodes within one building. For several kilometres with tiny data, use LoRa. For phone connections, use Bluetooth (HC-05 or ESP32 BLE). Between ESP32 boards, ESP-NOW does the same job with no extra module. See choosing a wireless module.

06

Common mistakes to avoid

  • !Powering the module from 5 V.
  • !Skipping the capacitor and getting random failures.
  • !Using different data rates, channels or addresses on the two boards.
  • !Testing at full power with the boards 10 cm apart.
  • !Forgetting to call stopListening() before writing.
07

Frequently asked questions

Why is my nRF24L01 not working?

Usually power: add a 10 µF capacitor across VCC and GND at the module or use a regulated adapter. Then check wiring, matching addresses, channel and data rate.

Can I connect the nRF24L01 to 5 V?

Not the VCC pin; it is 3.3 V only. Its signal pins tolerate 5 V logic, so it works with a 5 V Arduino's SPI pins.

What is the range of the nRF24L01?

Tens of metres with the PCB antenna. The PA+LNA version with an external antenna can reach several hundred metres to about a kilometre in clear line of sight.

How much data can the nRF24L01 send?

Up to 32 bytes per packet, at up to 2 Mbps. Larger data must be split into packets.

Does nRF24L01 interfere with Wi-Fi?

Both use 2.4 GHz. Choose channels above 100 to stay clear of most Wi-Fi channels.

Parts for this guide

  • Electrolytic Capacitor
    ₹16View
  • AMS1117 LDO Regulator
    ₹20View
  • Dupont Jumper Wires (40 pcs)
    ₹49View
Shop LoRa & RF TransceiversShop Wi-Fi & Bluetooth Modules

Terms in this guide

SPISerial Peripheral Interface: a fast bus with clock, data in, data out and a chip-select line per device.Decoupling capacitorA small capacitor, usually 100 nF, placed next to an IC's power pins to supply short current bursts and block noise.Logic levelThe voltage that represents a digital high: 5 V on classic Arduinos, 3.3 V on ESP32, Pico and Raspberry Pi.LDOLow-dropout regulator: a linear regulator that works with a small difference between input and output.ESREquivalent series resistance: the small internal resistance of a capacitor that causes heating and ripple.

Projects that use it

Put this into practice: 3 step-by-step builds in our project library use parts from this guide.

Intermediate · 2–3 hoursWireless doorbell with nRF24L01View projectAdvanced · 4–5 hoursRadio-controlled car with nRF24 and a joystick shieldView projectAdvanced · 4–5 hoursTilt-glove remote for the nRF24 RC carView project
Browse all 3 projects

Keep learning

Concept explainerIntermediateSPI ExplainedSPI (Serial Peripheral Interface) is a fast four-wire bus: SCK carries the clock, MOSI carries data from the controller, MISO carries data back, and a separate chip-select (CS) line per device chooses who is listening.3 min read · Electronics FundamentalsComparisonBeginnerWi-Fi vs Bluetooth vs LoRa vs ZigbeeCompare Wi-Fi, BLE, Bluetooth Classic, ESP-NOW, nRF24L01, 433 MHz, LoRa, Zigbee and 4G for projects by range, data rate, power and typical hardware.4 min read · IoT & WirelessComponent guideIntermediateLoRa ModulesLoRa modules send small messages over several kilometres on very little power, using Semtech's spread-spectrum radio chips.3 min read · IoT & WirelessHow-toBeginner433 MHz RF Transmitter and Receiver ModulesThe 433 MHz transmitter and receiver pair (FS1000A and XY-MK-5V) is the cheapest way to send simple data one way between two boards.3 min read · IoT & Wireless

Sources

  • Nordic Semiconductor nRF24L01+ product specification
  • RF24 library documentation (TMRh20)

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerPinout and wiringThe power fix that solves most problemsSend and receive with the RF24 libraryGetting more range and reliabilitynRF24L01 or something else?Common mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹85

Electrolytic Capacitor · AMS1117 LDO Regulator · Dupont Jumper Wires (40 pcs)

Run itChange the inputs and watch the output
Serial monitor115200 baud
Sent

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question