Go to Post When you're in a field as deep as the Championship go offensive or go home. It's that simple. - thefro526 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-12-2014, 17:56
BN1557's Avatar
BN1557 BN1557 is offline
Team Captain/Drive Coach/Mechanical
FRC #1557 (12 Volt Bolt)
Team Role: Leadership
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Eustis, FL
Posts: 7
BN1557 is an unknown quantity at this point
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!
  #2   Spotlight this post!  
Unread 06-12-2014, 18:01
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,077
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
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.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #3   Spotlight this post!  
Unread 06-12-2014, 18:05
BN1557's Avatar
BN1557 BN1557 is offline
Team Captain/Drive Coach/Mechanical
FRC #1557 (12 Volt Bolt)
Team Role: Leadership
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Eustis, FL
Posts: 7
BN1557 is an unknown quantity at this point
Re: Arduino Motor Controller

Thanks!
  #4   Spotlight this post!  
Unread 06-12-2014, 18:19
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,066
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Arduino Motor Controller

Quote:
Originally Posted by BN1557 View Post
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?


  #5   Spotlight this post!  
Unread 06-12-2014, 18:24
BN1557's Avatar
BN1557 BN1557 is offline
Team Captain/Drive Coach/Mechanical
FRC #1557 (12 Volt Bolt)
Team Role: Leadership
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Eustis, FL
Posts: 7
BN1557 is an unknown quantity at this point
Re: Arduino Motor Controller

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


It will be mobile. Thanks for the reply!
  #6   Spotlight this post!  
Unread 06-12-2014, 20:39
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
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.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #7   Spotlight this post!  
Unread 06-12-2014, 21:31
Monochron's Avatar
Monochron Monochron is online now
Engineering Mentor
AKA: Brian O'Sullivan
FRC #4561 (TerrorBytes)
Team Role: Engineer
 
Join Date: Feb 2007
Rookie Year: 2002
Location: Research Triangle Park, NC
Posts: 899
Monochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond reputeMonochron has a reputation beyond repute
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.
  #8   Spotlight this post!  
Unread 06-12-2014, 21:57
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
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.
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
  #9   Spotlight this post!  
Unread 06-12-2014, 23:22
BN1557's Avatar
BN1557 BN1557 is offline
Team Captain/Drive Coach/Mechanical
FRC #1557 (12 Volt Bolt)
Team Role: Leadership
 
Join Date: Nov 2014
Rookie Year: 2009
Location: Eustis, FL
Posts: 7
BN1557 is an unknown quantity at this point
Re: Arduino Motor Controller

Thanks for all the help. I appreciate it!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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