Go to Post Silly FIRST mentor -- actually spending brain power caring about a sporting event occuring during build season! - Aidan F. Browne [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 11-02-2013, 10:13
chris.boyle's Avatar
chris.boyle chris.boyle is offline
Programming Mentor
FRC #0068 (Truck Town Thunder)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Truck Town Thunder (Brandon)
Posts: 36
chris.boyle is on a distinguished road
Re: Compressor With Spike Problems

We kept having the same problem. It was very intermittent. Sometimes the compressor would run, sometimes not. We swapped out the digital side car and then checked each of the cables to ensure that they were not broken in the middle. In the end we rewrote the Compressor Control loop to something much simpler.

See attachment Compressor.bmp for our code.

The compressor runs correctly now.

Good luck.
Attached Images
File Type: bmp Compressor.bmp (738.2 KB, 77 views)
__________________
2014 Chairman's Award--Michigan State Championship
2014 Chairman's Award--Waterford District
2014 Winner--Great Lakes Bay District
2013 Chairman's Award--Kettering District
2012 Championship Division Finalists--Thanks 330 and 639
  #2   Spotlight this post!  
Unread 11-02-2013, 11:02
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Compressor With Spike Problems

All,

It seems like yogi knows he doesn't have a pressure switch and can't use the compressor control loop at the moment. I think he's just trying to get the compressor to run to check out his relay wiring and the compressor. So he's just running the compressor as you would for any other Spike actuated motor. I presume he'll rectify the pressure switch and control loop issues one he gets a pressure switch.

yogi,

If you could upload your Begin.vi and Teleop.vi or post screenshots, that would really help. Other questions: What's your robot signal light doing while you're trying this? Do you have drive code or something that IS working and this compressor relay is the only thing that's not? Do you have 12V power wired to you sidecar? It doesn't really work without power.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #3   Spotlight this post!  
Unread 19-02-2013, 09:55
jcbc's Avatar
jcbc jcbc is offline
Registered User
AKA: Julie
no team
 
Join Date: Aug 2010
Rookie Year: 2011
Location: PA
Posts: 53
jcbc is a jewel in the roughjcbc is a jewel in the roughjcbc is a jewel in the roughjcbc is a jewel in the rough
Re: Compressor With Spike Problems

Quote:
Originally Posted by chris.boyle View Post
We kept having the same problem. It was very intermittent. Sometimes the compressor would run, sometimes not. We swapped out the digital side car and then checked each of the cables to ensure that they were not broken in the middle. In the end we rewrote the Compressor Control loop to something much simpler.

See attachment Compressor.bmp for our code.

The compressor runs correctly now.

Good luck.
Thank you very much for posting this! We have been having intermittent compressor issues with the simplest code and we checked wiring, DSC, modules and breakouts, etc. We will be trying your replacement for the compressor control loop tonight before bagging.

[EDIT] Update after running the code posted by Chris: So far, so good! (Yay!) I want to see it run consistently for another programming session to be certain, but it looks like the WPI compressor control loop VI does not work.

Last edited by jcbc : 19-02-2013 at 23:38.
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 16: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