Subject:
|
RE: Collision Avoidance of Train using RCX and Light Sensor
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 19 Jul 2000 05:25:10 GMT
|
Viewed:
|
890 times
|
| |
| |
Hi,
First are you using a ligh sensor or an IR sensor?
If it is an IR sensor:
First what IR sensor are you using and what is it's range?
Are you using a white lego piece on the other side so that it will reflect
back nicely (or possibly cut a piece of white paper and past it to the lego?
Maybe you're not pointing the IR sensor directly at the lego piece?
My feeling is that the sensor you're using doesn't have enough range to get
the reflection back.
If it is a light sensor:
Then you need some sort of light source and probably your small LED circuit
is the best option.
Personally I would hook up a simple IR distance sensor
(transmitter/reciever) with a distance of 3-4 centimeters and that will
probably be all you need.
Hope that helped.
Sean Verret
B.Sc. Electrical Engineering
M.Sc. Electrical Engineering 2002
University of Alberta
mailto:verret@ee.ualberta.ca
http://www.ee.ualberta.ca/~verret/
Phone: (780) 439-0329
Fax: (206) 493-2713
> -----Original Message-----
> From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com]On Behalf
> Of Ahui Herrera
> Sent: Tuesday, July 18, 2000 6:41 PM
> To: lugnet.robotics@lugnet.com
> Subject: Collision Avoidance of Train using RCX and Light Sensor
>
>
> 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 is in Reply To:
| | Collision Avoidance of Train using RCX and Light Sensor
|
| 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 (...) (24 years ago, 19-Jul-00, to lugnet.robotics)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|