Using the Compass TinyShield

by TinyCircuits Staff February 18, 2016

Using the Compass TinyShield

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 CompassTinyShield

The Compass TinyShield uses the I2C bus to communicate between the TinyDuino Processor and the Honeywell HMC5883L compass

Here is a link to a sample sketch (zip) for the Compass TinyShield.  If you're new to using Arduino or TinyCircuits, click here for how to set up the Arduino IDE to upload the sketch.  

Plug in your TinyDuino to your computer with the USB TinyShield and the Compass TinyShield attached.

Open the Arduino IDE and open up the example sketch that you have downloaded.  Then upload it to the TinyDuino.

Open up the Serial Monitor (at 115,200 baud) and you should see the data being read from the compass.



TinyCircuits Staff
TinyCircuits Staff

Author



Also in Learn

How to Develop a Game for the TinyArcade
How to Develop a Game for the TinyArcade

by Brandon Farmer March 30, 2017

This Tutorial will walk you through how to develop your very own game for the TinyArcade, all within the Arduino...

View full article →

.TSV Video Converter Tutorial
.TSV Video Converter Tutorial

by TinyCircuits Staff March 30, 2017

Learn how to convert your videos to .TSV format using this Windows program!

View full article →

How to Load TinyArcade Games onto an SD Card
How to Load TinyArcade Games onto an SD Card

by TinyCircuits Staff March 30, 2017

This tutorial will walk you through how to load TinyArcade Games onto your SD Card to make them accessible from...

View full article →