View Single Post
  #12   Spotlight this post!  
Unread 03-03-2016, 02:01 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Motors/solenoids won't work; Can't print to console

Quote:
Originally Posted by FRC3220 View Post
We checked our wiring with the diagrams, and it all matches...Are there any guides or pictures online for wiring a spike relay?


If you don't know how to wire a Spike, how can you say that it matches? You might not be understanding the right way to do it. Please answer the questions and let us help you. Tell us exactly where and what each of the seven connections on the Spike (GND, 12V, M+, M-, white, red, and black) is wired to. Be more specific and detailed than you think you need to, including everything that you think you're doing right, because you might be wrong about what right means.

Quote:
The LED on the relays is either off, or orange.
But when is it those colors? Please answer the questions and let us help you. What color is it when you turn on the robot? What color is it when you enable the robot using the Driver Station? What color is it when you're trying to run the motor?

Also show us the rest of your code, so we can verify that you're defining and initializing the relay objects properly.
Reply With Quote