Go to Post Remember: This is High School Competition. - rich2202 [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

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2014, 13:37
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Programming the Air Compressor and Pressure Switch

Quote:
Originally Posted by puneeth.meruva View Post
We are using the same code as that which was given on the WPI tutorials. However, when we enable the robot, the compressor does not turn on and the LED's beside the relay ports on the sidecar do not turn on either. However, I am sure that there isn't any errors with the code since it is identical to the tutorials. Does anyone know what could be happening? Could the spike relay or the sidecar be faulty?
If there is no light on the DSC relay channel the spike isn't malfunctioning (not yet at least).

How is your pressure switch wired?

You should have a signal wire and ground wire going to the switch. This cable should plug into a digital I/O port on the DSC.
See the wires on the pressure switch in this figure
__________________
http://team2168.org
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2014, 10:00
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 330
fovea1959 will become famous soon enough
Re: Programming the Air Compressor and Pressure Switch

  1. put together a test project in RobotBuilder that has one subsystem, one relay output (where the compressor is) and one digital input (where the switch is).
  2. Load the project into the robot.
  3. Put the robot into test mode
  4. Go into the livewindow and manually try to turn the compressor on.
  5. If the compressor doesn't fire up, you've got data flow or power problem; if the compressor fires up, you know your wiring is good.
.
Reply With Quote
Reply


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 16:52.

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