RC Car to Robot
![main1.jpg](/proxy/?url=https://content.instructables.com/F48/CLXT/GYGES5Y4/F48CLXTGYGES5Y4.jpg&filename=main1.jpg)
![main2.jpg](/proxy/?url=https://content.instructables.com/FI9/YP9C/GYGGN4X9/FI9YP9CGYGGN4X9.jpg&filename=main2.jpg)
![main3.jpg](/proxy/?url=https://content.instructables.com/FUX/8MB9/GYGGN4XA/FUX8MB9GYGGN4XA.jpg&filename=main3.jpg)
![main4.jpg](/proxy/?url=https://content.instructables.com/FQT/9SH7/GYGGN4XB/FQT9SH7GYGGN4XB.jpg&filename=main4.jpg)
![main5.jpg](/proxy/?url=https://content.instructables.com/FLA/RMEN/GYGF8OS2/FLARMENGYGF8OS2.jpg&filename=main5.jpg)
Converting an RC car into a robot is a quick and easy way to get started with robotics. At the very least, when you get bored of playing with your remote control car after three days, you can turn it into a robot that will do all of your evil bidding. Well, maybe not all of it, but at least a sizable amount.
In this Instructable I will go over the bare minimum you need to get started. Think of it as a template for making a basic robot that can be expanded with sensors, code, and additional hardware to do some really amazing things. You can now impress your family, make new friends, and scare your pets with the power of robot magic.
Check out my book Homemade Robots for more projects! |
Go Get Stuff
![1A.jpg](/proxy/?url=https://content.instructables.com/FWP/LXQC/GYGF8I9I/FWPLXQCGYGF8I9I.jpg&filename=1A.jpg)
You will need:
(x1) R/C Monster Truck
(x1) Arduino Uno REV 3
(x1) Arduino Motor Shield
(x1) Parallax Ping Sensor
(x1) Heavy-Duty 9V Snap Connectors
(x1) DC Barrel Power Plug
(x1) Multipurpose PC Board
(x1) Hookup Wire
(x1) 9 Volt Battery
(x1) 6" Heat-Shrink Tubing
(x1) Zip Ties
(Please note that some of the links on this page contain Amazon affiliate links. This does not change the price of any of the items for sale. However, I earn a small commission if you click on any of those links and buy anything. I reinvest this money into materials and tools for future projects.)
Remove the Cover
![2A.jpg](/proxy/?url=https://content.instructables.com/F7Z/3919/GYGGN43Z/F7Z3919GYGGN43Z.jpg&filename=2A.jpg)
![2B.jpg](/proxy/?url=https://content.instructables.com/FFO/NYII/GYGENRSL/FFONYIIGYGENRSL.jpg&filename=2B.jpg)
![2C.jpg](/proxy/?url=https://content.instructables.com/FIB/JBW0/GYGES165/FIBJBW0GYGES165.jpg&filename=2C.jpg)
![2D.jpg](/proxy/?url=https://content.instructables.com/FBR/CQ51/GYGF8IA5/FBRCQ51GYGF8IA5.jpg&filename=2D.jpg)
Flip the RC car over and remove the two screws holding the cover in place.
Put these screws aside somewhere safe for later reassembly.
Unplug
![3A.jpg](/proxy/?url=https://content.instructables.com/FR0/NFTE/GYGENRSN/FR0NFTEGYGENRSN.jpg&filename=3A.jpg)
![3B.jpg](/proxy/?url=https://content.instructables.com/FCS/AG81/GYGGIT4A/FCSAG81GYGGIT4A.jpg&filename=3B.jpg)
Unplug the motors from the connectors on the main board.
If your remote control car is hard wired to the motherboard, cut the motor wires loose.
Remove the Controller
![4A.jpg](/proxy/?url=https://content.instructables.com/FDD/46LO/GYGFD0M7/FDD46LOGYGFD0M7.jpg&filename=4A.jpg)
![4B.jpg](/proxy/?url=https://content.instructables.com/FOO/U21P/GYGF8IA6/FOOU21PGYGF8IA6.jpg&filename=4B.jpg)
![4C.jpg](/proxy/?url=https://content.instructables.com/FML/V6ID/GYGGIT4B/FMLV6IDGYGGIT4B.jpg&filename=4C.jpg)
![4D.jpg](/proxy/?url=https://content.instructables.com/FUP/FWSV/GYGFD0MA/FUPFWSVGYGFD0MA.jpg&filename=4D.jpg)
![4E.jpg](/proxy/?url=https://content.instructables.com/FK7/L4XO/GYGENRSV/FK7L4XOGYGENRSV.jpg&filename=4E.jpg)
Remove the screws holding the controller board to the RC car and pull it free.
Power
![5A.jpg](/proxy/?url=https://content.instructables.com/FDC/KD81/GYGFD0MO/FDCKD81GYGFD0MO.jpg&filename=5A.jpg)
![5B.jpg](/proxy/?url=https://content.instructables.com/F2O/MHES/GYGES167/F2OMHESGYGES167.jpg&filename=5B.jpg)
![5C.jpg](/proxy/?url=https://content.instructables.com/FLZ/6YHW/GYGFD0MP/FLZ6YHWGYGFD0MP.jpg&filename=5C.jpg)
![5D.jpg](/proxy/?url=https://content.instructables.com/FBM/I4IH/GYGES168/FBMI4IHGYGES168.jpg&filename=5D.jpg)
![5E.jpg](/proxy/?url=https://content.instructables.com/FJA/3ILI/GYGES169/FJA3ILIGYGES169.jpg&filename=5E.jpg)
Remove the cover from the M-type power plug and slide it onto the wires for the 9V connector (such that you can twist it back on after you solder the wires).
Solder the red wire to the middle connection tab. Solder the black wire to the outer connection tab.
Twist the cover back onto the plug.
Mark and Drill
![6A.jpg](/proxy/?url=https://content.instructables.com/FMS/0BTB/GYGGN442/FMS0BTBGYGGN442.jpg&filename=6A.jpg)
![6B.jpg](/proxy/?url=https://content.instructables.com/FO3/DIQ1/GYGES16A/FO3DIQ1GYGES16A.jpg&filename=6B.jpg)
![6C.jpg](/proxy/?url=https://content.instructables.com/F6T/CDF8/GYGGIT4D/F6TCDF8GYGGIT4D.jpg&filename=6C.jpg)
![6D.jpg](/proxy/?url=https://content.instructables.com/F7H/6D5O/GYGGN443/F7H6D5OGYGGN443.jpg&filename=6D.jpg)
![6E.jpg](/proxy/?url=https://content.instructables.com/F4U/ZW61/GYGGIT4E/F4UZW61GYGGIT4E.jpg&filename=6E.jpg)
![6F.jpg](/proxy/?url=https://content.instructables.com/FVP/SVQ1/GYGF8IAS/FVPSVQ1GYGF8IAS.jpg&filename=6F.jpg)
Place the Arduino atop the bed of the cargo RC car.
Make marks where the mounting holes are in such a way that it will later be easy to zip tie the Arduino down.
Drill through each of these marks with a 1/8" drill bit.
More Marking and Drilling
![7A.jpg](/proxy/?url=https://content.instructables.com/FWB/F0BH/GYGGN444/FWBF0BHGYGGN444.jpg&filename=7A.jpg)
![7B.jpg](/proxy/?url=https://content.instructables.com/FRI/COML/GYGENRT9/FRICOMLGYGENRT9.jpg&filename=7B.jpg)
![7C.jpg](/proxy/?url=https://content.instructables.com/FGU/7LVO/GYGFD0NP/FGU7LVOGYGFD0NP.jpg&filename=7C.jpg)
![7D.jpg](/proxy/?url=https://content.instructables.com/FR7/FD5L/GYGF8IBL/FR7FD5LGYGF8IBL.jpg&filename=7D.jpg)
![7E.jpg](/proxy/?url=https://content.instructables.com/F53/P2T7/GYGFD0NQ/F53P2T7GYGFD0NQ.jpg&filename=7E.jpg)
Place the 9V battery on the underside of the cargo bed. Make two marks on each side of the battery and drill them with a 1/8" drill bit.
Attach
![8A.jpg](/proxy/?url=https://content.instructables.com/FUJ/UDIV/GYGES16E/FUJUDIVGYGES16E.jpg&filename=8A.jpg)
![8B.jpg](/proxy/?url=https://content.instructables.com/FYL/PFSY/GYGES16F/FYLPFSYGYGES16F.jpg&filename=8B.jpg)
![8C.jpg](/proxy/?url=https://content.instructables.com/FC3/O9AT/GYGES16G/FC3O9ATGYGES16G.jpg&filename=8C.jpg)
Plug the 9V clip to the 9V battery and zip tie it to the underside of the RC car.
Trim away the excess bits of zip tie.
Shield
![9A.jpg](/proxy/?url=https://content.instructables.com/FWL/MZ83/GYGGN448/FWLMZ83GYGGN448.jpg&filename=9A.jpg)
![9B.jpg](/proxy/?url=https://content.instructables.com/F0L/BX3Z/GYGES171/F0LBX3ZGYGES171.jpg&filename=9B.jpg)
![9C.jpg](/proxy/?url=https://content.instructables.com/F3Z/94SR/GYGF8IDS/F3Z94SRGYGF8IDS.jpg&filename=9C.jpg)
Plug the Arduino Motor Shield into the sockets of the Arduino Uno.
Attach
![10A.jpg](/proxy/?url=https://content.instructables.com/FPY/FP0V/GYGFD2S9/FPYFP0VGYGFD2S9.jpg&filename=10A.jpg)
![10B.jpg](/proxy/?url=https://content.instructables.com/FSW/DVVO/GYGGIW3V/FSWDVVOGYGGIW3V.jpg&filename=10B.jpg)
![10C.jpg](/proxy/?url=https://content.instructables.com/FB4/SQF1/GYGES4UK/FB4SQF1GYGES4UK.jpg&filename=10C.jpg)
![10D.jpg](/proxy/?url=https://content.instructables.com/FR2/1QJX/GYGFD2SE/FR21QJXGYGFD2SE.jpg&filename=10D.jpg)
![10E.jpg](/proxy/?url=https://content.instructables.com/F84/I8CL/GYGES4UM/F84I8CLGYGES4UM.jpg&filename=10E.jpg)
![10F.jpg](/proxy/?url=https://content.instructables.com/F3U/NJ58/GYGES4UP/F3UNJ58GYGES4UP.jpg&filename=10F.jpg)
Now that the Motor Shield is attached zip tie the Arduino to the back side of the RC Car.
Trim
![11A.jpg](/proxy/?url=https://content.instructables.com/FKS/275Z/GYGF8MTF/FKS275ZGYGF8MTF.jpg&filename=11A.jpg)
![11B.jpg](/proxy/?url=https://content.instructables.com/F9T/JCXD/GYGGN4LY/F9TJCXDGYGGN4LY.jpg&filename=11B.jpg)
![11C.jpg](/proxy/?url=https://content.instructables.com/FYO/IBBH/GYGFD2SU/FYOIBBHGYGFD2SU.jpg&filename=11C.jpg)
![11D.jpg](/proxy/?url=https://content.instructables.com/FRY/9TFD/GYGF8MTL/FRY9TFDGYGF8MTL.jpg&filename=11D.jpg)
Using scissors or a paper cutter, trim the PC Board until is skinny enough that it slides neatly between the RC car's front grill.
Once made skinnier, shorten it such that it is just long enough to stick out the front.
Solder
![12A.jpg](/proxy/?url=https://content.instructables.com/FPK/5CRC/GYGES4WA/FPK5CRCGYGES4WA.jpg&filename=12A.jpg)
![12B.jpg](/proxy/?url=https://content.instructables.com/FV6/6K0G/GYGGN4M0/FV66K0GGYGGN4M0.jpg&filename=12B.jpg)
![12C.jpg](/proxy/?url=https://content.instructables.com/F0U/58TI/GYH33FTO/F0U58TIGYH33FTO.jpg&filename=12C.jpg)
![12D.jpg](/proxy/?url=https://content.instructables.com/FQN/31GA/GYH33FTW/FQN31GAGYH33FTW.jpg&filename=12D.jpg)
![12E.jpg](/proxy/?url=https://content.instructables.com/F2M/I8W2/GYGES4WK/F2MI8W2GYGES4WK.jpg&filename=12E.jpg)
![12F.jpg](/proxy/?url=https://content.instructables.com/FJS/BVHA/GYGFD2SZ/FJSBVHAGYGFD2SZ.jpg&filename=12F.jpg)
Solder the PING sensor centered on the front of the trimmed PC Board.
Connect 8" of green wire to the Signal pin, 8" of red wire to the 5V pin, and 8" of black wire to the Ground pin.
Insert
![13A.jpg](/proxy/?url=https://content.instructables.com/FZA/2DAC/GYGFD2TC/FZA2DACGYGFD2TC.jpg&filename=13A.jpg)
![13B.jpg](/proxy/?url=https://content.instructables.com/F1D/YDIP/GYGES4WQ/F1DYDIPGYGES4WQ.jpg&filename=13B.jpg)
![13C.jpg](/proxy/?url=https://content.instructables.com/FSQ/OUUR/GYH33FUM/FSQOUURGYH33FUM.jpg&filename=13C.jpg)
Slide the circuit board into the front grill of the car and make sure the sensor is sitting level.
If it is not level, adjust it until it is.
Drill and Fasten
![14A.jpg](/proxy/?url=https://content.instructables.com/FFW/JS71/GYH33FVQ/FFWJS71GYH33FVQ.jpg&filename=14A.jpg)
![14B.jpg](/proxy/?url=https://content.instructables.com/F9K/7M05/GYGGN4MM/F9K7M05GYGGN4MM.jpg&filename=14B.jpg)
![14C.jpg](/proxy/?url=https://content.instructables.com/FRD/ZZOH/GYGF8MZB/FRDZZOHGYGF8MZB.jpg&filename=14C.jpg)
Drill an 1/8" hole on each side of the circuit board and firmly secure it to the body of the RC car with zip ties.
Extend
![15A.jpg](/proxy/?url=https://content.instructables.com/FW8/W9Q7/GYGES4XE/FW8W9Q7GYGES4XE.jpg&filename=15A.jpg)
![15B.jpg](/proxy/?url=https://content.instructables.com/FL4/7Z7W/GYGGIWBJ/FL47Z7WGYGGIWBJ.jpg&filename=15B.jpg)
![15C.jpg](/proxy/?url=https://content.instructables.com/FIN/5EJE/GYH33FZ9/FIN5EJEGYH33FZ9.jpg&filename=15C.jpg)
![15D.jpg](/proxy/?url=https://content.instructables.com/F9I/7S23/GYGF8N1U/F9I7S23GYGF8N1U.jpg&filename=15D.jpg)
![15E.jpg](/proxy/?url=https://content.instructables.com/F65/KD83/GYGGIWBR/F65KD83GYGGIWBR.jpg&filename=15E.jpg)
![15F.jpg](/proxy/?url=https://content.instructables.com/F5K/MPGF/GYGF8N1W/F5KMPGFGYGF8N1W.jpg&filename=15F.jpg)
![15G.jpg](/proxy/?url=https://content.instructables.com/FG3/L0L8/GYH33FZX/FG3L0L8GYH33FZX.jpg&filename=15G.jpg)
![15H.jpg](/proxy/?url=https://content.instructables.com/FCU/KG24/GYGFD2X5/FCUKG24GYGFD2X5.jpg&filename=15H.jpg)
![15I.jpg](/proxy/?url=https://content.instructables.com/F7T/375A/GYGFD2X6/F7T375AGYGFD2X6.jpg&filename=15I.jpg)
Trim away the connector for one of the motors. Connect an 8" red wire to one and an 8" black wire to the other.
Repeat this process with the second motor.
Finally, slide heat shrink tubing over each of the four exposed solder connections and shrink them into place with a heat gun.
Clean Up
![16A.jpg](/proxy/?url=https://content.instructables.com/FAO/KUH2/GYGFD2YT/FAOKUH2GYGFD2YT.jpg&filename=16A.jpg)
![16B.jpg](/proxy/?url=https://content.instructables.com/F0J/YJ9A/GYGGIWEG/F0JYJ9AGYGGIWEG.jpg&filename=16B.jpg)
![16C.jpg](/proxy/?url=https://content.instructables.com/F6E/TV3Y/GYGF8N5H/F6ETV3YGYGF8N5H.jpg&filename=16C.jpg)
Zip tie each set of wires together to keep everything tidy.
You may even want to consider zip tying the sets together into a single bundle for the length of wire that passes over the body of the RC car.
Put It Together
![17A.jpg](/proxy/?url=https://content.instructables.com/FOG/4HXM/GYGF8NHP/FOG4HXMGYGF8NHP.jpg&filename=17A.jpg)
![17B.jpg](/proxy/?url=https://content.instructables.com/FF5/AM4K/GYGGIWJH/FF5AM4KGYGGIWJH.jpg&filename=17B.jpg)
![17C.jpg](/proxy/?url=https://content.instructables.com/FNU/Q2BN/GYGF8NHX/FNUQ2BNGYGF8NHX.jpg&filename=17C.jpg)
Put the body back onto the frame of the RC car and screw it back into place with the screws you set aside earlier.
Program
![18A.jpg](/proxy/?url=https://content.instructables.com/FB6/R20A/GYGGN4QB/FB6R20AGYGGN4QB.jpg&filename=18A.jpg)
Program the car with the following Arduino code:
<pre>/* RC Car to Robot Conversion by Randy Sarafan Used to convert an RC car into a robot that uses a PING sensor to avoid obstacles, and an Arduino motor shield for motor control. For more information see: https://www.instructables.com/id/RC-Car-to-Robot/ Built atop Ping example code by Tom Igoe */ // this constant won't change. It's the pin number // of the sensor's output: const int pingPin = 7; void setup() { //establish motor direction toggle pins pinMode(12, OUTPUT); //drive motor -- HIGH = forwards and LOW = backwards pinMode(13, OUTPUT); //turn motor -- HIGH = left and LOW = right //establish motor brake pins pinMode(9, OUTPUT); //brake (disable) the drive motor pinMode(8, OUTPUT); //brake (disable) the turn motor //Turns brake off for drive motor digitalWrite(9, LOW); //Turns brake on for turn motor digitalWrite(8, HIGH); //Sets initial speed of drive motor analogWrite(3, 200); //Sets initial direction of drive motor digitalWrite(12, HIGH); } void loop() { // establish variables for duration of the ping, // and the distance result in inches and centimeters: long duration, inches, cm; // The PING))) is triggered by a HIGH pulse of 2 or more microseconds. // Give a short LOW pulse beforehand to ensure a clean HIGH pulse: pinMode(pingPin, OUTPUT); digitalWrite(pingPin, LOW); delayMicroseconds(2); digitalWrite(pingPin, HIGH); delayMicroseconds(5); digitalWrite(pingPin, LOW); // The same pin is used to read the signal from the PING))): a HIGH // pulse whose duration is the time (in microseconds) from the sending // of the ping to the reception of its echo off of an object. pinMode(pingPin, INPUT); duration = pulseIn(pingPin, HIGH); // convert the time into a distance inches = microsecondsToInches(duration); // //if objects are less than 12 inches away //the robot reverses and turns to the right //for 2 seconds // if (inches < 12){ //brake drive motor and pause 1/10 second digitalWrite(9, HIGH); delay(100); // //setting turn motor // //turn off brake for turn motor digitalWrite(8, LOW); //set turn motor direction digitalWrite(13, HIGH); //activate turn motor analogWrite(11, 255); // //setting drive motor // //turn off brake of drive motor digitalWrite(9, LOW); //set drive motor backwards direction digitalWrite(12, LOW); //activate the drive motor analogWrite(3, 200); //backup for 2 seconds delay(2000); // //stopping // //brake both motors digitalWrite(8, HIGH); digitalWrite(9, HIGH); } // //when nothing is within 12" //the robot simply drives forwards // else{ // //Setting drive motor // //set drive motor forward direction digitalWrite(12, HIGH); //turn off brake of drive motor digitalWrite(9, LOW); //activate drive motor analogWrite(3, 200); } delay(100); } long microsecondsToInches(long microseconds) { // According to Parallax's datasheet for the PING))), there are // 73.746 microseconds per inch (i.e. sound travels at 1130 feet per // second). This gives the distance travelled by the ping, outbound // and return, so we divide by 2 to get the distance of the obstacle. // See: http://www.parallax.com/dl/docs/prod/acc/28015-PING-v1.3.pdf return microseconds / 74 / 2; }
For help getting started with the Arduino, check out the Intro to Arduino Instructable.
Downloads
Wire It Up
![19A.jpg](/proxy/?url=https://content.instructables.com/FNF/W3S1/GYGGN4QC/FNFW3S1GYGGN4QC.jpg&filename=19A.jpg)
![19B.jpg](/proxy/?url=https://content.instructables.com/F4V/55PC/GYGES53T/F4V55PCGYGES53T.jpg&filename=19B.jpg)
![19C.jpg](/proxy/?url=https://content.instructables.com/F9D/49X6/GYGFD350/F9D49X6GYGFD350.jpg&filename=19C.jpg)
![19D.jpg](/proxy/?url=https://content.instructables.com/F0J/ZTQG/GYGGIWK4/F0JZTQGGYGGIWK4.jpg&filename=19D.jpg)
![19E.jpg](/proxy/?url=https://content.instructables.com/FN9/FAO9/GYGF8NJY/FN9FAO9GYGF8NJY.jpg&filename=19E.jpg)
The ping sensor:
- Connect the green wire from the Ping sensor to digital pin 7.
- Connect the black wire from the Ping sensor to ground.
- Connect the red wire to the power input screw socket on the motor shield.
The front turn motor:
- Connect the red wire from the front motor to+ port on channel B of the motor shield.
- Connect the black wire from the front motor to - port on channel B of the motor shield.
The rear drive motor:
- Connect the red wire from the rear motor to the + port on channel A of the motor shield.
- Connect the black wire from the rear motor to - port on channel A of the motor shield.
The motor shield:
- Connect the 5V socket to the power input power screw socket on the motor shield (in addition to the Ping power wire already connected).
- Connect the ground socket on the shield to the input ground screw socket on the motor shield.
Go!
![20A.jpg](/proxy/?url=https://content.instructables.com/F0E/E1J4/GYGGN4QE/F0EE1J4GYGGN4QE.jpg&filename=20A.jpg)
![20B.jpg](/proxy/?url=https://content.instructables.com/FVL/UJWT/GYGF8NKP/FVLUJWTGYGF8NKP.jpg&filename=20B.jpg)
Insert the 9V plug into the power socket on the Arduino to power up your robot.
Note: If you decide that you want to reprogram your Arduino, before you plug in the USB cable, disconnect both the 9V battery and the power connection between the Arduino power socket and the motor shield.
![](/proxy/?url=https://content.instructables.com/FP8/ABPR/K9R2LUOD/FP8ABPRK9R2LUOD.jpg?auto=webp&crop=1:1&frame=1&width=320)
Did you find this useful, fun, or entertaining?
Follow @madeineuphoria to see my latest projects.