> Chuck McManis gave me a circuit diagram...
Hmmm... Here's what I was trying:
[*] for connection
[D] for diode like this: -*->|-*
|
Binary
1-------*----|----D----|----D----|----D
| | | | | | |
| | | | | | |
2-------|----*----D----|----|----D----D
| | | | | | |
| | | | | | |
3-------|----|----|----*----D----D----D
| | | | | | |
| | | | | | |
| | | | | | |
\ \ \ \ \ \ \
*----*----*----*----*----*----*----GND
Switch: 1 2 3 4 5 6 7
Or, to put it in flat english:
switch 1 to binary pin 1, direct connect
switch 2 to binary pin 2, direct connect
switch 3 to binary pin 1 through diode
switch 3 to binary pin 2 through diode
switch 4 to binary pin 3, direct connect
switch 5 to binary pin 1 through diode
switch 5 to binary pin 3 through diode
switch 6 to binary pin 2 through diode
switch 6 to binary pin 3 through diode
switch 7 to binary pin 1 through diode
switch 7 to binary pin 2 through diode
switch 7 to binary pin 3 through diode
This should let me detect any one switch closed or
all switches open. What I get is the ability to
detect switches 1, 2 and 4 and no others... which
leads me to the conclusion that the diodes are a problem.
Received on Tue Feb 22 2000 - 18:15:27 GMT
This archive was generated by hypermail 2.3.0
: Fri Oct 10 2014 - 23:32:53 BST