Go to Post If your logo is your team number in a font 4" tall in 1/2" stroke, colored/outlined in white, then yes. Otherwise, no. - cadandcookies [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 01:08
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Re: Air Compressor Will Not Initiate

Quote:
Originally Posted by Alan Anderson View Post
You believe it's wired properly. Why should we believe it? The proper wiring is pretty simple. Tell us how you've done it so we can confirm it. It's often best to double-check the simple stuff before putting forth much effort trying to think of what else might be wrong.
Ok so we have a pwm cable coming from the spike relay of the air compressor to relay spot 1 on the sidecar. Then the pressure switch is wired to the DIO spot 1 on the sidecar. Specifically the signal pin and + pin.
__________________
MRT 3216
2010- Salt lake City Highest Rookie Team seed
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2012, 02:42
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: Air Compressor Will Not Initiate

Quote:
Originally Posted by Slothbron View Post
Ok so we have a pwm cable coming from the spike relay of the air compressor to relay spot 1 on the sidecar. Then the pressure switch is wired to the DIO spot 1 on the sidecar. Specifically the signal pin and + pin.
For a switch input to be read by the program, you need to use the signal pin and the ground (-) pin. The Digital Sidecar inputs are already at +5 volts when nothing is connected to them. You have to pull them low in order to register a change.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2012, 13:38
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Re: Air Compressor Will Not Initiate

Ok so you fixed the pins now we have one wire going to the signal and one to the negative. But it will still not start when we enable the robot.
__________________
MRT 3216
2010- Salt lake City Highest Rookie Team seed
Reply With Quote
  #4   Spotlight this post!  
Unread 29-01-2012, 18:02
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: Air Compressor Will Not Initiate

Quote:
Originally Posted by Slothbron View Post
Ok so you fixed the pins now we have one wire going to the signal and one to the negative. But it will still not start when we enable the robot.
I assume you followed Greg's advice to make the compressor control loop active in Periodic Tasks?

Disconnect the pressure switch from the Digital Sidecar and measure continuity between the contacts. They should be shorted together when the pressure is too low. If there is an open circuit, replace the switch. Check the Digital Sidecar and look to see whether the relay is being asked to turn on (there should be a green LED lit next to the pins for relay #1). If it is, look at the LED on the Spike (it should change from yellow to green when the robot is enabled).
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 11:39.

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