Subject:
|
Collision Avoidance of Train using RCX and Light Sensor
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 19 Jul 2000 00:40:56 GMT
|
Viewed:
|
1007 times
|
| |
| |
Hello all,
I'm not sure if this is the right area to post this to or not.
I've been working with my Mindsotrm set of late and have created a program
that will control and detect when two lego trains cross at a crosstrack. My
program will stop one track and allow the other one to go thru before
starting up the "stopped" train. Everything works fine (program, track
circuit isolation, trains, etc.) The only problem I'm have is that the light
sensors I'm using CAN NOT DETECT the light from a LEGO Light brick. I
initally started using a flash light but a flashlight is a non-LEGO and I
wanted a pure LEGO solution. I have used a diode and created a small cicuirut
to supply it with power, but this again is a non-LEGO solution. Has anyone out
there been messing around with these light sensors?
Upon doing some trial runs I find that the light sensor can not deter the
light from the light brick across the span of track that they are apart. I
can not bring the light and closer to the sensor becuase it will obstruct the
train passing. I could lower the variable in teh program to allow detection
and a lower %. Currenlty it is at 60% and above will mean that their is light
and thus no train is passing. However, in lowering the variable I will get
times when there is a train passing but it will not register. What I need is
for the light brick to be brighter. Any ideas?
Thanks
Ahui Herrera
|
|
Message has 4 Replies:
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|