How to Control Your Cheap RC Car with a Computer

programmable-rc-car

[Jon] wrote in to tell us about his programmable RC car, and the Howto guide that he’s made. According to him, this project can be constructed with $9 worth of parts plus an Arduino and a small toy car. So around $50 if you’re starting from scratch.

At it’s core, this project is about using the Arduino to allow your computer to send signals to the toy car. For this, [Jon] has included JAVA code that should be able to run on Mac, Linux, and PC operating systems. The Arduino code is also included.

Most small RC cars like those used in this project switch on at full speed or turn off, but this project allows the PC/Arduino to give the car PWM signals to control the speed. As pointed out in the video after the break, this can be a bit jerky at slow speed, but still a neat effect. A decent amount of soldering is required to get this project working, but it may be a good project especially if you have some of the parts already available!

Comments

  1. Dave says:

    We did something similar in High School comp sci class. Made a cord that connected a laptop’s USB or Serial(I forget which now) to the trainer port on an R/C Airplane’s transmitter. Then wrote code to drive a Tamiya Juggernaut from a remote computer over the school’s wifi.

  2. Ren says:

    Adding speed control was a neat idea!

  3. syxanash says:

    Shut up and take my money!

  4. addidis says:

    My first self driving car used a basic stamp and a gold chassis RC10. Back then gps were ultra expensive so all it did was run a programmed set of instructions , rate and duration for the pwm signals to the servo and ESC. A little while later I realized Da Vinci had made a programmable lion a few hundred years earlier that also stood up. :/

  5. H. Smeitink says:

    nice project, but an arduino seems to be a huge overkill, an 18f4550 (which has usb functionality) can also easily be used, and requires only a few extra parts, meaning that you’l only have to spend about 15 + 9 + 9 = 33 dollars

    • How much do you think Arduinos cost? They paid $26.56 for theirs…

      • cluelessRobot says:

        I think the 33 dollars was the combination of all parts in the project, including the MCU. Truthfully though, if this guy already had a bunch of Arduinos lying around the house like I do, he probably wouldn’t of wasted the money to make it less overkill.

    • Anonymous says:

      If this was to be a mass produced commercial project, I would agree with you. However, it’s just a one-off.

      In my opinion, building small projects around a common prototyping platform is a good thing. The Arduino is a good rapid prototyping platform, -the people reading this article probably already have one they can use. That makes quick projects like this one more accessible (and more fun to throw together in an afternoon) than ordering a list of specific parts and waiting a week for them to ship, just to mess around with a little toy car.

  6. Chris says:

    Arduino is waaaay overkill for this! Heck you could use a parallel port or serial port and some clever logic or at least a cheap PIC micro. The 18F series PICs would have been a good choice for USB.

    • Jon says:

      Hi Chris,

      I used the parallel port for similar projects in 2003 and 2004 (which are also on the website), but computers don’t commonly come with parallel ports anymore.

      This project was done basically as a modern update to those.

      Arduino was used because they’re really easy to use. Simplicity was optimized rather than cost.

      – Jon

  7. nicodemusbc says:

    I did something similar in college using the Lego Mindstorms kit, except I didn’t want to mod the controller at all (part of the project was using that kit and building a robot) so I made a robot that would push the buttons manually on the pre-existing controller. I used the C# .net Lego Mindstorms interface library, it turned out well. Mine was meant to copy the ControlOurJunk websites so it was a webpage with a video feed and you controlled the car over the network/internet. It was a fun project. I wish I could have implemented a speed control like this.

    It makes me want to resurrect that project with an msp430 launchpad I have lying around.

  8. anonymouse says:

    couldn’t he have also done a crude form of proportional steering, too, by doing PWM on the steering channel? a lot of the cheap-o micro rc’s do the steering with something similar to a solenoid, and these planes(http://www.microflight.com/) use something similar for servos, so it should be possible.

    • Jon says:

      I did try PWM on the steering as well. Wish these mini rc cars, the wheels became very jerky, alternating between straight and right/left. It sounded like the car was having a seizure. Unfortunately, the result wasn’t very usable.

      Larger RC cars may perform better.

  9. Threeck says:

    I’m doing a much more overkill project than this one, which uses a raspberry to control motors. Commands are then sent to the raspberry through wifi with the use of ssh.

  10. Mark says:

    next step is catching movement with kinect or camera and drive the car autonom on the table ;-)

  11. torcue says:

    What I’d like to see, but am not up to snuff on programming.
    Add some lights to it (white front, red rear?) And a webcam. Remote drone, not as sophisticated as locally controlled, bit easier to program and map and make smart with better battery life too!

  12. exanko says:

    This is very easy project, here is mine with optocouplers and android phone http://www.youtube.com/watch?v=AdGjA3uAvI8

  13. but but says:

    My Big Trak, with its laser canon, could so take this thing.

  14. Dilupa says:

    Can I do this using pic microcontrollers rather than arduino?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,553 other followers