To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 7013
7012  |  7014
Subject: 
Re: How To Add A Rotation Sensor and A Touch Sensor On the Same Input?
Newsgroups: 
lugnet.robotics
Date: 
Sun, 26 Sep 1999 23:31:28 GMT
Viewed: 
622 times
  
I already succesfully put a touch sensor and a proximity sensor (a light
sensor and an IR port) on the same input.  I tried some different
configurations to get a touch sensor and rotation sensor on the same input but
it didn't work.  I'm wondering if there is anyway of doing it.  BTW, I use NQC.

In lugnet.robotics, Matthew Miller writes:
Darren Zhang <dz27@cornell.edu> wrote:
Does anyone know how to add a rotation sensor and a touch sensor on the same
input of the RCX?  Thanks a lot in advance.

This doesn't work as well as putting a touch sensor and light sensor on the
same port. The data that the light sensor sends back (a value normally
between 40-80) is easy to distinguish from that sent by the touch sensor (0
or 100, if you have the port configured for a light sensor). The rotation
sensor does something much more complicated, and presses on a touch sensor
hooked to the same port basically come across as noise and don't do anything
you can distinguish from the rotation-sensor data. (Even if you know the
rotation sensor isn't going to be turning, the results of pressing the touch
sensor vary depending on what state the sensor is in.)

--
Matthew Miller                      --->                  mattdm@mattdm.org
Quotes 'R' Us                       --->             http://quotes-r-us.org/




Message has 1 Reply:
  Re: How To Add A Rotation Sensor and A Touch Sensor On the Same Input?
 
(...) Yeah, as I said, the light-sensor/touch-sensor combo works well because of the types of values the sensor returns. The rotation sensor works differently, and is difficult to combine with something else. (25 years ago, 26-Sep-99, to lugnet.robotics)

Message is in Reply To:
  Re: How To Add A Rotation Sensor and A Touch Sensor On the Same Input?
 
(...) This doesn't work as well as putting a touch sensor and light sensor on the same port. The data that the light sensor sends back (a value normally between 40-80) is easy to distinguish from that sent by the touch sensor (0 or 100, if you have (...) (25 years ago, 26-Sep-99, to lugnet.robotics)

4 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