Skip to main content

nrf24

High-speed 2.4GHz radio communication using NRF24L01+ modules for sensor networks and data links.

Overview

The nrf24 node provides high-speed 2.4GHz radio communication using NRF24L01+ modules. Supporting data rates up to 2Mbps with 6 simultaneous data pipes, it is ideal for sensor networks, remote control systems, and custom wireless data links.

2.4GHz
ISM Band
2Mbps
Max Speed
1km
PA+LNA Range
6
Pipes

Properties

Property Type Required Default Description
cePin number Yes - Chip Enable GPIO pin number
csnPin number Yes - Chip Select Not GPIO pin number
channel number No 76 RF channel (0-125), each channel = 1MHz
dataRate string No "1mbps" "250kbps" | "1mbps" | "2mbps"
address string Yes - Pipe address as 5-byte hex string
payloadSize number No 32 Fixed payload size in bytes (1-32)
autoAck boolean No true Enable auto-acknowledgment for reliable delivery

Inputs

Send Data
{
  "payload": {
    "data": [0x48, 0x65, 0x6C, 0x6C, 0x6F],
    "pipe": 1,
    "address": "0xE7E7E7E7E7"
  }
}
Configure Module
{
  "payload": {
    "command": "configure",
    "channel": 100,
    "dataRate": "250kbps",
    "txPower": "MAX"
  }
}

Outputs

Received Data
{
  "payload": {
    "pipe": 1,
    "data": [0x48, 0x65, 0x6C, 0x6C, 0x6F],
    "length": 5,
    "rssi": "strong"
  }
}
TX Status
{
  "payload": {
    "status": "sent",
    "ack": true,
    "retries": 1,
    "pipe": 1
  }
}

Use Case Examples

Sensor Mesh

Build a network of up to 6 sensor nodes reporting to a central hub using the multi-pipe architecture.

Remote Control

Create custom wireless remote controls for robots, drones, and RC vehicles with low-latency 2Mbps links.

Data Links

Establish point-to-point wireless data links between boards for telemetry, logging, and command channels.

Gaming Peripherals

Build wireless controllers and input devices with ultra-low latency using 2Mbps data rate.

Tips & Best Practices

Use PA+LNA modules (NRF24L01+PA+LNA) for extended range up to 1km. Standard modules reach about 100m.

Keep RF channel above 76 to avoid Wi-Fi interference. Wi-Fi channels 1-11 overlap with NRF24 channels 0-75.

Add a 10uF capacitor across VCC and GND of the module to stabilize power. Many reliability issues come from power instability.

Use 250kbps data rate for maximum range and sensitivity. The lower rate provides about 10dB better reception.

Related Nodes