Go to Post I want to use some of that mass-less rod in our robot - saves weight. - ebarker [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 02-03-2012, 09:02 AM
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 56
java4first is an unknown quantity at this point
Re: Spike Relay?

I just struggled with that last night ;-) Remember, I'm a software guy - but here's the list of problems I had with our I&T chassis, so maybe they'll help you.

(1) Make sure there is a fuse in the power distribution panel port you have the relay wired to. When you power on the robot, the LED on the Spike should be glowing brightly.

(2) The PWM goes from the Spike to one of the Relay ports on the digital side car.

(3) We made a PWM cable with the connector to plug into one of the DIO ports on the digital sidecar and left the black and white wires stripped on the other end.

(4) Make sure you do the constructor to the Compressor in the right order (the WPI documentation text enumerates them one way, and the actual argument order is reversed).

(5) Make sure you call start() after creating the instance.

(6) Short the two wires to the DIO together and the compressor will run (simulates low pressure). Separate them and the compressor will stop.

If you are sending the data to the default Dashboard that comes with the NI install, you should see the appropriate lights on the GPIO and the Relay 'LEDs'.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:15 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi