To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2147
2146  |  2148
Subject: 
Re: light sensor question
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sat, 26 Jul 2003 03:21:08 GMT
Viewed: 
3173 times
  
In lugnet.robotics.rcx, Aaron Goodman wrote:

On Wed, 23 Jul 2003 18:17:03 GMT
"Katie Panciera" <katie_panciera@berea.edu> wrote:

In lugnet.robotics.rcx, Aaron Goodman wrote:
In lugnet.robotics.rcx, Katie Panciera wrote:
I am writing a research paper about work I have done with Mindstorms this
summer. One thing that I used a lot was the light sensor, but I am having a hard
time finding what exactly the sensor measures. I was wondering if anyone could
give me any direction as to the units of the light sensor.
Thanks,
Katie

Is this what your looking for?
http://www.plazaearth.com/usr/gasperi/light.htm

in terms of what units it mesures it in I don't think it really has any. it is
just a relative reading from 0-100.

What I'm looking for is really the latter of the topics. It seems to me that it
must have some sort of units, because I've never seen it hit zero even with
alterations (as Ralph Hempel has described on his site). It seems like it should
be measuring some aspect of the light. I thought that I'd read somewhere that
the light sensor with the original firmware (I'm using brickOS) uses a scale
from 0-1000 but rounds that off and gives you 0-100. Any other thoughts out
there?
K

The Analog to Digital converter of the h8/300 (the brains of the lego mindstorms) is 10 bits, so it has a range of 0-1023. I'm not sure how it converts that to the 0-100, it may do it by just dividing by 10 and rounding.
If you want to see the raw values you can use nqc to do it. As for the aspect of light it seems like it would be mesuring the intensity (how many electrons are given off when the photons hit the silicon junction).

-Aaron

Here is another question...does incandescent light differ from the light given
off by LEDs in terms of how the light sensor sees it?

I am experimenting with some LEDs trying to get the light sensor to react and it
seems to only see the light when it is "looking" directly into the LEDs.
However, with a similar sized incandescent bulb, the sensor reacts to the light
even if the sensor is shrouded and the light is at an angle. Is there something
special in either the light given off by the LEDs or in the light sensor itself?

Thanks, Jona



Message has 1 Reply:
  Re: light sensor question
 
"Jona" <jona@24tooth.com> wrote in message news:HIM3z8.t92@lugnet.com... (...) react and it (...) LEDs. (...) the light (...) something (...) sensor itself? I suspect that the spectral composition of the lights are quite different. As to what the (...) (21 years ago, 26-Jul-03, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: light sensor question
 
(...) The Analog to Digital converter of the h8/300 (the brains of the lego mindstorms) is 10 bits, so it has a range of 0-1023. I'm not sure how it converts that to the 0-100, it may do it by just dividing by 10 and rounding. If you want to see (...) (21 years ago, 24-Jul-03, to lugnet.robotics.rcx)

9 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
    

Custom Search

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