To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 11858
11857  |  11859
Subject: 
Re: Collision Avoidance of Train using RCX and Light Sensor
Newsgroups: 
lugnet.robotics
Date: 
Wed, 19 Jul 2000 17:28:26 GMT
Original-From: 
Tilman Sporkert <tilman@activesw.=nomorespam=com>
Viewed: 
910 times
  
Ahui,
  you should be able to get this to work. I have done this for a distance of 10
dots. Look at
   http://www.activesw.com/people/tilman/lego.htm
then follow the link to "Ferris Wheel" at the bottom, and go to the 5th picture
"Bar Closed". Look at the double chair seat with the white and red minifigs
sitting in it.The seat breaks a light beam. The white light brick is on the
left, at about butt level of the minifigs. The blue light sensor is on the
right. You will see two 1x2 technic beams in front of the light sensor. That
prevents most room light from reaching the sensor. That is the key - you want
maximum contrast between "light" and "dark". You can't make the light brick
shine any brighter, so you have to focus on blocking out all other light
sources. This setup works very reliably.
  I also put a 1x2 technic beam in front of the light brick. That's cosmetic
only, and makes the light invisible unless you look straight into the hole.

  Tilman


----- Original Message -----

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?



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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR