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 / 1645
1644  |  1646
Subject: 
Re: is it possible to use a polarity switch with a RCX input?
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx
Date: 
Mon, 25 Mar 2002 14:34:02 GMT
Viewed: 
1595 times
  
In lugnet.robotics, Jonathan Wilson writes:
Basicly, what I want is a button, switch or whatever on my model that
when moved one way causes one input to be sent to the RCX but when moved
differently it causes a different input to be sent to the RCX. Should
also have a 3rd "off" state.
I am going to use it on my RCX controlled tank. RCX will use 2 touch
sensors plus 1 motor to drive treads forward or back, touch sensors will
trigger if it bumps into something.
The "switch" I need will controll second motor attached to a large
turntable to rotate turret.

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 dig around you can find the right values.  I don't have any my books handy.



Message has 2 Replies:
  Re: is it possible to use a polarity switch with a RCX input?
 
(...) But... be aware that the 'polarity switch' has only two connectors (for two sets of wires). It's not a '3-way' where you can try to select one of two inputs by moving the lever. The action is forward-off-reverse with one power source connected (...) (23 years ago, 25-Mar-02, to lugnet.robotics, lugnet.robotics.rcx)
  Re: is it possible to use a polarity switch with a RCX input?
 
(...) 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 (...) (23 years ago, 25-Mar-02, to lugnet.robotics)

Message is in Reply To:
  is it possible to use a polarity switch with a RCX input?
 
Basicly, what I want is a button, switch or whatever on my model that when moved one way causes one input to be sent to the RCX but when moved differently it causes a different input to be sent to the RCX. Should also have a 3rd "off" state. I am (...) (23 years ago, 24-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

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