Subject:
|
Re: Multiplexing 4 touch sensors on an RCX input port
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Wed, 10 Sep 2003 21:20:04 GMT
|
Viewed:
|
4004 times
|
| |
| |
In lugnet.robotics.rcx, Steve Hassenplug wrote:
>
> While in theory, this sounds very cool, in pratice, I doubt it
> will work quite that well.
It works very well for me, with the variation that I use home-made
touch sensors that are actually microswitches embedded into 2x2
blocks. That does mean you might need to debounce in software, but
normally I don't bother since the inertia of the mechanicals is such
that a bit of contact bounce doesn't matter.
Everything uses the normal lego wires with 2x2 connectors on teh end.
The multiplexer is a 10x2 piece 2 plates thick, with teh resistors
embedded within it. This means that with the wires attached it's four
plates thick, and therefore neatly fits within the 'standard' 5 plate
vertical grid. I actually used a network of eight resistors in there
to get teh ratios closer to teh ideal 1:2:4:8.
Although it's homebrew, it _looks_ purist in every respect except teh
contact point of the touch sensors, which are obviously microswitches.
Built into something, all parts look like they could be genuine. I
could post photos somewhere if they would be of interest to anyone -
I'm very pleased with the compactness of teh multiplexer.
I have pbforth code that unmultiplexes teh contacts, but tend not to
program in anything else. Shouldn't be hard in anything else
though. Works a treat every time I've used it.
regards, Ian SMith
|
|
Message has 1 Reply:
Message is in Reply To:
13 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
|
|
|
|