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:
Qwiic Ultrasonic Distance Sensor (HC-SR04) Hookup Guide
Get started with the Qwiic Ultrasonic Distance Sensor!
Tinker Kit Circuit Guide
This guide takes you through the basics of building 11 different circuits with the SparkFun Tinker Kit and how to program them using the Arduino IDE.