Introduction: The NRF24L01 Wireless Motor Speed Control System With Arduino

Picture of The NRF24L01 Wireless Motor Speed Control System With Arduino

ICStation team introduce you the NRF24L01 Wireless Motor Speed Control System.This system works under DC 5V voltage. It uses the NRF24L01 Wireless Module to transmit speed control data and the Hall Sensor to detect the real rotate speed. This design uses the PWM duty cycle to modulate and realize the speed control.What’s more, It can be used in the

situation which do not need high speed control precision, such as the automatic control of the curtain.

Functions:

1)When initialize the sending part, the LCD1602 board displays the characters of the original PMW data and the speed which is with zero. The receiving part will control the wireless transmission of data and displays the real rotate

speed after the receiving part finished the initialization.
2) When the Receiving Module works, the rotate speed of the Motor will change according to the data which is transmitted by the sending part. The Holl Sensor Speed Measure Module begins to detect the rotate speed and the LED light of the Holl sensor lights. Meanwhile, the Wireless Module of the receiving part will send the detected rotate speed data back to the Sending part.

3) For the sending part, we need four keys (K0,K1,K2,K3) in the keyboard to change the speed of the motor. The associated functions of the four keys as following:

①Press the key KO for the first time, the motor moves as the first gear of speed; press the key KO again, the motor moves as the second gear of speed; the third time when we press the key KO, the motor moves as the third gear of speed; the,forth time when we press the K0,,the motor moves as the first gear of speed.

②Press the key K1, we can switch the rotate speed of increasing or reducing.

③Press the key K2, we can change the rotate speed to five more or less.

④Press the key K3, we can change the rotate speed to ten more or less.

Code for reference:

http://www.icstation.com/newsletter/eMarketing/NRF24L01_Control_Code.zip

Step 1: Components List:

Picture of Components List:

Step 2: Schematic Diagram

Picture of Schematic Diagram

Step 3: The Connection of Receiving Part

Picture of The Connection of Receiving Part

1.Connect the NRF24L01 Wireless Module to the ICStation UNO.
SCK--Digital pin 13 ;MOSI-- Digital pin 11 CS——Digital pin 7;

CS——Digital pin 8;MOSI-- Digital pin 12

2.Connect the L298N to the ICStation UNO

VMS—7.2V Anode;GND—Cathode INA—GND;

INB—VCC(5V);ENA—Digital pin 5

3.Connect the Hall Module to the ICStation UNO

DOUT—Digital pin 3

Step 4: The Connection of Sending Part

Picture of The Connection of Sending Part

1.Connect the NRF24L01 Wireless Module to the ICStation MEGA2560
SCK--Digital pin 52 ;MOSI-- Digital pin 51 MOSI--Digital pin 50;

CS——Digital pin 9 CE——Digital pin 8

2.Connect the 1602 LCD Module to the ICStation MEGA2560

SCL—A5 ;SDA—A4

3.Connect the keyboard to the ICStation MEGA2560

S1—Digital pin 22;S1—Digital pin 23 S1—Digital pin 24;S1—Digital pin 25

Step 5: Video to Show Effect

Comments

gspir (author)2017-02-06

Sorry, but why the hell you are using this terrible and non-friendly ancient method to give insturction of how to make it work ? "next page" then "next page" like being in 1980's. Never heard about youtube and video tutorials ?

sakshamm4 (author)2016-06-10

The code for reference is not working, can you please give me an updated version.

the nrf data sending is not working

wasi007 (author)2015-02-22

if i use a joystick on behalf of the key pad than what will be the sketch?for speedjet and speedsend and it is a nice project

Inventor Oreiby (author)wasi0072015-12-19

I am familiar with applications concerning nRF24l01 transceiver. And I ensure the is very hard to consider that you can use it with Joystick. If you take a look on what protocol it uses you will find : SPI protocol which is seemed not to be used in LTI (Linear time invariant) systems which utilize the Buffer size formula. If you wanna use a real time system to control a DC motor with live PWM signal you may head to a UART module like APC220 transceiver which based on RX & TX method. If you have any questionnaire, we can discuss it together.

Sincerely,
Abd El-Rahman Oreiby

seamster (author)2014-10-20

Nice!

About This Instructable

9,956views

30favorites

License:

Bio: www.ICStation.com is a top store of electronic, which specializes in all kinds of IC products, such IC accessories, Module, Robots, Development Board, Transistor ... More »
More by ICStation:DIY 3D Christmas Tree Kit With RGB Flashing LEDsBuild a Colorful LED Tower Display Rhythm Lamp Light DIY KitsDIY Energy Saving LED Lamp Kit Installation
Add instructable to: