Skip to content

Seeed-Studio/Grove_3_Axis_Digital_Gyro

Repository files navigation

Grove - 3-Axis Digital Gyro Build Status

Grove - 3-Axis Digital Gyro

Grove - 3-Axis Digital Gyro

Grove - 3-axis Gyro module based on ITG 3200. It is the world’s first single-chip, digital-output, 3-axis MEMS motion processing gyro optimized for gaming, 3D mice, and motion-based remote control applications for Internet connected Digital TVs and Set Top Boxes.

Features:

  • Grove compatible interface
  • Digital-output X-, Y-, and Z-Axis
  • Fast Mode I²C (400kHz) serial interface
  • ±2000°/s full scale range and 14.375 LSBs per °/s sensitivity
  • Low 6.5mA operating current for long battery life
  • On-chip temperature sensor
  • Integrated amplifiers and low-pass filters
  • RoHS and Green compliant

Usage:

Initialization

gyro.init();
gyro.zeroCalibrate(200,10);//sample 200 times to calibrate and it will take 200*10ms

get data

void getXYZ(int16_t *x,int16_t *y,int16_t *z);
void getAngularVelocity(float *ax,float *ay,float *az);

For more information, please refer to seeed wiki.


This software is written by loovee luweicong@seeedstudio.com for seeed studio
and is licensed under The MIT License by getting grant from the author. Check License.txt for more information.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed Studio is an open hardware facilitation company based in Shenzhen, China.
Benefiting from local manufacture power and convenient global logistic system,
we integrate resources to serve new era of innovation. Seeed also works with
global distributors and partners to push open hardware movement.

Analytics