Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Using Analog Inputs as Digital (on the OI) (http://www.chiefdelphi.com/forums/showthread.php?t=65576)

Alan Anderson 10-03-2008 16:38

Re: Using Analog Inputs as Digital (on the OI)
 
Quote:

Originally Posted by sumadin (Post 715834)
Hmm. I'm just about to wire the switch, and I'm wondering if I really need a connection to ground. Shouldn't I just be able to wire: +5 aux -> 10k resistor -> switch -> analog input, all in series?

You've got it right. An open circuit will be read as 127, and with the switch closed you should see something like 230. No ground connection is needed (or wanted -- it could trigger the open-circuit detector and be read as 127 too).

Guy Davidson 10-03-2008 17:17

Re: Using Analog Inputs as Digital (on the OI)
 
Awesome, thank you very much. This is all coming as a good use of our fix-it window to improve upon our control system.


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

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