View Single Post
  #5   Spotlight this post!  
Unread 31-01-2015, 10:04
hyprvx's Avatar
hyprvx hyprvx is offline
Registered User
AKA: Devon
FRC #2151 (Monty Pythons)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Forest Park
Posts: 22
hyprvx is an unknown quantity at this point
Re: Relays only going backwards?

Quote:
Originally Posted by notmattlythgoe View Post
When you step through the code with the debugger does it attempt to execute the line that sets the relay to forward?
Yes, we see it's executing relayArms.set(Relay.Value.kForward); but no light change occurs.

Quote:
Originally Posted by mmaunu View Post
Have you verified that you are correctly detecting button 6? The debugger shows that you are in the correct loop when button 6 is held down?
We are detecting button 6, and the second part just answered above.

Quote:
Originally Posted by Joe Ross View Post
Does the LED on the relay change when you command the relay in reverse?
Yes, the relay LED changes to indicate reverse, and outputs the -12v, but does nothing on forward.

The relay is to control the motor for part of our arms mechanism.


This is a photo of our electronics board. The spike I am pointing to is the one we wish to control. The spike on the right does not work properly and will be removed soon.
__________________
My userbars were eaten by Cthulhu.


FRC team 2151, the Monty Pythons!
Reply With Quote