I'll spend the time tonight to do a more thorough investigation.
The environment has inconsistent lighting. The light sensor is used to detect a passing train. What code and/or bricks do you recommend when using an RCX light sensor in such an open environment?
Using RCX light sensor with NXT
Re: Using RCX light sensor with NXT
Have you seen this device using fibre optic cables to take the light output from the led and shine it back towards the detector?
http://www.philohome.com/lightbarrier/lightbarrier.htm
I suppose you could use two cables, one to duct the light from the led and the other to funnel it back to the detector.
Or even this one which I just found :-
http://www.ben.com/LEGO/rcx/train-sensor.html
http://www.philohome.com/lightbarrier/lightbarrier.htm
I suppose you could use two cables, one to duct the light from the led and the other to funnel it back to the detector.
Or even this one which I just found :-
http://www.ben.com/LEGO/rcx/train-sensor.html
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
Re: Using RCX light sensor with NXT
It is a low-light problem. As soon as I turn off most ambient lights, the sensor doesn't read well. Thoughts?
Re: Using RCX light sensor with NXT
I have one! Don't turn off the ambient lights.dsjove wrote:It is a low-light problem. As soon as I turn off most ambient lights, the sensor doesn't read well. Thoughts?
"Doctor, it hurts when I press here."
"Well, stop pressing on it then."
If this is a sensor without a light of its own then you need the ambient light to make it work. If the little light isn't strong enough to bounce off the object you wish to detect (or not close enough), move it closer. If you can't, then you're out of luck or use another sensor.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: Using RCX light sensor with NXT
I saw that one comingmightor wrote:I have one! Don't turn off the ambient lights.
I have two. They are studded, small, and have easily extended cables. I'll leave the ambient lights on. And in the mean time, I'll move it closer to the track.
Thank you.
Who is online
Users browsing this forum: No registered users and 1 guest