Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » NRF24L01 & Arduino Wireless Temperature Monitor with DHT11
Arduino Projects

NRF24L01 & Arduino Wireless Temperature Monitor with DHT11

Mamtaz AlamBy Mamtaz AlamUpdated:August 22, 202214 Comments3 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

NRF24L01 & Arduino Wireless Temperature Monitor with DHT11

In this tutorial, we will learn how to make wireless communication between two Arduino boards using the NRF24L01 transceiver module, i.e. nRF24L01 based Wireless Temperature Monitoring with DHT11 Arduino.

For this, we will be interfacing DHT11 Humidity & Temperature Sensor with Arduino Board on transmitter end along with the NRF24L01 transceiver module. And on the receiver end, we will be interfacing the Arduino board with LCD Display along with the NRF24L01 transceiver module to display temperature and Humidity data wirelessly.

Check the advance version of this project: ESP8266 NRF24L01 Wifi Gateway with Arduino NRF24L01 Node


Bill of Materials

S.N.Components QuantityPurchase Links
1Arduino UNO Board2Amazon | AliExpress
3NRF24L01 Module2Amazon | AliExpress
4DHT11 Sensor1Amazon | AliExpress
516x2 LCD Display1Amazon | AliExpress
6Potentiometer 10K1Amazon | AliExpress
7Connecting Wires20Amazon | AliExpress
8Breadboard1Amazon | AliExpress



nRF24L01 – 2.4GHz RF Transceiver Module:

Description:

nrf24l01 module

These RF modules are very popular among the Arduino tinkerers. The nRF24L01 is used on a wide variety of applications that require wireless control. They are transceivers which means that each module can transmit and receive data. These modules are very cheap and you can use them with any microcontroller (MCU).

Specifications:

  1. Low-cost single-chip 2.4GHz GFSK RF transceiver IC
  2. Range with Antenna: 250Kb rate (Open area) >1000 meter
  3. Power: Ultra-low power consumption
  4. Input Voltage: 3.3V
  5. Pins: 5V tolerant
  6. Price: $2

Pinouts:

NRF24L01 Pinouts

Working of nRF24L01:

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.

Working of NRF24L01

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.


Circuit Diagram & Connections:

Here we need two circuit assembly to make wireless communication between two NRF24L01 transceiver module. The first circuit diagram shown below is a Transmitter End Section. Assemble the circuit as shown in the figure below. It consists of Arduino Uno, nRF24 & DHT11 Humidity & Temperature Sensor.

NRF24L01 DHT11 Arduino Transmitter
Circuit Diagram for Transmitter End

The second circuit diagram shown below is a Receiver End Section. Assemble the circuit as shown in the figure below. It consists of Arduino Uno Board, nRF24L01, and 16×2 LCD Display.

NRF24L01 DHT11 Arduino Receiver
Circuit Diagram for Receiver End

Here is a The NRF24L01 pins Connection with Arduino for both circuits:
MISO connects to pin 12 of the Arduino UNO
MOSI connects to pin 11 of the Arduino UNO
SCK connects to pin 13 of the Arduino UNO
CE connects to pin 8 of the Arduino UNO
CSN connects to pin 9 of the Arduino UNO
GND and VCC of the NRF24L01 are connected to GND and 3.3V of the Arduino UNO




Source Code/Programs:

First, download this library and add to Arduino IDE:
1. NRF24L01 Library
2. RF24 Library
3. DHT11 Library

Code for Transmitter Section:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <DHT11.h>
 
int pin = A0;
DHT11 dht11(pin);
float temperature[2];
 
double Fahrenheit(double celsius) {
return ((double)(9 / 5) * celsius) + 32;
}
 
double Kelvin(double celsius) {
return celsius + 273.15;
}
 
RF24 radio(8, 9);
const uint64_t pipe = 0xE8E8F0F0E1LL;
 
void setup(void) {
radio.begin();
radio.openWritingPipe(pipe);
}
 
void loop(void)
{
float temp, humi;
dht11.read(humi, temp);
temperature[0] = temp;
temperature[1] = humi;
radio.write(temperature, sizeof(temperature));
delay(1000);
}


Code for Receiver Section:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include <DHT11.h>
#include <LiquidCrystal.h>
 
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
 
 
float temperature[2];
 
RF24 radio(8, 9);
const uint64_t pipe = 0xE8E8F0F0E1LL;
 
void setup(void)
{
  Serial.begin(9600);
  lcd.begin(16, 2);
 
  radio.begin();
  radio.openReadingPipe(1, pipe);
  radio.startListening();
 
 
  lcd.print("Humidity & temp");
  delay(2000);
  lcd.clear();
  lcd.print("Starting.....");
  delay(2000);
}
 
