Introduction: Arduino - NRF24L01 Wireless Transceiver Module
In this tutorial we will learn how to use the nRF24L01 Wireless Transceiver Module.
We will control the servo motor with using the potentiometer via nRF24L01 Wireless Transceiver Module.
Step 1: Required Hardware
Arduino Board - https://goo.gl/Rqc5w2
nRF24L01 - https://goo.gl/M6fIIx
nRF24L01 Adapter - https://goo.gl/UWQtWy
Potentiometer - https://goo.gl/UWQtWy
Servo Motor - https://goo.gl/UWQtWy
F to F Jumper - https://goo.gl/UWQtWy
M to M Jumper - https://goo.gl/UWQtWy
9V Battery Plug - https://goo.gl/UWQtWy
9V Battery - https://goo.gl/UWQtWy
Breadboard - https://goo.gl/UWQtWy
Some Promotion Links
Flash Deals -- https://goo.gl/CVqg7P
Mega Stock Clearance -- https://goo.gl/eCbuiP
Arduino Kits -- https://goo.gl/uwr19e
More Budget 3D Printers -- https://goo.gl/uwr19e
Anet A8 3D Printer Promotion -- https://goo.gl/uwr19e
Step 2: NRF24L01
nRF24L01 2.4GHz Radio/Wireless Transceivers
There are many options how to connect your Arduino wireless. One of options available is nRF24L+
Step 3: Connections
The module communicates with the controller via SPI interface.
You must use this module with capacitor or power adapterfor correct 3.3V
Step 4: RF24 Library
You must download and install the RF24 library for using nRF24L+ module. You can download from GitHub
RF24 Library - https://goo.gl/z8uy2d
Step 5: Source Code
I created two code, one of for the transmitter and other one for the receiver. You can only copy and paste the code into empty page of the Arduino IDE.
Get the Code - https://goo.gl/u6vFvX
Step 6: You Can Subscribe to My YouTube Channel
You can subscribe to the my YouTube channel for more tutorials and projects. Subscribe for support. Thank you.
Go to my YouTube Channel - https://goo.gl/f0RHmR
Question 4 years ago
hello sir how can i control a dc motor instead of a servo.thank you
Question 4 years ago on Step 5
I'm sorry you do not really speak English! I copy the receiver code to Arduino IDE 1.0.6 and 1.8.3.
I copied the RF24 master library to the right place.
I press the check button and the software writes the error messages on the screen.
There is a problem with this line item:
done = radio.read(msg, 1);
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Uno"
Receiver.ino: In function 'void loop()':
Receiver:32: error: void value not ignored as it ought to be
5 years ago
What is the meaning of the picture with an exclamation mark? Is that mean that we have to do or we dont do that?