The Nordic nRF24L01+ integrates a complete 2.4GHz Radio Frequency Transceiver, Radio Frequency Synthesizer, and Baseband Logic including the Enhance ShockBurst hardware protocol accelerating a high speed SPI interface for the application controller and low -power short-range transceiver and it has a built in on-board antenna other model it has SMA integrated antenna with a range up to 1100 Meter.
Features:
- 2 ore more Arduino’s be able to communicate wirelessly over a distance.
- Controlling a nearby buildings
- Controlling Autonomous vehicles of all kinds
- Excellent for a remote sensors for temperature, pressure, distance, switching, alarm and more.
- Controlling and monitoring a robot a range up to 2000 feet distance
We will going to transmits a communication between to Arduinos over NRF24L01 using Joystick
Note: Problem accure when operation because of electrical noise on 3.3v supply, specially when using Arduino Mega and Nano we need to add bypass capacitor across ground and vcc on the module. please see the schematics below.
Pin Out Connection to the Arduino by Library
Signal | RF Module | Arduino pin for / RF24 | Arduino pin for Mirf | MEGA2560 pin / RF24 | Arduino UNO Pin for RH_NRF24 RadioHead | MEGA2560 Pin for RH_NRF24 RadioHead |
GND | 1 | GND * | GND | GND * | GND * | GND * |
VCC | 2 | 3.3V * | 3.3V | 3.3V * | 3.3V * | 3.3V * |
CE | 3 | Pin 9 | Pin 8 | Pin 9 | Pin 8 | Pin 8 |
CSN | 4 | Pin 10 | Pin 7 | Pin 53 | Pin 10 | Pin 53 |
SCK | 5 | Pin 13 | Pin 13 | Pin 52 | Pin 13 | Pin 52 |
MOSI | 6 | Pin 11 | Pin 11 | Pin 51 | Pin 11 | Pin 51 |
MISO | 7 | Pin 12 | Pin 12 | Pin 50 | Pin 12 | Pin 50 |
IRQ | 8 | Pin 2 * | per library | N/C | N/C |
Get the Code Libraries from ManiacBug NRF24L01 Libraries import to your Arduino Libraries
nRF24L01 TX – Transmitter Sketch.
[crayon-67500e66af60e452264345/]
nRF24L01 RX – Receiver Sketch.
[crayon-67500e66af61a466306818/]
Note: you need to check the voltage 3.3v power supply, it will distract the operation due to power regulation issues, the average current may be less 15ma.