TinyShield Gyroscope Tutorial

by TinyCircuits Staff February 15, 2016

TinyShield Gyroscope Tutorial


Overview

The TinyShield Gyroscope features the high performance and lower power ST L3G4200D 3-axis gyroscope. The L3G4200D allows measurement of angular rates in three axes. There is also an integrated temperature sensor built in. 


Materials:

      


Powering the System

The ST L3G4200D is a low power device, drawing 6.1mA at full power mode and can be configured to draw much lower current at slower operating rates. Due to the low power, a coin cell battery is sufficient to run this board.

The Gyroscope TinyShield includes a local voltage regulator and level-shifters, so your TinyDuino system can operate from 3 to 5 Volts safely.


Using the Gyroscope TinyShield

The Gyroscope TinyShield uses the I2C bus to communicate between the TinyDuino processor and the ST L3G4200D. Below is a sample sketch to get the data for all three axises and display them on the USB serial port using Codebender:

 


Downloads

TinyShield_Gyro_Sketch



TinyCircuits Staff
TinyCircuits Staff

Author



Also in Learn

TinyDuino GPS Tracker + Data Logger Tutorial
TinyDuino GPS Tracker + Data Logger Tutorial

by Lilith Freed February 08, 2017

Follow this simple tutorial to build your own portable GPS device!

View full article →

Wifi TinyShield Tutorial (with Cayenne IoT)
Wifi TinyShield Tutorial (with Cayenne IoT)

by TinyCircuits Staff February 01, 2017

Our newest version of the Wifi TinyShield provides users with the ability to easily connect their TinyDuino stack to the...

View full article →

Flash Memory TinyShield Tutorial
Flash Memory TinyShield Tutorial

by TinyCircuits Staff January 23, 2017

Learn how to utilize storage on the Flash Memory TinyShield with your TinyDuino or TinyScreen+!

View full article →