Learn how to wirelessly transmit sensor data using nRF24L01 and Arduino Uno. A simple project demonstrating real-time communication with DHT11 and OLED display.
The nRF24L01 isa low-cost, 2.4GHz transceiver module used for wireless data communication. It communicates over the SPI protocol and is suitable for short-range communication. This project demonstrates wireless data transfer between two Arduino Uno boards using nRF24L01 modules. Real-time temperature and humidity data from a DHT11 sensor is sent and displayed on an OLED screen. Introduction to nRF24L01 and Arduino Uno
Understanding the nRF24L01 Module Operatesat 2.4GHz with selectable channels and data rates up to 2 Mbps. Requires 3.3V power; adapter board recommended. Communicates via SPI: CE, CSN, SCK, MOSI, MISO. Ideal for low-power, high-speed communication in IoT projects. Transmission range up to 100 meters (line of sight).
5.
Wiring and Circuit Connections Transmitter(Sensor Side): DHT11 connected to Arduino digital pin. nRF24L01 module connected via adapter: CE → D9, CSN → D10, MOSI → D11, MISO → D12, SCK → D13. Power: 3.3V to adapter (not directly to nRF24L01). Receiver (Display Side): OLED (I2C) to A4 (SDA) and A5 (SCL). nRF24L01 connected same as above.
6.
Code Implementation and Working Transmitter Code: UsesDHT library to read sensor data. RF24 library sends data to a defined address. Sends temperature and humidity every second. Receiver Code: Constantly listens for incoming RF24 packets. Displays received data on OLED in real time. How It Works: Transmitter reads from DHT11 and sends via nRF24L01. Receiver gets the data wirelessly and shows it on the OLED screen.