Subject:
|
RE: What about multiplexing sensors?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 11 Nov 1998 20:49:17 GMT
|
Original-From:
|
Tilman Sporkert <TILMAN@NSCALEnomorespam.ACTIVESW.COM>
|
Viewed:
|
2971 times
|
| |
| |
You should be able to have three or more on/off sensors share a single input
port without multiplexing. Just use a different resistor for each, so that
any combination of pressing the three sensors yields a unique value out of 8
possible. For example, if you use 100, 200, and 400 Ohms, you get these 8
readings:
57 (1+2+3), 66 (1 + 2), 80 (1 + 3), 100 (1), 133 (2 + 3), 200 (2), 400 (3),
open (none).
This requires true on/off sensors, like mechanical switches. The Lego touch
sensors will probably not work as they have been reported to not be true
on/off switches. You might need additional components, like an OpAmp, to use
them in this fashion. A circuit for doing that was posted on this list some
time ago.
Tilman
|
|
Message is in Reply To:
| | Re: What about multiplexing sensors?
|
| (...) Hang on - if you use all 3 outputs to control the MUX (which leaves me wondering why you'd bother - trees falling in forests and all that) you can get 24 inputs, even if you only treat each output as binary. More plausibly, you can use 2 (...) (26 years ago, 11-Nov-98, to lugnet.robotics)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|