Cheap radio control car low frequency PWM Arduino control proof of concept (part 1)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
14,617
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 10, 2009

This is an experiment I've done today to try to control a RC car from a PC by hooking an Arduino to the radio controller. The cool think here is that although the radio controller has binary controls, I'm using PWM with a very low frequency (10 Hz or less, approx) to trigger them so I can make it run faster or slower without having to switch on and off the motors by hand.

The software on the Arduino generates the PWM signal by software (i'm not using the "analog" outputs) and receives dutty cycle commands from the computer by serial connection. On the computer I'm running a perl script that uses the Linux::Joystick module to monitor the position of the axis of the joystick and sends a 6 bit dutty cycle command to the arduino.

As you can see the forward direction control is the only one that works by now. I plan to extend the trick to the direction control and improve the communications between the Arduino and the PC to be able soon to control the car from the internet with a camera attached to the car.

As I'm doing this in my spare time (of course), don't expect me to release detailed plans soon or even finish the project before the XXII century. I've done this video to share my idea hoping somebody will find it useful.

A final remark: to get a smoother response, maybe we could raise the PWM frequency but I fear the frequency range may be limited by the protocol the controller uses for radio transmissions. I haven't done much research on this subject yet.

The ribbon in the controller is connected to the positive and negative pole -the circuit ground- of the 9V battery the controller has inside (so I can get rid of the battery some day) and the 4 control switches.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Minipimmer)

  • You are making to hard.

    Can't you hook three servos to your computer somehow? First servo would be for the on and off switch on the remote in which turns the car on and off wirelessly some how. Or park the car between two bricks or something that will keep the car from moving side to side, while another servo wired into the first servo can flip a switch on the hood of the car or some where. Then servo 2 or servo chanel 2 can control the the throtle lever and the same with servo 3 steering.

  • @crazy7997 the levers in the controller are not proportional, they only have three possible states so there is no need to use a servo for that, the trick I did by interfacing the controls with a microcontroller works well and it is cheap. What I am trying to do is actually enhancing the capabilities of the car. You can do the same trick by hand by moving up and down very fast the throttle. Perhaps I didn't explaining well what I was doing here.

see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • ostia neng, eres el amo! le puedes acer eso a mi buga? controlalo con el mando de la play3, hay to loco locoooo

  • BRAVO!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more