To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2197
2196  |  2198
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:
  RE: Multiplexing 4 touch sensors on an RCX input port
 
(...) Ian, Great to see that you are having success with pbForth! I have a couple of questoins: 1. Which version are you using? 2. Are there any features you REALLY wish were available? 3. Do you have any stories or code to share? Ralph ---...--- (...) (21 years ago, 10-Sep-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Re: Multiplexing 4 touch sensors on an RCX input port
 
(...) While in theory, this sounds very cool, in pratice, I doubt it will work quite that well. The biggest problem will be that the standard touch sensors may not be 100% on when you press it. This means the sensor itself can provide some (...) (21 years ago, 9-Sep-03, to lugnet.robotics.rcx)

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
    

Custom Search

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