NXT Light Sensor
Hello,
when i start my light measurement, the values are always betwaeen 9-30.
I have set the measurement range to 100 and threshold from 0-100. I've done this in the LegoNxtServiceFiles and the proper manifests.
Does someone have an idea whats wrong here or how i can fix this ?
I can't set the lightsensor to LightOff also, perhaps this is the same error. Perhaps I'm only looking in the wrong files/manifests ?
Thx and greets
A couple people are experiencing the same problem, check out the post titled "AnalogSensor State Not Accurate for Nxt Light Sensor." I can't get mine to work either, and it sounds like we're having the same issue. I hope somebody can help, I've tried just about everything to get the sensor to work correctly.
The External Range checkbox simply activates filtering so that values are only returned when they are between Low and High Threshold.
The actual values are still those reported by the NXT and are not modified by MSRS.
Hmm. I've tried making my settings the same as those above, and it still only reports readings from 10-30. I've also tried making both thresholds the same, so that every value is reported, but the same thing happens. I've also tried setting all of the other sensors to null to free up NXT resources. I know my light sensor works because it gives accurate measurements when running the light sensor program directly from the NXT, but I don't know what else I could be doing wrong?
This was an example only. If you want to get all values, leave the checkbox off, or set it to a wide range like this:
The main point is that MSRS is returning the sensor value read from a LEGO program on the Brick itself, rather than polling through the PC API.
You might try writing a simple LEGO diagram with LEGO's software to read the light sensors and see if it returns the values you are expecting.