MicroView Digital Compass
Contributors:
AGlass0fMilk
Resources and Going Further
There are a many more cool projects you can make with the MAG3110 sensor. If you combine the MAG3110 with a few other sensors, you can make a variety of projects that involve location and orientation sensing.
Check out Shawn Hymel's Adventues in Science: Using a Magnetometer as a Compass and example code for ideas:
For more sensor fun, check out these other great SparkFun tutorials:
SparkFun Inventor's Kit for Photon Experiment Guide
Dive into the world of the Internet of Things with the SparkFun Inventor's Kit for Photon.
CCS811 Air Quality Breakout Hookup Guide
This tutorial shows you how to get data from a CCS811 breakout board with the I2C interface.