Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Arduino Motor Controller (http://www.chiefdelphi.com/forums/showthread.php?t=131385)

BN1557 06-12-2014 17:56

Arduino Motor Controller
 
Hey all! Has anyone ever tried to run Victors and motors from an Arduino? Our team is trying it as a temporary test for a drive train, and I was wondering if anyone has an ideas. Any help would be greatly appreciated! Thanks!

cgmv123 06-12-2014 18:01

Re: Arduino Motor Controller
 
We've done it. It's not that hard. Speed controllers are controlled just like servos. Use the Arduino servo library.

BN1557 06-12-2014 18:05

Re: Arduino Motor Controller
 
Thanks!

Ether 06-12-2014 18:19

Re: Arduino Motor Controller
 
Quote:

Originally Posted by BN1557 (Post 1411954)
Hey all! Has anyone ever tried to run Victors and motors from an Arduino? Our team is trying it as a temporary test for a drive train, and I was wondering if anyone has an ideas. Any help would be greatly appreciated! Thanks!

Will the drivetrain be stationary (e.g. up on blocks) or mobil?



BN1557 06-12-2014 18:24

Re: Arduino Motor Controller
 
Quote:

Originally Posted by Ether (Post 1411961)
Will the drivetrain be stationary (e.g. up on blocks) or mobil?



It will be mobile. Thanks for the reply!

billbo911 06-12-2014 20:39

Re: Arduino Motor Controller
 
One thing to consider while using the Servo library is you can also use writeMicroseconds. That will allow you to use valued outside the standard 1-2 ms range for controllers that can handle it.

Monochron 06-12-2014 21:31

Re: Arduino Motor Controller
 
We did this a while back and if there is one thing I recommend is trying to emulate some of the safety features built into the typical FRC control system.

For instance if you are wireless with the Arduino, have a watchdog that will disable your drive motors if you move out of range. Chasing down a rampaging robot stuck in full speed is no fun.

ajlapp 06-12-2014 21:57

Re: Arduino Motor Controller
 
This definitely works. We have an entire product based on the idea of running robots with Arduinos.

You the servo library for basic functions.

Or...load the RobotOpen library...this will also give you the ability to control the speed controller with a gamepad using our open-source driver station.

The library designed for the RobotOpen Control Shield should work fine on a standard Arduino. You'll have to map some of the pins differently, if not using our shield, but it can be done.

Send me a PM if you have any specific questions.

Quote:

Re: Arduino Motor Controller
We did this a while back and if there is one thing I recommend is trying to emulate some of the safety features built into the typical FRC control system.
The RobotOpen library adds these types of safety features and gives you a reliable method for enable/disable.

BN1557 06-12-2014 23:22

Re: Arduino Motor Controller
 
Thanks for all the help. I appreciate it!


All times are GMT -5. The time now is 14:00.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi