Go to Post (middle school age) One time I had a truly awful day at school and came home crying. My mother's response? "Do you want to go to the build session tonight? It will make you feel better.." And it did. It always does. - rachelholladay [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 22-08-2014, 16:57
achen15 achen15 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: Crystal Springs Uplands School
Posts: 16
achen15 is an unknown quantity at this point
Spike trouble with pneumatics, maybe dlink issue too?

Hey everyone,

To my understanding, when you turn the robot on, the spike controlling our pneumatic switch should turn either red/green from orange. Our spike stays orange. We can't hear anything coming from the compressor, but every other mechanism on the robot works. What's going wrong?

Also, if this has anything to do with it, the dlink turns red upon first turning on. Then, after around 10-15 seconds, it turns blue and the robot runs functionally. (asides from the pneumatics)
  #2   Spotlight this post!  
Unread 22-08-2014, 17:11
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

The control (pwm) connector can be pretty finicky. Verify the green LED next to the correct relay port is lit on the DSC, then twiddle/replace the signal cable until it works.
  #3   Spotlight this post!  
Unread 22-08-2014, 17:14
Bryce Paputa's Avatar
Bryce Paputa Bryce Paputa is offline
FF TSL: Frog Farce
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Novi Michigan
Posts: 454
Bryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

That is what the router is supposed to do, the red light signals that it is booting up. I assume you mean that it doesn't work when you enable the robot right? When you turn the robot on it shouldn't do anything at all until it is enabled. Other than that, it's probably either an issue with the wires and connections going to the spike and and pressure switch from the digital sidecar, a programming issue, or an issue with the pressure switch itself.

Try temporarily shorting the leads of the pressure switch while the robot is enabled, if this turns on the compressor, then you have a bad pressure switch. If that doesn't do anything, then make sure that the wires and their connectors are good and plugged in to the ports specified in the programming.
  #4   Spotlight this post!  
Unread 22-08-2014, 17:46
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

Quote:
Originally Posted by achen15 View Post
Hey everyone,

To my understanding, when you turn the robot on, the spike controlling our pneumatic switch should turn either red/green from orange. Our spike stays orange. We can't hear anything coming from the compressor, but every other mechanism on the robot works. What's going wrong?

Also, if this has anything to do with it, the dlink turns red upon first turning on. Then, after around 10-15 seconds, it turns blue and the robot runs functionally. (asides from the pneumatics)
The red light on the dlink is normal.

On the DSC, next to the connector for the compressor relay, is the light turning green? If not, you have a programming problem.
  #5   Spotlight this post!  
Unread 22-08-2014, 18:03
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Spike trouble with pneumatics, maybe dlink issue too?

Do you have the code that controls the pneumatics? If so, can you share it?
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)
  #6   Spotlight this post!  
Unread 22-08-2014, 19:26
achen15 achen15 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: Crystal Springs Uplands School
Posts: 16
achen15 is an unknown quantity at this point
Re: Spike trouble with pneumatics, maybe dlink issue too?

All LEDs on the DSC are green, and I don't think it's a programming problem. We used the bot all throughout competition and our fairly simple code was never an issue for us. I might try shorting the leads on the pressure switch to see if I get any response.
  #7   Spotlight this post!  
Unread 22-08-2014, 19:32
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

Quote:
Originally Posted by achen15 View Post
All LEDs on the DSC are green, and I don't think it's a programming problem. We used the bot all throughout competition and our fairly simple code was never an issue for us. I might try shorting the leads on the pressure switch to see if I get any response.
I'm not talking about the three green LEDs for 5V, 6V, and BAT, I'm talking about the row of LEDs next to the relay outputs.

Next to the relay port where the compressor's relay is plugged into, there should be a green light that comes on when the robot is enabled.
  #8   Spotlight this post!  
Unread 22-08-2014, 20:45
achen15 achen15 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: Crystal Springs Uplands School
Posts: 16
achen15 is an unknown quantity at this point
Re: Spike trouble with pneumatics, maybe dlink issue too?

No relay LED's illuminate when turned on.
  #9   Spotlight this post!  
Unread 22-08-2014, 20:48
achen15 achen15 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: Crystal Springs Uplands School
Posts: 16
achen15 is an unknown quantity at this point
Re: Spike trouble with pneumatics, maybe dlink issue too?

Also, here is our robot's code, if that helps.
Attached Files
File Type: zip SimpleTemplate (2014 code from Zach).zip (1.89 MB, 13 views)
  #10   Spotlight this post!  
Unread 22-08-2014, 21:01
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Spike trouble with pneumatics, maybe dlink issue too?

Hmm. You have the relay set to turn "On" with the operator's controls. You should use "Forward" instead of "On."

Anyway, you should check the operator's controls. That may be it.

Edit: Just realized it was rigged to a pressure switch. Sorry.
__________________
Team 3525 Head Programmer (2014- ) - Java (Formerly LabVIEW)

Last edited by pastelpony : 22-08-2014 at 22:04.
  #11   Spotlight this post!  
Unread 22-08-2014, 21:43
DampRobot's Avatar
DampRobot DampRobot is offline
Physics Major
AKA: Roger Romani
FRC #0100 (The Wildhats) and FRC#971 (Spartan Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Stanford University
Posts: 1,277
DampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

Spikes are extremely finicky. They were the bane of 100's offseason last year, I think we used our three timeouts at each of our three offseasons on fixing a spike that suddenly decided not to turn on when we enabled. Try switching out spikes, Pwm cables, and verify that when the robot is enabled, the relay output goes on as expected. And verify that the pressure switch is closed when the pressure is under 115 psi or so, and that it is connected correctly to the DSC.

One option if you're sick and tired of spikes breaking for the stupidest reasons, you can use a Talon instead. You will need to put the Talon on a regular PWM port on the DSC instead of a relay port, and you will need to change software, but it's an option that works. Keep in mind that this is illegal, but as long as you have a correctly working and programmed pressure switch and a correctly installed emergency relief valve on the compressor, this is just as safe as using a spike.

Like others have said, the router thing is normal.
__________________
The mind is not a vessel to be filled, but a fire to be lighted.

-Plutarch
  #12   Spotlight this post!  
Unread 22-08-2014, 21:59
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,113
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: Spike trouble with pneumatics, maybe dlink issue too?

Since the Compressor relay is configured as "forward only", setting it "On" will work fine.

Since you say you don't get a green LED next to the relay pins, the Spike LED will stay orange. Don't focus on the Spike until you get the proper response from the Digial Sidecar relay status LED.

How do you have your pressure switch wired? Specifically, which pins on the Digital Sidecar are connected to it?

Your code is well-instrumented with appropriate feedback via Network Tables. What do you see the pressure switch value doing when you run the code?
  #13   Spotlight this post!  
Unread 23-08-2014, 15:45
hwill459 hwill459 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: California
Posts: 1
hwill459 is an unknown quantity at this point
Re: Spike trouble with pneumatics, maybe dlink issue too?

this is what our digital sidecar looks like (same robot as achen15)
Attached Thumbnails
Click image for larger version

Name:	IMG_5080.JPG
Views:	48
Size:	1.22 MB
ID:	17261  
  #14   Spotlight this post!  
Unread 23-08-2014, 17:19
achen15 achen15 is offline
Registered User
FRC #4990
 
Join Date: Apr 2014
Location: Crystal Springs Uplands School
Posts: 16
achen15 is an unknown quantity at this point
Re: Spike trouble with pneumatics, maybe dlink issue too?

I have no idea why, but the relay LED now turns on when we enable the robot (we have it plugged into #1). The cable where the LED lights up leads to the spike, but the spike is still orange. How do we get the spike to read green or red?

We also realized that whenever we unplug the pressure switch from the Digital I/O, the relay LED corresponding to the PWM cable going to the spike turns off. That's normal, correct?

Last edited by achen15 : 23-08-2014 at 17:25.
  #15   Spotlight this post!  
Unread 23-08-2014, 17:36
DampRobot's Avatar
DampRobot DampRobot is offline
Physics Major
AKA: Roger Romani
FRC #0100 (The Wildhats) and FRC#971 (Spartan Robotics)
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Stanford University
Posts: 1,277
DampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond reputeDampRobot has a reputation beyond repute
Re: Spike trouble with pneumatics, maybe dlink issue too?

Quote:
Originally Posted by achen15 View Post
I have no idea why, but the relay LED now turns on when we enable the robot (we have it plugged into #1). The cable where the LED lights up leads to the spike, but the spike is still orange. How do we get the spike to read green or red?

We also realized that whenever we unplug the pressure switch from the Digital I/O, the relay LED corresponding to the PWM cable going to the spike turns off. That's normal, correct?
Yes, that's how it should be. When the DSC senses the pressure switch is open (ie, disconnected or over ~115psi), it turns the compressor relay off.

Basically, from what you're telling us, it seems like a PWM cable or spike problem at the moment. Try switching out the cable and/or spike with new ones until the light on the spike goes on.
__________________
The mind is not a vessel to be filled, but a fire to be lighted.

-Plutarch
Closed Thread


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:27.

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