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 / 17551
17550  |  17552
Subject: 
Re: is it possible to use a polarity switch with a RCX input?
Newsgroups: 
lugnet.robotics
Date: 
Mon, 25 Mar 2002 17:03:52 GMT
Original-From: 
T. Alexander Popiel <popiel@wolfskeep.#NoSpam#com>
Viewed: 
699 times
  
In message:  <GtJ9sq.HBC@lugnet.com>
             "Nickle, Steven (2511)" <Steven.Nickle@esavio.com> writes:

Use a resistor to make one of the states of the switch read less than a full
short.  Setup as a light sensor.  0 means off  50~ means one state and 100
means another.

Actually, you want it to be unpowered instead of powered; giving the
sensor power will just waste your batteries heating up the resistors.
Setting it up as SENSOR_TYPE_NONE and SENSOR_MODE_PERCENT (or
SENSOR_MODE_RAW) under NQC would be much better than setting it up
as a light sensor.

- Alex



Message is in Reply To:
  Re: is it possible to use a polarity switch with a RCX input?
 
(...) Use a resistor to make one of the states of the switch read less than a full short. Setup as a light sensor. 0 means off 50~ means one state and 100 means another. This is the basis for alot of the touch sensor multipliers. I am sure if you (...) (23 years ago, 25-Mar-02, to lugnet.robotics, lugnet.robotics.rcx)

6 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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