Python + Arduino, CarControl v.03

Picture of Python + Arduino, CarControl v.03
Have you ever bought something just to take it apart? I bought this remote control car hoping to drive it from my computer. I used Python, an Arduino board and about 300 lines of code. Took me a couple of hours work to get it together and another couple to put this tutorial up. For full instructions and working code checkout

Things you will need: 

  Remote controlled car and remote
  A computer
  An Arduino board
  The Arduino IDE
Remove these adsRemove these ads by Signing Up

Step 1: Step 0: Get comfortable with the Arduino.

Picture of Step 0: Get comfortable with the Arduino.
You can get an Arduino Uno from Amazon for about $15 and you will need to download the Arduino IDE from The language is based on c/c++ and you will find many tutorials on this and other websites. I suggest you walk through the examples and get comfortable with Arduino before you try to take on this or any other project. It will help. The Arduino IDE has more the enough examples you can play around with to get to know the board. 

Step 2: Step 1: Taking apart the remote

Picture of Step 1: Taking apart the remote
We will begin by taking apart the remote. Be careful not to force anything apart. Be sure to stop and test the remote operation at each step. If you mess something up you will make life a lot harder for yourself. Pay attention to the details. 

Step 3: Step 3: Study the board

Picture of Step 3: Study the board
You will have to figure out how the board operates in order to figure out how to connect it to the Arduino. Using a wire you should be able to trace the board and figure out which 2 connection you need to connect in order to move the car. Once you figure that out you can send a signal from the Arduino pins and test weather you are moving the car or not. Remember that you are looking for 4 connections, one for each car command, forward, reverse, left and right. 

Step 4: Step 4: Python + PyGame

Picture of Step 4: Python + PyGame
Using Python and the PyGame Library you can receive keyboard keys pressed and output a command to the serial port. This will allow us to process key events and send an sppropriate signal to the Arduino via USB.
ProBodger1 year ago
Very Nice

Get More Out of Instructables

Already have an Account?


PDF Downloads

Upgrade to Pro today!