Wheel Chair Robotics – Adding Remote Control Functionality

A great deal of the robots out there are basically just giagantic remote control contraptions. Some people will argue there is little roboticism about that, but I think remotely operated mechanisms do qualify as robots. After all, imagine a machine capable of extend our human capabilities such as grabbing and seeing, but on places where we just can’t go, like heavily toxic environments or just plain inacessible locations. Nothing better than a remotely controlled robot for these tasks!

I have finally been able to add remote control capabilities to my wheel chair robot project. I have named this robot Cobotrox I. The name Cobotrox goes to about 10 years ago. One day as I was teching my microprocessor interfacing course at the University of Puerto Rico, I needed to provide the class with a password. Our of nowhere I came with c0b0tr0x, so I decided to use the word on future projects. Here we go!

How do we add remote control to a robot? You can either buy every remote control component or you can make it yourself. I opted for a combination of both realms. I bought the transmission part and decided to build the decoding section. The transmitter and receiver are considerably cheap nowadays. You can buy fancy FM RC radios for about $150 new. These have more channels than you will most likely need.

The decoding I have been making for about 10 years with microcontrollers. I have done this project over and over with HC11, AVR’s and now MSP430 microcontrollers. It is very possible I even tried PICs at some point in time, but I am not a PIC lover so I don’t think that went too far. But I am certain a great deal of PICs can easily tackle this application. 80C51’s, ARMs, you name it. If it is a processor, it can do it!

What needs to be done? You need to read the RC PWM coming out of your RC receiver. The previous tutorial should explain how this PWM works. This is vital to understand because the RC PWM contains both direction and speed information. Well, in reality the RC PWM contains position, but we can decode this position to whatever we want to do with it!

The idea is to measure the RC PWM pulse and determine whether the length in time is greater, equal or lesser than 1.5 ms. If it is larger than 1.5 ms, we move the motor forward. If it is less, we move the motor backwards. Once direction is determined, then the magnitude of the speed control PWM is determined as a factor of how much larger than 1.5 ms or how much smaller than 1.5 ms, the pulse is. We do this on a continuous basis and achieve speed control of our DC motors.

Do not be mistaken. You can use this signal to control speed of stepper motors, enable/disableĀ loads such as water pumps, solenoids, lamps, etc, or whatever else you can think of! The information is there; it is all now a matter of doing something with it.

Below I present a flowchart that summarizes what I explained below. If you want to see code, I certainly have the MSP430 code ready to be posted. I may have the AVR code in assembly, somewhere in my backups. I doubt I will ever find the HC11 code, but it is pretty much useless anyway, unless you are getting your flux capacitor busy and need to reconstruct this functionality 10 years ago.

RC PWM to DC Motor PWM Flow Chart

10 comments for “Wheel Chair Robotics – Adding Remote Control Functionality

  1. Frik Lloyd
    November 12, 2012 at 8:12 am

    Hi
    I am wheelchair bound and would like to be able to control it remotely
    I need to move it to and from bathroom and car and also load it on transporter
    Would you be able to guide me in doing this

    • Biscotti
      August 16, 2013 at 7:59 pm

      Did u ever get a solution

  2. Jennifer
    April 7, 2014 at 7:59 pm

    I am the aid to a man that’s wheelchair bound, we are certainly interested in learning more about the possibilities of converting to a RC. We would be very thankful for any information. Thank you

    • avayan
      April 10, 2014 at 8:50 pm

      Hi Jennifer,

      I am actually working on a high current motor drive design which will incorporate RC control, as well as other control methodologies. I won’t be able to share anything until May 15, but after that, I will try to lead it into the open source domain as soon as possible. It is a fairly simple and elegant solution, and I will be testing it with a wheel chair platform, as well as other heavy loads.

  3. TP Culp
    May 22, 2014 at 11:01 pm

    Any movement yet on your RC project. I am very interested in your progress.

    • avayan
      May 27, 2014 at 2:53 pm

      Actually, I plan on having an instructables written down in the upcoming weeks. I would also like to post a few videos on PWM theory on my YouTube account. My goal is to have all of these material online by Tuesday June 10, 2014. It is a little bit agressive, but I think I can get it done. Feel free to push me if you do not see it posted by then!

      • Denese
        February 7, 2015 at 7:44 pm

        I, too, am interested in allowing my power chair to be remotely controlled in order to load it into my vehicle. Were you able to get the instructions posted? If so, is there a link to the right page? Thanks so much!!

  4. Ed
    August 16, 2015 at 9:57 am

    I am a person with a disability and have several power chairs. I have been searching for a very long time for good instructions to convert a power chair to RC. Where can I find more of you work, information and instructions.

    • avayan
      August 17, 2015 at 6:56 pm

      Thanks for checking my projects! Unfortunately I do not have an extensive data set for this project, with code and such, but you can find an instructable I did, here: http://www.instructables.com/id/Powerful-Driver-For-DC-Motors/

      You can also see a little bit of code here: http://www.active-semi.com/hydra/blog/2014/05/

      I worked on this application for a few weeks but eventually something else came up and was not able to fully finalize it. As it is, there is a bug on the motor PWM generation. I think I know where the bug lies, but I don’t know when I will have a chance to look at it. Chances are I will rewrite this code long before I fix that one, so that is quite a long time away. Hopefully these texts can steer you in the right direction.

  5. Gayle
    September 17, 2016 at 4:53 pm

    Would love this since I am. Wheelchair bound can I get instructions from you. Thanks Gayle

Leave a Reply

Your email address will not be published. Required fields are marked *