View Single Post
  #2   Spotlight this post!  
Unread 13-03-2010, 17:45
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: custom LED lights on FRC robot

You could hook it up to a Victor, but it would probably be a better idea to use Spikes. Since you probably want them either on or off, connect them to a Spike relay and get two channels of control from one relay port. On the software end, set it to OFF for M+ and M- to be OFF, Forward for M+ to be on and M- to be off, Reverse for M- to be in and M+ to be off, or ON for M+ and M- to be off. Connect the + wires from your LED's (assuming they can handle 12v) to the M+ or M- output on the Spike (you could have a different color on the other one, btw) and the - wire to any black connector on the PD board. We happen to have 3 automotive cold-cathode lights on our robot, driven by two Spike relays off of 20 amp breakers. These fit under "custom circuits" in the rules and must be driven off of either Low voltage supplies on the Analog or DSC or a 20 amp breaker.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack