To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 1836
1835  |  1837
Subject: 
More input
Newsgroups: 
lugnet.robotics
Date: 
Mon, 28 Dec 1998 03:39:18 GMT
Original-From: 
MwalimuB@aol.com!nospam!
Viewed: 
1239 times
  
After realizing that the input ports read resistance, I had an idea.  Suppose
that I used a network of switches and parallel resisters to differentiate
between switches?  Here's the circuit I have in mind:


gnd-----+--[22k]------ switch --+     A
                 |                              |
                +--[15k]-------switch----|     B
                 |                              |
                +--[10k]--------switch---|     C
                 |                              |
                input                      input
                 port                        port

The combinations of possible switch closures are:

A -  22,000 ohms Formulas - 2 resistors in parallel -
B   -   15,000 ohms (R1 X R2) / (R1+R2)
C   -   10,000 ohms
AB -   6,000 ohms 3 resistors in parallel -
AC -     6,875 ohms 1 / (1/R1 + 1/R2 + 1/R3)
BC -     8,919 ohms
ABC-    4,714 ohms

I haven't determined the values for various resistance's, but I did get 509 as
a RAW value for a 10K ohm resistor, while 33K gave me a RAW value of 145.  I
obviously need to investigate some more and build my circuit.

chris



Message has 2 Replies:
  Re: More input
 
A similar scheme can be found at: (URL) Just go to the section about dealing with only three inputs. Mike G. (26 years ago, 29-Dec-98, to lugnet.robotics)
  Re: More input
 
Check the URL Mike, I hit a dead end. (...) -- Richard Clemens, Associate Professor Computer Science Department West Virginia Wesleyan College 59 College Avenue, Buckhannon, WV 26201 304-473-8421 clemens@wvwc.edu -- Did you check the web site (...) (26 years ago, 29-Dec-98, to lugnet.robotics)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
17 minutes ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR