View Single Post
  #11   Spotlight this post!  
Unread 03-03-2016, 12:45 PM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,539
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo 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. The LED on the relays is either off, or orange. Are there any guides or pictures online for wiring a spike relay?
Do you have the spike blue manual? (linked from the Vex page where the relay is sold).

If the LED goes straight from orange to black, this means that both sides of the relay are switching at the same time (or that you're losing power). It appears you are using kForward not kOn, so I'll move on to hardware. The first thing I can think of is that the red and white wires on your "PWM" data cable are shorted to each other, or that there is a similar short in your RIO or Spike. If the cable tests OK, look in the connector wells for swarf (metal shavings) or other conductive material.

Edit: If you get through all of those, put a meter or the output of the data cable and see what you get. When the motor is supposed to be going forward, you should get 0V on red and 5V on white (using the black data wire as a reference). It looks like you are having both go to 5V at the same time.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 03-03-2016 at 01:11 PM.
Reply With Quote