<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz" -->

---
title: Building A Heading Sensor Resistant To Magnetic Disturbances
description: Retired instrumentation engineer Don Welch built a DIY heading indicator using a Teensy 4.0 microcontroller and a BNO085 IMU. To make it immune to magnetic...
canonical: https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Building A Heading Sensor Resistant To Magnetic Disturbances | daily.dev
og:description: Retired instrumentation engineer Don Welch built a DIY heading indicator using a Teensy 4.0 microcontroller and a BNO085 IMU. To make it immune to magnetic...
og:url: https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz
og:image: https://api.daily.dev/og/posts/QEUbOyaJz.png
og:image:alt: Building A Heading Sensor Resistant To Magnetic Disturbances
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Building A Heading Sensor Resistant To Magnetic Disturbances

**[Hackaday](https://daily.dev/sources/hackaday)** · 2 min read · 0 upvotes · 0 comments

## Summary

Retired instrumentation engineer Don Welch built a DIY heading indicator using a Teensy 4.0 microcontroller and a BNO085 IMU. To make it immune to magnetic disturbances, the magnetometer data is ignored entirely, relying only on the gyroscope and accelerometer. The device displays a compass rose on a small round TFT screen, updates at 200 Hz for smooth motion tracking, and can be manually calibrated via an encoder or by pointing north at startup. It is not aircraft-certified but serves as an interesting hobbyist recreation of aviation instrumentation.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/03/06/building-a-heading-sensor-resistant-to-magnetic-disturbances/>

## Similar posts on daily.dev

- [Listen to Protons With a Homemade Magnetometer](https://daily.dev/posts/listen-to-protons-with-a-homemade-magnetometer-mwnzai1wh) · Hacker News · 0 upvotes · 0 comments
- [A New Kind Of Inductively-damped Compass](https://daily.dev/posts/a-new-kind-of-inductively-damped-compass-nq7kdwb8d) · Hackaday · 0 upvotes · 0 comments
- [Magnetometers Power GPS-Free Indoor Positioning](https://daily.dev/posts/magnetometers-power-gps-free-indoor-positioning-6s5nkwbfj) · IEEE Spectrum · 0 upvotes · 0 comments
- [Game of Drones, Part 1: How IMU Navigation Architectures Make or Break a Drone](https://daily.dev/posts/game-of-drones-part-1-how-imu-navigation-architectures-make-or-break-a-drone-xwyjs4sq7) · Embedded.com · 0 upvotes · 0 comments

---

Tags: [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Building A Heading Sensor Resistant To Magnetic Disturbances","url":"https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz"},"datePublished":"2026-03-06T09:27:43.628Z","dateModified":"2026-03-06T09:28:16.394Z","description":"Retired instrumentation engineer Don Welch built a DIY heading indicator using a Teensy 4.0 microcontroller and a BNO085 IMU. To make it immune to magnetic...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2352fda13d0fbb26344983c69ca08a58?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2352fda13d0fbb26344983c69ca08a58?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/building-a-heading-sensor-resistant-to-magnetic-disturbances-qeuboyajz","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"embedded","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"Building A Heading Sensor Resistant To Magnetic Disturbances"}]}
```

