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 16:11:52 GMT
|
Viewed:
|
1601 times
|
| |
| |
In lugnet.robotics, Jerry Kalpin writes:
> 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
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: http://www.brickshelf.com/cgi-bin/gallery.cgi?f=214
It works great like this, I use it with my RailRacers
(http://www.railracers.com) control system.
jt
------------------
James J. Trobaugh
North Georgia LEGO Train Club
http://www.ngltc.org
|
|
Message is in Reply To:
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|