| | 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)
|
|
| | Re: light sensor question
|
|
(...) According to Kekoa Proudfoot's RCX Internals webpage ((URL) if (raw < 187) // bug? this allows percent=101, should be raw < 189 sensor->value = 64 else sensor->value = (3ff - raw) * 19 / 9c Numbers are in hexadecimal (base 16). Jürgen (21 years ago, 24-Jul-03, to lugnet.robotics.rcx)
|
|
| | Re: light sensor question
|
|
(...) 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 (...) (21 years ago, 26-Jul-03, to lugnet.robotics.rcx)
|
|
| | 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)
|
|
| | Re: light sensor question
|
|
(...) A friend of mine suggests that the poor response of the sensor to the LED is because the light from the LED is a single color. Where as the light from the incandescent bulb is white light which apparently contains many if not all of the (...) (21 years ago, 29-Jul-03, to lugnet.robotics.rcx)
|
|
| | Re: light sensor question
|
|
(...) I've done a lot of readings with the light sensor and analysed them. If you want to have a look you can go to (URL) . If you look in the appendix of that document you'll find information on the light sensor (and many other things...) Magdalena (21 years ago, 31-Jul-03, to lugnet.robotics.rcx)
|