Sale! NRF View larger

NRF24L01 2.4GHz Wireless Transceiver Module In Pakistan

388-s71

New product

NRF24L01 2.4GHz Wireless Transceiver Module  In Pakistan

Price for 1 piece

INSTRUCTABLE TUTORIAL

WIKISPACE TUTORIAL

Having two or more Arduinos be able to communicate with each other wirelessly over a distance opens lots of possibilities:

  • Remote sensors for temperature, pressure, alarms, much more

  • Robot control and monitoring from 50 feet to 2000 feet distances

  • Remote control and monitoring of nearby or neighborhood buildings

  • Autonomous vehicles of all kinds


These are a series of low-cost 2.4 GHz Radio modules that are all based on the Nordic Semiconductor nRF24L01+ chip.

More details

This product is no longer in stock

₨ 150

-₨ 50

₨ 200

Add to wishlist

More info

TEST CODE FOR SENDER

/*
*
* by irfan Ahmad
* 14-12-17 05Am
*
*
*
*
*
*/
#include <SPI.h>
#include "RF24.h"

RF24 myRadio (7, 8);
byte addresses[][6] = {"0"};

struct package
{
int id=1;
float temperature = 18.3;
char text[100] = "WWW.HALLROAD.ORG";
};


typedef struct package Package;
Package data;


void setup()
{
Serial.begin(9600);
delay(1000);
myRadio.begin();
myRadio.setChannel(115);
myRadio.setPALevel(RF24_PA_MAX);
myRadio.setDataRate( RF24_250KBPS ) ;
myRadio.openWritingPipe( addresses[0]);
delay(1000);
}

void loop()
{
myRadio.write(&data, sizeof(data));

Serial.print("nPackage:");
Serial.print(data.id);
Serial.print("n");
Serial.println(data.temperature);
Serial.println(data.text);
data.id = data.id + 1;
data.temperature = data.temperature+0.1;
delay(1000);

}

TEST CODE FOR RECEIVER 

9
/*
*
* by irfan Ahmad
* 14-12-17 05Am
*
*
*
*
*
*/
#include <SPI.h>
#include "RF24.h"

RF24 myRadio (7, 8);
struct package
{
int id=1;
float temperature = 0.0;
char text[100] ="empty";
};

byte addresses[][6] = {"0"};



typedef struct package Package;
Package data;

void setup()
{
Serial.begin(9600);
delay(1000);

myRadio.begin();
myRadio.setChannel(115);
myRadio.setPALevel(RF24_PA_MAX);
myRadio.setDataRate( RF24_250KBPS ) ;
myRadio.openReadingPipe(1, addresses[0]);
myRadio.startListening();

}


void loop()
{

if ( myRadio.available())
{
while (myRadio.available())
{
myRadio.read( &data, sizeof(data) );
}
Serial.print("nPackage:");
Serial.print(data.id);
Serial.print("n");
Serial.println(data.temperature);
Serial.println(data.text);
}
//else Serial.println("NOT AVAILABLE");

}

Connections

Material Require2RoboR-Nrf-1-1024.jpg

Reviews

No customer reviews for the moment.

Write a review

NRF24L01 2.4GHz Wireless Transceiver Module  In Pakistan

NRF24L01 2.4GHz Wireless Transceiver Module In Pakistan

NRF24L01 2.4GHz Wireless Transceiver Module  In Pakistan

Price for 1 piece

INSTRUCTABLE TUTORIAL

WIKISPACE TUTORIAL

Having two or more Arduinos be able to communicate with each other wirelessly over a distance opens lots of possibilities:

  • Remote sensors for temperature, pressure, alarms, much more

  • Robot control and monitoring from 50 feet to 2000 feet distances

  • Remote control and monitoring of nearby or neighborhood buildings

  • Autonomous vehicles of all kinds


These are a series of low-cost 2.4 GHz Radio modules that are all based on the Nordic Semiconductor nRF24L01+ chip.

Download