This gyroscopic sensor, created by HiTechnic, is dedicated to the Lego Mindstorms NXT robotic kit. This sensor accurately measures the rotation of the robot using a single axis gyroscope. Specifically, the gyro sensor measures the number of degrees per second and the direction of the rotation. The gyroscopic sensor for Lego Mindstorms NXT is essential for all the robots where rotation is important.
|All the HiTechnic sensors are Lego Hardware Certified|
The following video shows an example of using the gyroscopic sensor to allow a robot with only two wheels to balance and even respond to disturbances created by the designer:
Programming with NXT-G
The gyroscopic sensor is programmable using NXT-G
As shown in the following figure, there is a value to set the bias (or offset) of the sensor. Indeed, the sensor measurement can be influenced by temperature and during its manufacture. It is therefore important to indicate what is the bias that corresponds to position 0, i.e. when the gyroscope is stationary. For this, the offset value must be indicated in the setting screen. The diagram below shows an NXT-G code whose purpose is to automatically calculate the value of the bias :