Site icon 14core.com

Using Two Nordic nRF24L01 2.4 Wireless Radio with Joystick and Arduino

14Core_NRF24l01We will going to demonstrate here how to use Nordic nRF24L01 2.4 Wireless Radio using Arduino with Joystick Controller. This 2.4Ghz Radio module are base on Nordic Semiconductor nRF24L01+ Chip,

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:

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.

 

 

Using Two Nordic nRF24L01 2.4 Wireless Radio with Joystick and Arduino
Exit mobile version