Subject:
|
Re: 1.0,1.5 or 2.0 ? what gives ?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 9 Oct 2001 19:24:08 GMT
|
Viewed:
|
1908 times
|
| |
| |
In lugnet.robotics.rcx.legos, Juergen Stuber writes:
> > ps: anyone know if its possible to have 4 sensors on an RCX?
> > im trying to build a robot with 1 push-sensor on each side.
> > i seem to recall reading somewhere that it could be done, but
> > i cant for the life of me figgure out where i read that.
>
> Put more than one on an input and figure out which one was pressed
> by the direction you were heading.
> If they can be pressed simultaneously you need resistors to distinguish
> them.
>
> Jürgen
Instead of using resistors, you can use RAW mode which measures how far in
the sensor was pushed. Then use a bit of tape to prevent one of the sensors
from being pushed in all the way.
BTW, I am lucky enough to have a defective touch sensor that only reads
about 750 RAW when fully depressed (it doesn't work in Boolean mode) but it
is easy to tell which sensor has been hit.
Roger
|
|
Message is in Reply To:
| | Re: 1.0,1.5 or 2.0 ? what gives ?
|
| (...) To put it bluntly, the only user visible is in the numbers on the outside. (...) Put more than one on an input and figure out which one was pressed by the direction you were heading. If they can be pressed simultaneously you need resistors to (...) (23 years ago, 28-Sep-01, to lugnet.robotics.rcx.legos)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|