Go to Post "It's not child labor if they wear a team shirt!" - Vermeulen [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 23-02-2004, 08:25
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Exclamation Digital Inputs interfering with each other

Edit2: This problem has probably been solved, all you heroic problem solvers can go save some other team at the last moment.

Edit: When I say compressor in the below paragraph, I am talking about the pressure switch. Sorry for the bad writing, I guess it comes off as me saying the compressor is wired directly to the RC. This is not the case.

Basically, the title is my problem.

We have our digital inputs set up like this:
1: Right infrared sensor
2: Middle infrared sensor
3: Left infrared sensor

5: A little pressure switch (just installed)
6: Compressor pressure switch (was working)

Before we installed the little pressure switch, we were having problems, but it made them worse. Before, when the compressor switch was on (value=0), none of the infrared sensors would pick up anything. Once the compressor switch turned off (value=1), they would act normally. When we put on this little switch, things got worse. The compressor switch would still go on (value=0) and off (value=1) normally, but whenever the switch was pressed, it would cause rc_dig_in06 to change to 0, causing the compressor to turn on. rc_dig_in06 would operate in complete opposition to rc_dig_in05. So, in an effort to debug the problem, we moved the compressor switch to rc_dig_in10, while monitoring rc_dig_in06. When we put the compressor on the 10th one, it would continue to act in opposition of the switch, while rc_dig_in06 was acting quite normally, in that it was always 1, never changing (as it had nothing hooked up to it)

In summary, here is our wierdness:
1. rc_dig_in01 = rc_dig_in02 = rc_dig_in03 = 1 when the compressor is running, but act properly when it is off.
2. Compressor pressure switch = !little switch (that's a NOT operator). When compressor switch is moved to different input, problems persist.
3. When the switch is taken off, all is well (although problem #1 persists)


Our compressor pressure switch is wired so that we have the yellow and white wires (signal and middle of PWM cable) on one side, and the black wire on the other side. We never quite figured out how we were supposed to wire it, but that configuration seemed to be working fine.

Last edited by Bongle : 23-02-2004 at 09:31.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plez help me Wacko324 Control System 8 26-01-2004 20:24
digital inputs not valid just after initialization? WizardOfAz Programming 2 26-01-2004 13:21
How to access other Digital inputs on OI? DougHogg Electrical 2 12-03-2003 13:57
Serial Port and Custom Circuit Ryan Meador Programming 40 06-02-2003 11:34
Digital inputs, bandwith, errors? Micah Brodsky Programming 7 20-01-2003 16:08


All times are GMT -5. The time now is 20:32.

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