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 / 2202
     
   
Subject: 
Re: Multiplexing 4 touch sensors on an RCX input port
Newsgroups: 
lugnet.robotics.rcx
Date: 
Thu, 11 Sep 2003 16:03:39 GMT
Viewed: 
3806 times
  

"Steve Hassenplug" <Hassenplug@mail.com> wrote:
[snip]
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 resistance,
depending on how hard you press it.

You can test this by hooking up a touch sensor (configured to display raw
values) and softly press it.  You'll notice, the harder you press it (to a
point) the more the number changes.  (I forget if they go up or down, using the
standard software/firmware).  Then, as you release the button (VERY slowly) you
see the numbers change, again.

This has always annoyed me about the Lego touch sensors. Has anyone
ever made or seen a contraption that uses the variable pressure
sensitivity of the Lego touch sensors?


Tim

   
         
   
Subject: 
Re: Multiplexing 4 touch sensors on an RCX input port
Newsgroups: 
lugnet.robotics.rcx
Date: 
Fri, 12 Sep 2003 01:10:24 GMT
Viewed: 
3888 times
  

Tim Auton wrote:

This has always annoyed me about the Lego touch sensors. Has anyone
ever made or seen a contraption that uses the variable pressure
sensitivity of the Lego touch sensors?


Tim
I've made one. A wall follower. I set the sensor to raw mode and looked at three
ranges. It tried to stay in the middle range, which for this 'bot meant lightly
touching the wall. The wall follower had a bumper analogous to a highly curved
(180 degrees) insect feeler. The touch sensor was oriented vertically and the end
of the feeler nearest the 'bot moved horizontally over the bump on the sensor. I
think I used a technic #3 angle connector ( http://www.peeron.com/inv/parts/32016
), with the pin hole as the pivot point of the feeler and the side of one of the
ends moving over the bump of the sensor.

IIRC, the ranges I used were around 0-200, 201-900, 900-1023. The sensor's values
tended to hover around 0 at no contact, 950+ at high contact, and 350-500 for
light contact.
-Brian

 

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