Integrating Gyro

The Modern Robotics 3 Axis Integrating Gyro returns the rate of rotation for the x, y, and z axes as well as heading information from the z axis.
SKU: 45-2005
$32.95

The Modern Robotics Integrating Gyro sensor reads rate of rotation around the X, Y and Z axes.  The sensor also calculates a heading based on movment around the Z axis.  The heading value is great for navigation and shows the current heading in degrees from 0 - 359 from a point where the heading value was reset to zero. 

The heading is calculated in the sensor by the onboard microcontroller which reads the gyro sensor Z axis output approximately 760 times per second.  Performing the heading calculations within the sensor provides much greater accuracy than can be achieved if the calculation was done by the host. The heading value can be reset to zero at any time.

There is an LED in the sensor that blinks at 1Hz during normal operation and will remain on during a null and reset operations.

Default I2C address 0x20 (0x10 7-bit).

 

   

Steering with the Modern Robotics gyro – an introduction

This article is a low-tech introduction to steering a robot autonomously using the new Modern Robotics Integrating Gyro sensor. The focus here is learning, rather than simply providing copy-and-paste code. Examples are given mostly in pseudocode which can be adapted for languages such as Java, RobotC, C++, etc. Credit to FTC team 9804 Bomb Squad.

Last updated 1/22/2016. 163KB PDF File

 

  

I2C Registers

Address
Function
0x00
Sensor Firmware Revision
0x01
Manufacturer Code
0x02
Sensor ID Code
0x03
Command
0x04/0x05
Heading Data (lsb:msb)
0x06/0x07
Integrated Z Value (lsb:msb)
0x08/0x09
Raw X Value (lsb:msb)
0x0A/0x0B
Raw Y Value (lsb:msb)
0x0C/0x0D
Raw Z Value (lsb:msb)
0x0E/0x0F
Z Axis Offset (lsb:msb)
0x10/0x11
Z Axis Scaling Coefficient (lsb:msb)

 

Commands

 Command  Operation
 0x00  Normal measurement mode
 0x4E  Null gyro offset and reset Z axis integrator
 0x52  Reset Z axis integrator
 0x57  Write EEPROM data

Specifications

Power
5 Volt DC 20mA max
Standard 4 Pin Connector
4 Pin I2C Port
Logic Voltage Levels
Logic 0 - 0 Volts
Logic 1 – 5 Volts
Wiring Diagram
Black - Ground
White - SCL
Yellow - SDA
Red - +5V
I2C Address
0x20
I2C Address Change Option
Yes
I2C Bus Speed
100KHz max
Axis of Rotation
X, Y, Z
Unit Dimensions - LxWxH
32 x 32 x 12 Millimeters
Mounting Holes
24 x 24 Millimeter Square Pattern (8mm grid)
Unit Weight
10 Grams
Wire Length
25 Centimeters

PDF

Sensor Documentation

All the information you need about
Modern Robotics Sensors in one document.

PDF File

Customers who bought this item also bought

Color Sensor

The Modern Robotics Color Sensor detects the color of an object using reflected light or the color of light from an external light source. Great for detecting and tracking colored lines and determining the color of a lit object.
$36.95

Core Motor Controller

The Core Motor Controller has two motor channels to connect and control two 9 - 15 volt DC motors, with optional encoders.
$79.95

Touch Sensor

The MRI Touch Sensor is robust and enclosed in a housing for easy mounting. Great for installing as a limit switch or bumper switch.
$15.95

Optical Distance Sensor

The Optical Distance Sensor, or ODS, detects changes in the distance from a target surface using pulsed light.
$26.95