← Back to geomag.info

Raspberry Pi Magnetometer

Real-time Magnetometer Observations from Louisville, CO

Live Magnetometer Dashboard

Monitoring Earth's magnetic field from my backyard in Louisville, Colorado using an RM3100 magnetometer on a Raspberry Pi. Geomagnetic data from the USGS Boulder Observatory (~10 miles north of my house) is also plotted for comparison.

View the data in magnetic coordinates (H, E, Z, F) as measured by the sensor, or in geographic coordinates (X, Y, Z, F) rotated by the local magnetic declination (~7.8°).

HEZF Dashboard XYZF Dashboard

About This Project

This station measures four components of the geomagnetic field in the HEZ coordinate system: horizontal intensity (H) pointing toward magnetic north, magnetic east (E), vertical intensity (Z) pointing downward, and total field (F). Variations in these measurements can indicate geomagnetic storms and substorms caused by solar activity.

Installation

The magnetometer uses a PNI RM3100 magneto-inductive sensor with a noise floor of ~4 pT/√Hz at 1 Hz. I ordered the kit from HamSCI and followed their PSWS Ground Magnetometer installation guide.

The sensor is housed in a PVC pipe and buried vertically approximately 3 feet underground to provide temperature stability and isolation from electromagnetic interference. The sensor is oriented so that the H-axis points toward magnetic north, determined by rotating the assembly until the E component reads near-zero. A shielded CAT6 Ethernet cable runs underground to my shed, where the Raspberry Pi handles data acquisition and transmission to a cloud database.

Since the sensor is located in a residential backyard exposed to various sources of magnetic noise, I expect a resolution of 10–20 nT. The raw 1-second data exhibits a periodic fluctuation with a period of ~10–11 seconds and amplitude of approximately 10 nT, which was not removed before averaging to 1-minute data.

Baseline Corrections

To compare the Raspberry Pi magnetometer readings with USGS Boulder Observatory data, bias corrections are applied. These offsets account for differences in sensor calibration, local magnetic anomalies, and the ~10-mile distance between the two sites.

The bias values were determined by calculating the median difference between the Raspberry Pi and USGS Boulder measurements over approximately 60 days of observations (November 2025 – January 2026):