EAL Arduino Controlled RC Car
![IMG_0097.JPG](/proxy/?url=https://content.instructables.com/FM2/8ZD0/J20P7ALE/FM28ZD0J20P7ALE.jpg&filename=IMG_0097.JPG)
In this instructables i will show you how i made an arduino controlled RC car.
this is for a school project where i wireless controll a car with 2 arduinos that are connected to the RF-Kit wich you can get for arduino. Notice that they work with 2 frequence only, and they may be illegal to use in some countries. I have built some LED on my car so it looks like a police car.
First i will make a list of all the components i used for this project
* 2 arduinos. ( i use Uno for the car, and Mega for the controller)
* 2 joysticks. ( i use an old playstation controller)
* 1 Microchip L293D
* RF kit for arduino
* 1 car ( stripped down, and rebuilt wih arduino)
The Controller
![IMG_0082.JPG](/proxy/?url=https://content.instructables.com/F1P/7JV7/J20P7CVZ/F1P7JV7J20P7CVZ.jpg&filename=IMG_0082.JPG)
![IMG_0084.JPG](/proxy/?url=https://content.instructables.com/FJL/WM2Q/J20P7CYG/FJLWM2QJ20P7CYG.jpg&filename=IMG_0084.JPG)
![wire diagram.JPG](/proxy/?url=https://content.instructables.com/FZC/YG8B/J20P7G20/FZCYG8BJ20P7G20.jpg&filename=wire diagram.JPG)
As said before i use the joysticks in an old playstation controller.
the picture of the wiring diagram is not of the best quality so i will explain how its wired.
Joystick1:
Vcc - 5V
HOF - A1
VEF - A2
GND - GND
Joystick2:
Vcc - 5V
VEF- A0
GND - GND
RF-transmitter:
Vcc- 5V
Data - Pin 12
GND - GND
the code for the controller can be downloaded.
Downloads
The Car
![IMG_0087.JPG](/proxy/?url=https://content.instructables.com/FMQ/8G7K/J20P7I2L/FMQ8G7KJ20P7I2L.jpg&filename=IMG_0087.JPG)
![IMG_0098.JPG](/proxy/?url=https://content.instructables.com/FH9/YYUQ/J20P7I2P/FH9YYUQJ20P7I2P.jpg&filename=IMG_0098.JPG)
![IMG_0095.JPG](/proxy/?url=https://content.instructables.com/FK3/C5VG/J20P7I2O/FK3C5VGJ20P7I2O.jpg&filename=IMG_0095.JPG)
![car.JPG](/proxy/?url=https://content.instructables.com/FRQ/I0MX/J20P7IXG/FRQI0MXJ20P7IXG.jpg&filename=car.JPG)
![L293D (1).jpg](/proxy/?url=https://content.instructables.com/FQF/KTBG/J20PD10W/FQFKTBGJ20PD10W.jpg&filename=L293D (1).jpg)
I have built an arduino uno on to my car, i will here show the wiring and the code.
Wiring diagram:
RF-Reciever:
Vcc - 5V
Data - pin 12
GND - GND
L293D:
.1 EN1 - Pin 5
.2 IN1 - Pin 9
.3 OUT1- DC-Motor1
.4 0v
.5 0v
.6 OUT2 - DC-Motor1
.7 IN2 - Pin10
.8 VccMotor - Extern power supply
.9 EN2 - Pin 6
.10 IN3 - Pin 7
.11 OUT3 - DC-Motor2
.12 0v
.13 0v
.14 OUT4 - DC-Motor2
.15 IN4 - Pin 8
.16 V+ - 5V
LED1 - Pin 3
LED2 - Pin4
Downloads
Finished Product
![IMG_0113.JPG](/proxy/?url=https://content.instructables.com/FUC/UN21/J34PQRA4/FUCUN21J34PQRA4.jpg&filename=IMG_0113.JPG)
![IMG_0111.JPG](/proxy/?url=https://content.instructables.com/FPE/4ZEJ/J34PQRA8/FPE4ZEJJ34PQRA8.jpg&filename=IMG_0111.JPG)
The car was big enough to contain the arduino so that it still looks like a regular BMW.
It runs on two 9V batteries, one for the arduino and one for the motors.
The controller as you can see i had to make some adjustments so that i could attach the arduino to it.
its runs on one 9V batteri.
The lenght of the wireless connection is about 20 meters, this could increase with a different antenna.