Skip to content
Free delivery, every order. Want a bulk deal or can't find what you need? Email support@pmdway.com now!
Free delivery, every order. Want a bulk deal or can't find what you need? Email support@pmdway.com now!
Mapping the Earth with a homemade magnetometer

Mapping the Earth with a homemade magnetometer

from arduino.cc

Magnetometers are devices that use various techniques to measure certain aspects of magnetism, including direction, strength, or relative changes. By combining these and applying some math, underground and other hidden structures can be discovered without the risk of damaging anything sitting below the sensor. This is why Markus Opitz decided to build a large-scale magnetometer using simple components in order to map things around his property.


The basic structure of the device consists of a basic frame made from several wooden planks with a pair of wheels at its base and a wide piece of aluminum tubing to hold the sensor array. To gather raw data, Opitz started by integrating seven Hall effect sensors with a digital compass and an Arduino Mega.

Coordinates are determined by the onboard GPS module and logged to an SD card along with the readings from the attached sensors. Finally, the current heading is defined via a digital compass and displayed in addition to other data on a 128x64px OLED screen.



After wheeling the unit around an outdoor area for a while and gathering ample amounts of data, Opitz loaded the logs into qGIS that combines headings, magnetic values, and coordinates along with a satellite map into a single image.

To read more about this project, you can view Opitz’s write-up on Instructables.

Finally - to keep up to date with interesting news, offers and new products - interact with us on facebookinstagram, and twitter.

Previous article Control six separate RGB LED strips with a single Arduino Nano

Leave a comment

Comments must be approved before appearing

* Required fields