NRF24L01+ 2.4GHz Antenna Wireless Transceiver Module For Arduino

www.suren.space

I’ve been playing with NRF24L01 module for few weeks now and tested almost all of its features present the data sheet. No other module can come close to this one from my experience. This module is available for around 250 comes along with a 2dbi antenna. Even though, the 433Mhz module is available for the same price, This one proves it worth every penny.

I added the 5dBI rubber duck antenna for around 150 to both transmitter and receiver and it made a huge difference in range and strength.

 

While the NRF is little cumbersome with 8 pin SPI interface and little work of adding libraries when compare dto the traditional age old 433 Mhz or other modules, It only adds worth and reliability for wireless projects of ours.

The best features I admire of NRF is

  • MESH NETWORK
  • 2.5Ghz band support. You can choose from 125 channels of such.
  • Wide range of antennas
  • ACK SUPPORT
  • Excellent reliability and datalink.

The only disappointment I had was the feature of determining the signal strength was however not available in this mode. If not for that, I would perfectly rated 10/10 among wireless modules.

While the makers say, It can go upto 2KM on open point to point, It actually yields poor results. Considering the signal traffic of existing WiFi. I’d suggest you to work on 125th channel or 2.5Ghz.

IMG_20170517_112136.jpg

 

TRANSMITTER CODE BELOW:

/*
* Arduino Wireless Communication Tutorial
* Example 1 - Transmitter Code
* 
* by surender, www.suren.space
* 
* Library: TMRh20/RF24, https://github.com/tmrh20/RF24/
*/

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(7, 8); // CNS, CE

const byte address[6] = "00001";

void setup() {
 radio.begin();
 radio.openWritingPipe(address);
 radio.setPALevel(RF24_PA_MIN);
 radio.stopListening();
}

void loop() {
 const char text[] = "Hello World";
 radio.write(&text, sizeof(text));
 delay(1000);
}

CONNECTIONS :

  • 3.3V – VCC
  • GND-GND
  • 8-CSN
  • 7-CS
  • 13-SCK
  • 11-MOSI
  • 12-MISO

RECEIVER CODE BELOW :

/*
* Arduino Wireless Communication Tutorial
* Example 1 - Receiver Code
* 
* by surender, www.suren.space
* 
* Library: TMRh20/RF24, https://github.com/tmrh20/RF24/
*/

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>

RF24 radio(7, 8); // CNS, CE

const byte address[6] = "00001";

void setup() {
 Serial.begin(9600);
 radio.begin();
 radio.openReadingPipe(0, address);
 radio.setPALevel(RF24_PA_MIN);
 radio.startListening();
}

void loop() {
 if (radio.available()) {
 char text[32] = "";
 radio.read(&text, sizeof(text));
 Serial.println(text);
 }
}

It’s an excellent addition to any home automation or industrial automation projects and products. Their integrity on such environments indeed proven.

OH BOY! IT’S SO GOOD AND FLAWLESS !!