Subject:
|
Re: Chaining multiple RCX's output to input
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Thu, 28 Oct 1999 23:19:44 GMT
|
Viewed:
|
775 times
|
| |
| |
I use two resistors in series with the motor (one between the + side of the
sensor port and the + side of the motor, and the other between the - side of
the motor and the - side of the sensor port). That allows the additional
advantages that:
- the motor can be connected to an output and driven by the RCX (usable as an
input only if in Float() mode)
- No matter how you hook things up, there is a resistor on each side to the
sensor input, thereby making sure that both motor directions are within the
input's voltage range.
If you use bigger values for your resistors (such as 22K or 47K) then the motor
can also be shared with touch sensors on the same input. For more details, see:
http://www.lugnet.com/robotics/?n=7111
In lugnet.robotics, Michael Gasperi writes:
>
> Stephen Unwin <lego-robotics@crynwr.com> wrote in message
> news:Marcel-1.53-1027194118-0b0y$*c@elmsfarm.demon.co.uk...
> > Pop a 10K ohm resistor in series with the motor.
> > On my quick test with a variable resistor I got a value of 513 with the
> > resistor at 9.7k. With a 10k resistor, the RCX raw value is now
> > flickering between 510 and 511.
>
> That makes sense cause the RCX has a 10K pulling the input up to 5V. The
> 10K you put in series with the motor will put the voltage at half way (2.5V)
> which should be around 512. Now when the motor runs in one direction it
> adds some to the voltage and in the other is subtracts. I'd think you
> wouldn't need to spin the motor very fast to get 2.5V so the velocity range
> of the sensor must be pretty low, but it's simple. I also like that you
> couldn't get any significant current going into the RCX with the 10K there.
|
|
Message is in Reply To:
| | Re: Chaining multiple RCX's output to input
|
| Stephen Unwin <lego-robotics@crynwr.com> wrote in message news:Marcel-1.53-102...n.co.uk... (...) That makes sense cause the RCX has a 10K pulling the input up to 5V. The 10K you put in series with the motor will put the voltage at half way (2.5V) (...) (25 years ago, 27-Oct-99, to lugnet.robotics)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|