{"id":11859,"date":"2017-01-25T11:58:39","date_gmt":"2017-01-25T00:58:39","guid":{"rendered":"http:\/\/legoeng.local\/?p=11859"},"modified":"2017-06-01T16:55:39","modified_gmt":"2017-06-01T06:55:39","slug":"light-and-gryo-sensor-calibration","status":"publish","type":"post","link":"http:\/\/legoeng.local\/light-and-gryo-sensor-calibration\/","title":{"rendered":"Light and Gryo Sensor Calibration"},"content":{"rendered":"

\"LightSensorExample\"<\/a>Some sensors need to be calibrated to make sure they work correctly. I’ve made an EV3 project to help my FIRST LEGO League teams calibrate their sensors and would like to make it available to all the kids out there doing FLL. Something similar was included with NXT for calibrating the light sensor, but the EV3 software is missing it, and I’d like to fill that gap.<\/p>\n

The project file Calibration.ev3<\/a> includes two simple calibration programs. One to calibrate a gyro sensor and one to calibrate a light sensor (actually a color sensor used as a light sensor).<\/p>\n

Gyro Sensor Calibration<\/h2>\n

Calibration is necessary for the gyro sensor because if the robot isn’t stationary when turned on or when the gyro is plugged in, the gyro may not understand what it means to be still. This can make the sensor value drift.<\/p>\n

\"\"<\/a>
Gyro sensor calibration<\/figcaption><\/figure>\n

How does it work?<\/p>\n