Tags: Nordic, NRF24L01, 2.4Ghz, Wireless, Network, Module, Arduino

NRF24L01 2.4Ghz Wireless Network Module

  • 5.00 AED

    9.00 AED

    • Ex Tax:5.00 AED
    • Brands techmaze
    • Product Code: Digital
    • Availability: In Stock
    Let’s take a closer look at the NRF24L01 transceiver module. It uses the 2.4 GHz band and it can operate with baud rates from 250 kbps up to 2 Mbps. If used in open space and with lower baud rate its range can reach up to 100 meters.The module can use 125 different channels which gives a possibility..

    Let’s take a closer look at the NRF24L01 transceiver module. It uses the 2.4 GHz band and it can operate with baud rates from 250 kbps up to 2 Mbps. If used in open space and with lower baud rate its range can reach up to 100 meters.

    NRF24L01 Transceiver Module

    The module can use 125 different channels which gives a possibility to have a network of 125 independently working modems in one place. Each channel can have up to 6 addresses, or each unit can communicate with up to 6 other units at the same time.

    NRF24L01 Working Principles of Channels and Addresses

    The power consumption of this module is just around 12mA during transmission, which is even lower than a single LED. The operating voltage of the module is from 1.9 to 3.6V, but the good thing is that the other pins tolerate 5V logic, so we can easily connect it to an Arduino without using any logic level converters.

    NRF24L01 Transceiver Module Pinouts Connections

    Three of these pins are for the SPI communication and they need to be connected to the SPI pins of the Arduino, but note that each Arduino board have different SPI pins. The pins CSN and CE can be connected to any digital pin of the Arduino board and they are used for setting the module in standby or active mode, as well as for switching between transmit or command mode. The last pin is an interrupt pin which doesn’t have to be used.


    So once we connect the NRF24L01 modules to the Arduino boards we are ready to make the codes for both the transmitter and the receiver.

    NRF24L01 and Arduino Tutorial Circuit Schematic

    Arduino Codes


    First we need to download and install the RF24 library which makes the programming less difficult.

    Here are the two codes for the wireless communication and below is the description of them.

    Transmitter Code

    /********************************************/

    #include <SPI.h>

    #include <nRF24L01.h>

    #include <RF24.h>

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

    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);

    }

    /********************************************/

    Receiver Code

    /********************************************/

    #include <SPI.h>

    #include <nRF24L01.h>

    #include <RF24.h>

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

    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);

      }

    }

    /********************************************/
    Tags: rf; communication; module; wireless; IoT; shield Tags: rf; communication; module; wireless; IoT

    There are no reviews for this product.

    Write a review

    Please login or register to review