Go to Post Unlike robot design, in the clothing world there's no such thing as too much pocketing - Jaci [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #16   Spotlight this post!  
Unread 10-03-2008, 16:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using Analog Inputs as Digital (on the OI)

Quote:
Originally Posted by sumadin View Post
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).
  #17   Spotlight this post!  
Unread 10-03-2008, 17:17
Guy Davidson Guy Davidson is offline
Registered User
AKA: formerly sumadin
FRC #0008 (Paly Robotics)
Team Role: Alumni
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ra'anana, Israel
Posts: 660
Guy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to beholdGuy Davidson is a splendid one to behold
Send a message via ICQ to Guy Davidson Send a message via AIM to Guy Davidson Send a message via MSN to Guy Davidson
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.
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
We need help with the analog inputs M_dalgashon Programming 4 08-02-2008 17:39
Code to Read the Binary Inputs on Analog Buttons Kingofl337 Control System 5 14-03-2007 11:01
Set Default Digital inputs to Low? How? bad Analog value? Generalx5 Programming 11 04-01-2007 18:57
How do the Analog Inputs work? JBotAlan Electrical 3 07-01-2005 00:11
Analog vs Digital inputs? f22flyboy Programming 8 08-11-2002 22:18


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

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