Interfacing NRF24L01 With Arduino: Controlling Servo Motor
by hIOTron IoT in Circuits > Arduino
7 Views, 0 Favorites, 0 Comments
Interfacing NRF24L01 With Arduino: Controlling Servo Motor
We will learn more about nRF24l01 modules and how to communicate them with a microcontroller platform like Arduino.
Supplies
Hardware Components
nRF24L01
Arduino UNO
SG90 Micro-servo motor
Jumper wires (generic)
About Project
The nRF24L01 modules are transceiver modules, meaning each module can both send as well as receive data but since they are half-duplex they can either transfer or receive data at a time. The module has the common nRF24L01 IC from Nordic semi-conductors which is accountable for the transmission as well as the reception of data. The IC interacts with the help of the SPI protocol and hence can be simply communicated with any microcontrollers. One of the benefits of using these modules is that every module has 6 Pipelines.
That means each module can interact with 6 other modules to transmit or receive data. This makes the module appropriate for generating star or mesh networks in IoT applications. Arduino Uno nRF24L01 module connections at the Receiver side As we know that nRF24L01 interacts with the help of SPI protocol. Here we connect the MOSI, MISO, and SCK pins from nRF to pins 11, 12 and 13 respectively. The nRF module is electrically charged by the 3.3V pin on Arduino. Also, connect a servo motor to pin 7 and power it via the 5V pin on Arduino. Arduino Nano nRF24L01 module Connections at Transmitter side The connections for this are also the same. The output analog voltage which will deviate from 0-5V is attached to the A7 pin of the Nano. And both the boards are charged via the USB port.