View Single Post
  #1   Spotlight this post!  
Unread 19-09-2005, 19:50
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Using Spikes to emulate Victors

I am working on a robotics project with FIRST components, and I'm trying to keep costs as low as possible so I can still afford things like tuition and ramen.

I need my drivetrain motor to have some degree of variable speed, but Victors are very expensive. My low-cost solution is to use a Spike, and turn it on and off quickly to vary the speed. The way I see it is that I can get five different speeds (0-4) by having the Spike turned on for x out of every four program cycles, and then off for the remainder. Four program cycles is a very short duration of time, about 1/10 of a second, so I'm thinking that the output would just seem like a lower voltage to the motor.

Has anyone done anything like this? Is there any reason why I wouldn't be able to do this? I see that the switching time for the Spike is 5ms, which is far less than the 26.4ms program loop, so that shouldn't be a problem. Any advice would be appreciated.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_