Subject:
|
Re: Mindstorms Automatic Train Control Questions
|
Newsgroups:
|
lugnet.trains, lugnet.robotics
|
Date:
|
Wed, 31 Oct 2001 06:41:41 GMT
|
Viewed:
|
1098 times
|
| |
| |
Zhengrong Zang wrote:
>
> You can use Scout to control trains like using RCX, I had tested. The difference is
> that Scout only can use passive light sensor, then they only have two input and
> output ports, then you only can use NQC, not legOS. When you write NQC, you can use
> __RCX, __SCOUT and __RCX=2 for different parts of your program.
>
> If you use RCX/Scout to control tracks not trains, you don't need so many
> RCX/Scout, separate your layout to blocks, then one block is connected to one
> output port of RCX/Scout, this way is better than putting RCX/Scout on the train,
> because you don't need to modify your train.
With the Scout (or RCX for that matter) you can use a phototransistor as
a light sensor for the scout. Put a light or IF emitter on the other
side of the track and it can detect a break in the light. You can count
cars or anything you want. It works really well.
Dean
--
Dean Husby
LUGNET Member #320
TFM's LEGO Workshop - http://www.akasa.bc.ca/tfm
The Vancouver LEGO Club - http://www.akasa.bc.ca/vlc/
|
|
Message has 1 Reply:
Message is in Reply To:
16 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
|
|
|
|