DI Light Sensor not showing correct values

gopigo3
lightsensor

#1

Hello,

I’ve got the grove light sensor for a GoPiGo3.

When I plug it into the AD1 port on the GoPiGo board, and run the example python code for easy_Light_sensor.py (or even the example code from the documentation ) the values printed are consistently 4086 and 99%, regardless of ambient light conditions.

If I cover the sensor by pressing it into the black wheel, then it reports values in the range 4084-4085, and 99%.

Is there something special I have to do to calibrate the values? I have 4 of the light and color sensors, and 5 different GoPiGo3 boards. None of the sensors work with any of the boards, all of them output the same 99% values.


#2

Hi @jdoucette,

Can you take us through the steps you’ve followed so far?

Normally, you should only run 2 commands for installing the required dependencies. Here’s a link on getting started with it:
http://gopigo3.readthedocs.io/en/latest/quickstart.html#program-your-gopigo3

Thank you!