void loop(void)
{
  if ( radio.available() )
{
  bool done = false;
  while (!done)
{
  done = radio.read(temperature, sizeof(temperature));
  lcd.clear();
  delay(500);
 
  lcd.setCursor(0, 0);
  lcd.print("Temp");
  lcd.setCursor(0, 1);
  lcd.print("Humidity");
  lcd.setCursor(9, 0);
  lcd.print(temperature[0]);
  lcd.print(" C");
  lcd.setCursor(9, 1);
  lcd.print(temperature[1]);
  lcd.print(" %");
  delay(1000);
}
}
  else
{
  lcd.setCursor(0, 0);
  lcd.print("No radio Found");
}
}


Video Tutorial: NRF24L01 with DHT11 & Arduino

NRF24L01 Wireless Transceiver Tutorial | How to Use NRF24L01 with Arduino
Watch this video on YouTube.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleStopwatch Using 4 Digit 7 Segment Display & Arduino
Next Article Gesture Recognition and Its Application in Machine Learning

Related Posts

DC Energy Meter using Arduino

Build a DC Energy Meter using Arduino – 32V/5A

Updated:August 26, 20252K
Interfacing ADXL375 Accelerometer with Arduino

Interfacing ADXL375 Accelerometer with Arduino (±200g)

Updated:June 28, 2025
PZEM-004T Arduino Energy Meter

DIY AC Energy Meter using PZEM-004T & Arduino

Updated:March 6, 20258K
Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Updated:February 2, 20259K
Password Based Door Lock Security System Using Arduino & Keypad

Password Based Door Lock Security System Using Arduino & Keypad

Updated:February 2, 20252436K
Earthquake Detector Alarm with with Accelerometer & Arduino

Earthquake Detector Alarm with Accelerometer & Arduino

Updated:February 2, 2025661K
View 14 Comments

14 Comments

  1. Peter Ralls on May 18, 2020 6:56 AM

    I am having trouble compiling your RX section of the DHT to LCD Temp monitor, I have copied exactly the program but when compiled it gives me an error at the following lines

    bool done = false;
    while (!done)
    {
    done = radio.read(temperature, sizeof(temperature));

    Any help would be appreciated.

    Reply
  2. Peter Ralls on May 22, 2020 9:33 AM

    Peter Ralls May 18, 2020 at 6:56 AM
    I am having trouble compiling your RX section of the DHT to LCD Temp monitor, I have copied exactly the program but when compiled it gives me an error at the following lines
    bool done = false;
    while (!done)
    {
    done = radio.read(temperature, sizeof(temperature));
    Any help would be appreciated.

    Reply
  3. Mr. Alam on June 17, 2020 8:30 PM

    Hi All the Library Has been updated. You can now compile the receiver code.

    Reply
  4. Electro on July 2, 2020 11:30 AM

    Sir, can you provide Proteus library for nrf24l01.
    Plz

    Reply
  5. Sandukor on July 7, 2020 12:08 AM

    getting the same error. How can I correct?

    Reply
  6. alan mjs on August 16, 2020 8:07 PM

    same error : VOID VALUE NOT IGNORED AS OUGHT TO BE

    Reply
  7. Michael on October 9, 2020 9:32 AM

    Will this work with a nano?

    Reply
  8. JS on October 18, 2020 8:03 PM

    Hi Mr Alam
    i am getting a message no radio found
    Any help would be appreciated
    Thanks JS

    Reply
  9. Kevin Donovan on February 1, 2021 1:56 AM

    I’m having the same problem. Did you ever get it working?

    Reply
  10. BBM on February 25, 2021 2:49 PM

    Delete “Done = ” from line 41 to read only “radio.read(temperature, sizeof(temperature));”

    Reply
  11. BBM on February 25, 2021 2:52 PM

    delete “Done = ” from line 41 to read radio.read(temperature, sizeof(temperature));

    Reply
  12. John Doggett on March 26, 2021 12:32 AM

    how do you download the libraries?

    Reply
  13. supun on January 28, 2022 12:52 PM

    remove(done =) just type code as radio.read(temperature, sizeof(temperature));
    it worked for me..

    Reply
  14. vedant mahajan on April 8, 2023 2:01 AM

    actually i am not able to add DHT11 library to the IDE software can you help me out

    Reply

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • How to use INA226 DC Current Sensor with Arduino
    How to use INA226 DC Current Sensor with Arduino
  • How to use Modbus RTU with ESP32 to read Sensor Data
    How to use Modbus RTU with ESP32 to read Sensor Data
  • Designing of MPPT Solar Charge Controller using Arduino
    Designing of MPPT Solar Charge Controller using Arduino
  • IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
    IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
  • ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
    ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.