NRF24L01 Wireless Tranceiver Tutorial
Do you want to add wireless capability to your Arduino Projects? Using the NRF24L01 module is a very easy and reliable way to do so. This tranceiver module works at the 2.4GHz band and it is extremely easy to use with any Arduino board, like the Arduino Uno, the Arduino Mega or the Arduino Nano. The cost of module is less than 3$ which makes this module irresistible!
WHERE TO BUY
1. NRF24L01: http://bit.ly/NRF24L01B
2. Cheap Arduino Uno: http://bit.ly/Cheap_Uno
3. Powerbank: http://bit.ly/PowerBank_XiaoMi
4. Wires: http://bit.ly/WiresArduino
In this video we are going to build a simple project just to demonstrate how easy it is to add wireless capability to our Arduino Projects. I have two Arduinos here. This one is sending some data every second, and the other one is receiving the data and displaying it at the serial monitor. As you can see this one way communication is working fine and the range is very good, I can easily get more than 10 meters! The theoretical range that we can achieve is about 100 meters.
The NRF24L01 module is a low cost bi-directional transceiver module. The cost of it is less than 3$! You can find a link for it in the description of the video. It operates at the 2.4GHz band and it can achieve at a data rate of 2Mbits! Impressive isn’t it? It uses the SPI interface in order to communicate with Arduino, so it is very easy to use with it. We have to connect 7 of the 8 pins of the module in order to make it work with Arduino.
Unfortunately we can’t plug the module in the breadboard so we are going to use male to female wires in order to connect the module to Arduino. Pin number 1 of the module is GND. You have to connect it to Arduino Ground. The next pin is Vcc. You have to connect it to the 3.3V output of the Arduino Uno. Be careful! Do not connect it to 5V or you will destroy your module! The third pin is named CE and you can connect it to any digital pin you like. In this example I am going to connect it to digital pin 7. Pin 4 is CS and you can connect to any digital pin as well. I am going to connect to digital pin 8. The next pin is SCK which goes to digital pin 13 of the Arduino Uno. The next pin is MOSI which goes to digital pin 11 and the last pin in MISO which goes to digital pin 12. That’s it!
CODE OF THE PROJECT
SUBSCRIBE ON YOUTUBE
Never miss a video: Subscribe to educ8s.tv