Home Home
New Items New Items
Contact Contact
Support Support
Robots Robots
Custom Engineering Custom Engineering
Educational Educational
Military/Law Enforcement Military/Law Enforcement
Blog Blog
 Safe and Secure payments accepted with all major credit cards and PayPal via SuperDroid Robots secure checkout.Same Day shipping on most orders received by 3PM EST.  All order ship from Raleigh, NC.  Shipping via UPS, FedEx, USPS. Next Day Air service available. Social Icons

Ordering and Support: (919) 557-9162    
Toll Free: 1-866-SD-Robots (866-737-6268)
   

CamerasElectricalMechanicalOtherRobots
  

 

 

 Autonomous Robot Kits

RC (Remote Control) Support Page

  Autonomous Robot Kits

 

We get this question all the time, so here's a webpage to help with this topic. How do I use a RC controller to drive a motor?

 

 

  Autonomous Robot Kits

RC Basics

The RC transmitter outputs the signal; the receiver receives the signal and then commands the servo to do its stuff.  RC systems have from 2 to 8+ channels (i.e. a 4 channel radio can control 4 servos). RC receiver outputs are simply a 1.5ms pulse about every 20ms.  They are intended to control servos remotely. The 1.5ms pulse is varied from ~1.0ms to ~2.0ms to give the full range of travel.  The 20ms can vary some, but if it’s too long between pulses the servos will become sluggish, the closer together the higher torque output.  Most people want to control more than just servos, so this page is intended to help.  Below are some images of a servo pulse.

 

Autonomous Robot Kits Autonomous Robot Kits

Square Wave for Servo Angle and Speed Control

 

  Autonomous Robot Kits

Servos

Servos are DC motors with built in gearing and feedback control loop circuitry. And no motor drivers required!

 

Servos are extremely popular with robot, RC plane, and RC boat builders. Most servo motors can rotate about 90 to 180 degrees. Some rotate through a full 360 degrees or more. However, servos are unable to continually rotate, meaning they can't be used for driving wheels (unless modified), but their precision positioning makes them ideal for robot arms and legs, rack and pinion steering, and sensor scanners to name a few. Since servos are fully self contained, the velocity and angle control loops are very easy to implement, while prices remain very affordable. To use a servo, simply connect the black wire to ground, the red to a 4.8-6V source, and the yellow/white wire to a signal generator (such as from your microcontroller). Vary the square wave pulse width from 1-2ms and your servo is now position/velocity controlled.

All servos have three wires:

  • Black or Brown is for ground
  • Red is for power (~4.8-6V)
  • Yellow, Orange, or White is the signal wire (3-5V).

 

Servos can operate under a range of voltages. Typical operation is from 4.8V to 6V. There are a few micro sized servos that can operate at less, and now a few Hitec servos that operate at much more. The reason for this standard range is because most microcontrollers and RC receivers operate near this voltage. So what voltage should you operate at? Well, unless you have a battery voltage/current/power limitation, you should operate at 6V. This is simply because DC motors have higher torque at higher voltages.


While the black and red wires provide power to the motor, the signal wire is what you use to command the servo. The general concept is to simply send an ordinary logic square wave to your servo at a specific wave length, and your servo goes to a particular angle (or velocity if your servo is modified). The wavelength directly maps to servo angle.

So how do you apply this square wave to your servo? If your robot is remote controlled, your RC receiver will apply the proper square wave for you. If however your robot is running from a microcontroller, you must:

 

  • bring high a digital port
  • wait between 1-2ms
  • bring low the same digital port
  • cycle about every 20ms

 

Servo current operates the same as in a DC motor, except that you now also have a hard to predict feedback control system to contend with. If your DC motor is not at the specified angle, it will suddenly draw large amounts of current to reach that angle.

 

Robot Servo Metal Gears Nylon Gears - Nylon gears are most common in servos. They are extremely smooth with little or no wear factors. They are also very lightweight, but lack in durability and strength.
Karbonite Gears - Karbonite gears are relatively new to the market. They offer almost 5 times the strength of nylon gears and also better wear resistance. Cycle times of well over 300,000 have been observed with these gears with virtually no wear. Servos with these gears are more expensive but what you get in durability is more than equaled.
Metal Gears - Metal gears have been around for sometime now. Although the heaviest and having the highest wear rate of all gear types, they offer incredible strength. With a metal output shaft, side-loads can be much greater. Ever had a nylon output shaft crack? I have. In applications that are jarred around, metal gears are best. Unfortunately, due to wear, metal gears will eventually develop slight play in the gear-train. Accuracy will slowly be lost.
Titanium Gears - Titanium gears are simply awesome. Virtually no wear after years of use and 48 times stronger than Nylon gears. If your application is critical and you can not afford a gear failure, Titanium is the way to go.


  Autonomous Robot Kits

Driving DC Motors or Other Loads from a RC Signal

You can go a few ways to control loads such as motors from an RC controller.  Below are some methods

 

Method 1: You can use this RC switch to turn a load on and off.  You will not be able to remotely control the direction.  This is ideal for turning a light on and off or turning a motor on and off that only operates in one direction.  The Relay acts like a switch, so any voltage (up to 240VAC) can be used.  The contact are rated for 10Amps.  The relay is triggered by a onboard microcontroller that monitors the pulse width of the receiver channel. 

 

 

