Go to Post If something on your robot isn't working, then why don't you take the responsibility to fix it? Isn't that what being a TEAM is all about? - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 04-02-2014, 21:41
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Programming issues

I'm having a very weird programming issue. We're trying to add a compressor to the robot.

http://i.imgur.com/caAmo2B.png
http://i.imgur.com/yWJXS5Z.png

The spike is connected to the digital sidecar on relay 1, and I confirm the relay is working (because I wrote a very simple test program and all it does is open relay 1 and set it to run forward).

Additionally, we have the pressure switch that is supposed to open at 115 psi connected to Digital I/O 1 on the digital sidecar. The two outer pins of the DIO is connected to the two terminals of the pressure switch. The problem is when the pressure rises to 125psi (beyond 115) the pump keeps running. To diagnose the problem I tried to read the DIO directly and send it to the dashboard but adding the DIO to the code stops the code from working. Simply adding the DIO stops the compressor from running.

http://i.imgur.com/Qd153yO.png

Additionally sometimes when teleop is started, the motors will sometime randomly jitter, turning the wheel a tiny amount. Very weird. The drive system seems to respond correctly though. The rangefinder attached to the analog module seems to work correctly through all this.

Any idea what could have gone wrong? I can't figure out what could possibly be wrong. Could this be a bad sidecar? I remember one year we had a problem like this because the cable was incorrectly assembled, but the cable seems ok this time. Has anyone had this problem before?
 


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

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