Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Digital Sidecar problem (http://www.chiefdelphi.com/forums/showthread.php?t=75260)

Jon Stratis 27-02-2009 00:11

Digital Sidecar problem
 
Near the end of the day today, when we had stuff finally working like it was supposed to, we discovered a rather odd problem with one of our DSC's. We have a limit switch that was hooked into the digital I/O 6 port, while most of our motors were being driven from the PWM ports on the same DSC. Well, whenever the limit switch was closed (linking signal to +5V), all the motors would stop, with blinking orange lights on the victors/jaguars. After finally tracking down the problem, we pulled out the PWM cable for that port and stuck in a new one, hooked up to a new limit switch (in order to determine if there was a short somewhere in the existing wiring) and saw the same problem. After looking into it a while, we noticed the +5V LED went off whenever that limit switch was pressed.

We moved the switch to a different Digital I/O port, and everything works just fine now, but i was wondering if anyone else has seen a similar problem with the DSC?

Zyrano 27-02-2009 03:26

Re: Digital Sidecar problem
 
We had kind of a similar experience, my students couldn't figure out why the code wouldn't work, after looking at it long and hard, noticed that the 5V light on the dsc wasn't on (all other lights were on) and the speed controllers only blinked. turned out that a piece of metal shaving had gotten into the dsc and somehow managed to short the 5v circuit.

Russ Beavis 27-02-2009 06:46

Re: Digital Sidecar problem
 
If you've got your switch wired between 5V and GND instead of SIG and GND, whenever the switch closes, the 5V supply is directly shorted out and will essentially disable your Digital Sidecar. The 5V supply has short circuit protection for this very reason.

Switches need to be wired between SIG and GND (the two pins on the outer rows of the Digital I/O header). There is an internal (to the DSC) 10kOhm pull-up that will set the digital input to logic 1 when the switch is open.

Russ

Jon Stratis 27-02-2009 07:47

Re: Digital Sidecar problem
 
We triple checked the wiring on the switch with the multimeter - we definitely are NOT shorting gnd and +5V - otherwise it wouldn't start to magically work when we plugged it into a different port.

Vikesrock 27-02-2009 09:12

Re: Digital Sidecar problem
 
Quote:

Originally Posted by eagle33199 (Post 828460)
We triple checked the wiring on the switch with the multimeter - we definitely are NOT shorting gnd and +5V - otherwise it wouldn't start to magically work when we plugged it into a different port.

As mentioned above, if there is a metal shaving shorting the SIG and GND pins on that one port then when you close the switch it would short 5v and GND.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi