Powered by Modern Robotics

0 $0.00

Cart

No products in the cart.
Shop

Integrating Gyro

$32.95

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.

Out of stock

Join the waitlist to be emailed when this product becomes available

SKU: 45-2005 Categories: ,

Description

The Modern Robotics Integrating Gyro sensor reads the rate of rotation around the X, Y, and Z axes.  The sensor also calculates a heading based on movement 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).

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.

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

Additional information

Weight .0300 lbs
Dimensions 4 × 3.75 × .7 in