Skip to content

Uses the PWM output from a motor controller to control a hobby motor via an electronic speed control

License

Notifications You must be signed in to change notification settings

hwswfun/PwmToServo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PwmToServo

Uses the PWM output from a motor controller to control a hobby motor via an electronic speed control

We use the Rev Robotics Hub in our robots for FIRST First Technology Challenge (FTC) competitions. The component selection for those competitions limit the type and size of motor for the robot. The Rev Robotics Hub is an excellent controller however it also has limitations on how much current it can supply. I am creating other robots at home with my other kids and wish to use the same software and controller. So, I needed a way to allow the Rev Robotics Hub to control a larger variety of motors.

Radio Control car motors are very powerful, inexpensive and standardized. The electronics and software in PwmToServo act like a fake load to the Rev Robotics Hub. The Arduino measures the voltage output from the Rev Robotics Hub, then translates that to a RC Servo type signal that is sent to the Electronic Speed Control (ESC).

My current configuration is:

  • Hobbywing QUICRUN Series 860 Dual 60A Waterproof Brushed Electronic Speed Controller ESC purchased via AliExpress
  • Goolsky AUSTAR 540 55T Brushed Motor.

Important Tips

  • This is not allowed in the FIRST FTC competition. Using this on a competition robot will disqualify you.
  • Pay attention to the power to the Arduino, speed controllers and Rev Robotics Hub.
  • 12V to the Rev Robotics Hub as usual.
  • 12V to the ESC
  • Ground of Arduino connected to the servo style connector on the Rev Robotics Hub that also has the +5v. Use that +5V ONLY when not connecting the Arduino to your computer to program or monitor the serial.

Hooking up power incorrectly could damage your computer and all the other components. I have not included a comprehensive circuit diagram depicting the power supply.

About

Uses the PWM output from a motor controller to control a hobby motor via an electronic speed control

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages