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 / 1646
1645  |  1647
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 15:39:56 GMT
Viewed: 
1613 times
  
In lugnet.robotics, Steven Nickle writes:
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.

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 to one motor.

Jerry



Message has 2 Replies:
  Re: is it possible to use a polarity switch with a RCX input?
 
(...) Well the polarity switch can be made to work as a "switcher" that can be used to can input source or output source by wiring it like Hao-yang Wang did in this example: (URL) works great like this, I use it with my RailRacers ((URL) control (...) (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?
 
(...) full (...) 100 (...) handy. (...) two (...) I'm not very familiar with electronics, but I am wondering whether the combination of two diodes with a resistor could solve the problem. I mean this: when current flows in a certain direction, it (...) (23 years ago, 26-Mar-02, to lugnet.robotics, lugnet.robotics.rcx)

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

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