Method 2: You can just use this RC switch to drive a motor fwd/off/and reverse if you don't need speed control.  The RC switch has limit switch inputs to limit motion in either or both directions.  The relay acts like a switch, so any voltage (up to 240VAC) can be used. The relay contacts are rated for 8 Amps.  The relay is triggered by a onboard microcontroller that monitors the pulse width of the receiver channel.  When the stick is pushed one direction, just the single pole relay comes on driving the load forward, then the stick is pushed the other direction, both the single pole and double pole relay are pulled in turning the load on and reversing it.

 

 

Method 3: If you want speed control on your motor, you can use a Pulse Width Modulation (PWM) motor controller with oAutonomous Robot Kitsur RC interface board.  Pulse-width modulation: A technique used in DC-DC switching regulators where the duty cycle of the clock driving the main power switch is varied with the load in order to maintain output voltage. The technique is used in DC motor-control applications to vary motor RPM.

 

The RC board has an onboard microcontroller which reads the incoming RC signal and outputs a PWM signal to drive a PWM motor controller.   The image on the left shows the PWM output compared to RC input for one channel.  Our RC interface board reads two RC channels and gives you 2 PWM outputs.  The RC controller PWM output can be set on as two independent controls or the channels can be mixed.  In addition to the PWM output, each PWM has a direction bit so when the stick is in reverse the direction bit is high, when the stick is pushed forward the direction bit is low.  The board also contains a single pole relay for turning a load on and off (as in method 1).  It also contains a single pole and double pole relay so you can turn a load on and off and reverse it (as in method 2). 

 

The controller on the RC board has also been programmed to filter and dismiss most erratic or lost readings. 

 

The PWM signals that are output from the RC board are only TTL levels (5V Transistor Transistor Logic).  To drive a motor or other load you need to take the PWM TTL signal and amplify it.  Our PWMs are rated for 3Amps and operate in 12-55VDC, which is good for the IG32 or IG42 motors.  The PWMs can be run in parallel, i.e. 2 PWMS motor controllers driven off of one PWM output.  i.e. with our ATR kits, we run two PWM to the left 2 motors (one per motor) and then two PWMs to the right motors when using the larger IG42 motors.

 

 

Method 4: You can use an integrated MD22 or MD03 motor controller that has an RC mode.  The MD22 is a dual channel (2 motor) controller.  The MD03 is a heavy duty single motor controller.  These controllers’ works fine, but does not have filtering and buffering making it a little more susceptible to noise and missed radio signals.  The MD22 and MD03 require 5V, you can pull this from the receiver, but if the voltage falls much below 5V, things start getting a little squirrelly.  If you are using a standard receiver NiCad pack, you will only get about 4.8V, which will work, but is borderline.  We recommend using a 7.2 or 9.6V battery pack and then use a 5V regulator to power the receiver and MD22 or MD03.

 

 

Method 5: You can use an integrated SaberTooth 2x10 or SaberTooth 2x25 motor controller.  Both motor controllers have an RC mode.  Both Motor controllers are dual channel, so they can be used to mix you radio signals for single stick skid steering or they can operate independently.  These controllers’ works fine, but they do not have filtering and buffering making it a little more susceptible to noise and missed radio signals.  They do utilize an running average and will reject out of range signals.  These controllers also supply 5V to drive your receiver.  The 5V supply is not powerful, so it should only be used for the receiver with no additional loads such as servos plugged into the receiver (you will want to use a separate 5V supply if you want to add servos to the other channels of the receiver.  We also carry the Syren 10 and 25 motor controllers for those who only want to drive one motor and save a little money from the dual motor controllers.

 

 

We have also had a custom Sabertooth 2x10 built specifically for the Spektrum RC systems.  With the new Spektrum RC systems we found some minor issues using them.  The RC signal was not as high a range for ms output and the receiver needs a little more power than 72/75 MHz radios.  It is also common to add a couple servos to the receiver and the standard Sabertooth RC does not have a large enough regulator for that.  So we have had these custom Sabertooths made with larger 5V switching supplies and reprogrammed to work with spektrum RC systems (they will still work great with other RC systems too).  This custom RC Sabertooth also has the larger heat sink than the standard RC Sabertooth.  Click here for a schematic of hooking up the custom Sabertooth with a Spektrum RC Radio.

 

  

Autonomous Robot Kits

 

Motor Hookup: In all cases, you want to hook up your motors properly using our electric motor hookup kit.

 

 

RC Controllers: RC controllers can be found on the link below.  All of the above will work with any RC controller.   PCM radios like the Optic6 and Eclipse7 have better range and reliability since these are digital radios and can be programmed with fail safes. 

 

We also carry the Spektrum Radios which we have had outstanding results with.  With the spread Spektrum frequency hopping DSM2™ technology we get great range and reliability regardless of the other 2.4GHz systems around like routers and phones.  The other benefit of 2.4GHz is most motor noise and mechanical noise/interference is well below this frequency which often causes issues with the 72 and 75MHz radio systems.

 

 

 
  Home   New Items   Contact   Support   Robots   Custom Engineering   Educational   Military/Law Enforcement
  • Robots |

  • Robot Parts |

  • Custom Robots |

  • All Terrain Robots |

  • Vector Robots |

  • Military Robots |

  • Swat Robots

Copyright © 2001-2010 SuperDroid Robots Inc.
SuperDroid Robots Inc. is incorporated in Wake County, NC USA
SuperDroid Robots also does business as Team Half-Life
SuperDroid Robots is a registered trademark of Team Half-Life.

Facebook Twitter Youtube