This is a tutorial for the TinyCircuits TinyDuino platform, to learn the basics of the TinyDuino, click here.
The TinyShield 9-Axis IMU combines and 3-axis accelerometer, 3-axis gryoscope and 3-axis compass in a single board. This TinyShield is based around the advanced InvenSense MPU-9150 9-axis MEMS motion tracking device.
Powering the System
The Invensense MPU-9150 is a low power device, drawing 4.25mA 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 9-Axis IMU TinyShield includes a local voltage regulator and level shifters, so your TinyDuino system can operate from 3 – 5 Volts safely.
Using the 9-Axis DOF TinyShield
The 9-Axis IMU TinyShield uses the I2C bus to communicate between the TinyDuino processor and the InvenSense MPU-9150. Below is a sample sketch to get the data for all nine axises and display them on the USB serial port using Codebender: