Vous êtes sur la page 1sur 7

Food

Living

Outside

Play

Technology

Workshop

RF Control System For R/C Vehicle Based On Arduino And nRF24L01


by mujahed1987 on June 10, 2014

Table of Contents
RF Control System For R/C Vehicle Based On Arduino And nRF24L01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Intro: RF Control System For R/C Vehicle Based On Arduino And nRF24L01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 1: What you will need: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 2: Connect the nRF24L01 module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 3: Connect the joystick and the LED to the transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 4: Connect the ESC and The Servo to the Receiver board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 5: Power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 6: Programming the Arduinos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Step 7: Video and Pictures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Intro: RF Control System For R/C Vehicle Based On Arduino And nRF24L01
The aim of this project is to build a transmitter and a receiver by using a cheap and easy to use component such as Arduino UNO, Arduino Nano, and nRF24L01
transceiver. This project is a simple and easy to implement and can be a good start point for beginners.

Step 1: What you will need:


1x Arduino Uno
1x Arduino Nano (v3.0)
2x nRF24L01 Module
14x Male-To-Female jumper wire (different colors)
6x Male-To-Male jumper wire
1x Breadboard
R/C car equipped with:
1x Servo motor
1x Electronic Speed Controller (ESC) I am using HSP, sp-03018
1x 7.2V 1800 mAh Ni-Mh battery
1x or 2x Joystick Module for Arduino
1x 2.2 K Resistor
Led

Step 2: Connect the nRF24L01 module


these connections are applied for both, The transmitter and the receiver

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Step 3: Connect the joystick and the LED to the transmitter


And connect the LED as following:
LED+ --> Arduino Nano D2 pin
LED- --> Arduino Nano GND
2k2 Resistor --> LED+

Step 4: Connect the ESC and The Servo to the Receiver board
IMORTANT NOTE: if you have a similar ESC Never connect the ESCs red wire to the Arduinoboard because it will damage it

Image Notes
1. Electronic Speed Controller

Step 5: Power source


I've attached this header to the battery -as shown in picture- in order to deliver a power to the Arduino on the receiver side, or you can use a separated battery for
the Arduino board.
for the transmitter you can use any power source as you wish

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Step 6: Programming the Arduinos


1. Download the RF24 Library from here
2. The sketch is available at github and it is full commented, or you can download it from the attachments.

File Downloads

RF24_RC.zip (4 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'RF24_RC.zip']

Step 7: Video and Pictures


Enjoy It!
And please vote for me ?

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Related Instructables

Cheap 2-Way
Bluetooth
DIY Remote
Connection
Controller for
Between
Hexdrake by
Arduino and PC
davidp1995@hotmail.com
by techbitar

RF 315/433 MHz
Transmitterreceiver Module
and Arduino by
Mohannad
Rawashdeh

Infrared-RF 433Bluetooth
Arduino Remote
by kcschenk01

DIY handmade
Wireless
Hexapod with
communication
arduino
Arduino RF by
(Hexdrake) by
Eagle199393
davidp1995@hotmail.com

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Advertisements

Comments
7 comments

Add Comment

techbitar says:

Jun 12, 2014. 8:51 AM REPLY

Super project. Thanks for the detailed and easy to follow instructions.

mujahed1987 says:

Jun 12, 2014. 9:19 AM REPLY

And thanks to you, too. Very glad for your testimony

carlos66ba says:

Jun 12, 2014. 8:33 AM REPLY

Very nice project. Well done!

mujahed1987 says:

Jun 12, 2014. 9:19 AM REPLY

It is my pleasure that you liked the project. :)

craftclarity says:

Jun 11, 2014. 11:30 AM REPLY

Nice work! It'd be way cool to see a video of it in action...!

mujahed1987 says:

Jun 11, 2014. 12:00 PM REPLY

You are nice also, you are the first person to comment on my first instructable.
I wish you would vote for me also. Thank you

craftclarity says:
Your gratitude made me smile. Voted!!!

http://www.instructables.com/id/RF-Control-System-For-RC-Vehicle-Based-On-Arduino-/

Jun 11, 2014. 12:06 PM REPLY

Vous aimerez peut-être aussi