Subject:
|
Re: What about multiplexing sensors?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 11 Nov 1998 20:07:06 GMT
|
Original-From:
|
Ben Laurie <BEN@ALGROUPstopspammers.CO.UK>
|
Viewed:
|
2840 times
|
| |
| |
Larry Coffin wrote:
>
> > Has anyone attempted to mux the three sensor connections to expand the
> > RCX's sensor capability? Think this is possible?
> >
> > I don't have an RCX of my own [yet] nor the EE capacity to pull this
> > off, so I'm counting on the geniuses out there!
>
> I've done it using an output port to control a MUX. I've been able
> to control up to three sensors through one input port. This could be
> extended to nine sensors through all three sensor ports.
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 output ports to get 12 sensors, or 1 to
get 6.
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
|
|
Message has 1 Reply: | | RE: What about multiplexing sensors?
|
| 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 (...) (26 years ago, 11-Nov-98, to lugnet.robotics)
|
Message is in Reply To:
| | Re: What about multiplexing sensors?
|
| (...) I've done it using an output port to control a MUX. I've been able to control up to three sensors through one input port. This could be extended to nine sensors through all three sensor ports. I'm working on ways to control more sensors both (...) (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
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|