.

.

Gyroscopic Sensor for Lego Mindstorms NXT
Gyroscopic Sensor for Lego Mindstorms NXT

Gyroscopic Sensor for Lego Mindstorms NXT

HiTechnic | A-000000-00603
Gyroscopic sensor for Lego Mindstorms NXT
. DISCONTINUED ARTICLE.
Quantity
Get a quote online

Size Chart
x
Size Chart

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 Lego Certified Hardware

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

Bloc NXT-G capteur gyroscopique Paramétrage du bloc NXT-G du capteur gyroscope

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 :

NXT-G code to set the offset of the gyroscopic sensor

Programming using RobotC

This gyroscopic sensor for lego Mindstorms NXT is totally programmable using RobotC by using the third party RobotC drivers