Wireless Auditing & RF Projects · Intermediate · Owned-device link test
nRF24 Packet Link Tester
Measure acknowledged packet delivery between two ESP32 boards and nRF24L01+ modules you own.
Firmware status: original educational sketch — bench verification required.
Hardware scope
Two standard nRF24L01+ modules, each paired with its own ESP32-WROOM-32 board; fixed low-power packet link and USB serial reporting.
Components
- 2 × ESP32-WROOM-32 development boards
- 2 × standard nRF24L01+ modules without PA/LNA
- 2 × 100 µF electrolytic capacitors rated at least 6.3 V, one per radio
- 2 × 0.1 µF ceramic bypass capacitors, one per radio
- Jumper wires and 2 USB data cables
- Two computers or two serial-monitor windows for comparing logs
Tools
- Arduino IDE
- RF24 library by TMRh20 installed through Library Manager
- 2 USB data cables
- Multimeter
- Small breadboards
Build sequence
- Wire each ESP32 to its own nRF24L01+ using the supplied diagram. Use 3.3 V only at the radio VCC pin; place both capacitors directly across each radio's 3.3 V and GND rails with electrolytic polarity checked.
- Install the RF24 library by TMRh20. Open W11_nrf24_packet_link_tester.ino and set LINK_NODE to 0 for the sender board; compile and upload it.
- Change LINK_NODE to 1, then compile and upload the same sketch to the receiver board. Do not power the radio from the ESP32 5 V pin.
- Place the boards on a nonconductive bench about one metre apart. Open both Serial Monitors at 115200 baud and keep the default fixed channel and minimum transmit-power setting.
- Compare sender acknowledgement results with receiver sequence numbers for at least 60 seconds. Change only one link condition at a time and record what changed.
Test and expected result
The sender reports whether each packet received the radio's automatic acknowledgement. The receiver prints each valid sequence number and counts gaps. A nearby, clear bench link should usually show increasing sequence numbers and mostly successful acknowledgements; actual range and packet loss depend on modules, supply decoupling, antenna, and local RF conditions.
Acceptance checks
both radios initialize, sender receives auto-acknowledgements, receiver logs valid packet sequence numbers, no unexplained power/reset events during a 60-second bench run
Safety and limits
For a controlled test between your own paired nodes only. The sketch uses a fixed channel, minimum nRF24 transmit-power setting, and one short packet per second; it contains no carrier mode, noise generation, channel sweep, or interference feature. Check local radio rules and board pin limits. Never connect nRF24 VCC to 5 V. This educational sketch and diagram are not hardware-certified; inspect wiring and module supply requirements before power-up.
Guide source: Original CodeProven teaching sketch; depends on the separately installed RF24 library by TMRh20.
Download connection diagram SVG
Related projects
- RF Field Notebook — Permission-scoped RF observation and signal logging for known test transmitters.
- BLE Device Health Monitor — Monitor connection quality and battery telemetry from owned BLE devices.
- Wi-Fi Coverage Mapper — Map coverage for a network you own using passive, permission-scoped measurements.
