This is a tutorial for the TinyCircuits TinyDuino platform, to learn the basics of the TinyDuino, click here.
The TinyShield Compass lets you perform low-field magnetic sensing, to allow for low cost compassing and magnetometry. This TinyShield is based around the advanced Honeywell HMC5883L Digital 3-axis compass.
Powering the System
The Honeywell HMC5883L is a very low power compass IC, drawing only 100uA during full operation. Due to the low power, a coin cell battery is sufficient to run this board.
The Compass TinyShield includes a local voltage regulator and level shifters, so your TinyDuino system can operate from 3 – 5 Volts safely.
Using the Compass TinyShield
The Compass TinyShield uses the I2C bus to communicate between the TinyDuino processor and the Honeywell HMC5883L compass. Below is a sample sketch to get the data for the three axises and display them on the USB serial port using Codebender:
Comments