Subject:
|
Re: Can an input be configured as an output?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 11 Apr 2003 17:02:38 GMT
|
Viewed:
|
3018 times
|
| |
| |
Hi Vik,
An input has a 10K pull-up resistor to 5V in it. When
nothing is connected to the input the A/D converter will
return a value of about 1023 (which represents 5V). If
you short the input (make sure it's in passive mode), you
will get a value near 0. You can connect an output from
another RCX to an input and alternate the output state
from brake (which is a short) to float (open) to send a
signal. The input will see this as alternating low and high
values, respectively. By adopting a timing protocol, you
can send information from one RCX to another.
Here's one thread that goes into greater detail:
http://news.lugnet.com/robotics/rcx/nqc/?n=1033
An input can be used as an output, but only for low
power devices such as an LED. There simply isn't
enough power to drive anything bigger (like a motor).
You could rig up a transistor to power a motor when
the input is in active mode vs. passive mode, though.
Mark
"Vik" <the1_hitman@hotmail.com> wrote:
> Hi,
>
> Im still learning legos (brickOS) and my friend asked me whether an input
> could be configured as an output? Also, i have seen several robots using 2
> RCX, all connected together using wires running from 1 input to anothers
> output...how does this work??
>
> Thanks
> Vik
|
|
Message is in Reply To:
| | Can an input be configured as an output?
|
| Hi, Im still learning legos (brickOS) and my friend asked me whether an input could be configured as an output? Also, i have seen several robots using 2 RCX, all connected together using wires running from 1 input to anothers output...how does this (...) (22 years ago, 10-Apr-03, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|