Getting Directions CHC Proceed to Your Destination Without Having to Ask Someone 40 277
Circuit Cellar|August 2024
Recalibrate your bearings on electronic compasses as Stuart navigates a journey with an MCU-guided compass module leading the way. He tells us how to avoid magnetoresistive effect, and the difference between magnetic north and true north.
Stuart Ball
Getting Directions CHC Proceed to Your Destination Without Having to Ask Someone 40 277

I've been writing occasionally about sensors, this article is about electronic compasses. With modern GPS, it's easy to keep track of where you are, and a GPS can even tell you the direction you are moving - as long as you're moving. Some handheld hiking GPS units have a built-in electronic compass because GPS gives you your position but can only tell direction if you are moving; I have a hiking GPS with a built-in compass.

A lot of cars contain a compass with the direction displayed either on the dashboard or in a corner of the review mirror.

Handheld mechanical compasses have been around for centuries, of course. I still have one in my hiking backpack. A compass can be affected by nearby metal and other interfering items. I had a compass in a car years ago that tended to point to the engine block rather than pointing north. Mechanical compasses are also prone to break and obviously can't be incorporated into a vehicle dashboard display.

Sailing ships with steel hulls and mechanical compasses have historically had steel balls and compensating magnets to adjust for the magnetic effects of the ship's hull.

Normally a mechanical compass points to the north pole the magnetic north pole.

The magnetic north pole isn't quite the same as the geographical north pole. Sometimes it doesn't matter because you are using a compass to navigate between two visible points. Or else you just want a general north/ south indication, like the way the compass in a car just gives you a general direction at the 8 points of the compass (N, NE, E, etc.). But sometimes you want to know where true north is, and you want more precision than the 8 compass points. This is especially important in aviation. Of course, modern airplanes use GPS for navigation, but the FAA still requires a compass as a backup instrument.

DECLINATION

Denne historien er fra August 2024-utgaven av Circuit Cellar.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

Denne historien er fra August 2024-utgaven av Circuit Cellar.

Start din 7-dagers gratis prøveperiode på Magzter GOLD for å få tilgang til tusenvis av utvalgte premiumhistorier og 9000+ magasiner og aviser.

FLERE HISTORIER FRA CIRCUIT CELLARSe alt
Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing
Circuit Cellar

Bringing Cost-Effective, On-Device AI to Home Appliances - Sparse Weights and Interactions Negate GPUs and Cloud Computing

GPU silicon and cloud computing infrastructure are too costly for mass markets devices like refrigerators and washers. By deploying compute resources only to the necessary parts of AI inference, Sparse AI allows product designers to practically incorporate new AI features like natural voice interfaces into their consumer offerings without breaking the bank or electric bill surprises.

time-read
5 mins  |
September 2024
Thin Film Transistor LED Displays - Visual I/O
Circuit Cellar

Thin Film Transistor LED Displays - Visual I/O

To add a resistive touchscreen on top of a TFT display, Jeff explores the technology offerings and libraries needed to accomplish his task. Calibrating the touchscreen's computed coordinates with the actual pixel coordinates of the display proved difficult with a modular framework but separating functions allows easy expansion.

time-read
9 mins  |
September 2024
Mobile APP Development with React Native
Circuit Cellar

Mobile APP Development with React Native

This month, Bob continues his series on mobile app development from an embedded designer's perspective. He programs a React Native app and he offers guidelines for picking a tutorial for React Native. He further explores how it handles concurrency and asynchronous programming. Bob expected a few nuances during the process but to say there were more than a few would be an understatement.

time-read
9 mins  |
September 2024
Power Analysis Over JTAG Ports: Hidden Debug Dangers - Block Side-Channel Analysis Attacks
Circuit Cellar

Power Analysis Over JTAG Ports: Hidden Debug Dangers - Block Side-Channel Analysis Attacks

Small changes in the phase of clock signals can encode power leakages. An attacker can use standard interfaces such as the JTAG port to drive clocks across targets, using them as measurement techniques for sidechannel analysis attacks despite limited physical access. This article demonstrates how you can test devices for vulnerability and how to modify devices to prevent attacks.

time-read
7 mins  |
September 2024
The Blues Wireless Notecard-LoRa
Circuit Cellar

The Blues Wireless Notecard-LoRa

After having built a number of Wi-Fi IoT gadgets for the home, Brian became curious to see how LoRaWAN-based IoT devices would work. He decided to investigate the Notecard LoRa IoT modules made by Blues Wireless.

time-read
10+ mins  |
September 2024
IoT Protection with MCU Security - Ward Off Attacks with Trust Zones, Encryption, Secure Keys and Tamper Detection
Circuit Cellar

IoT Protection with MCU Security - Ward Off Attacks with Trust Zones, Encryption, Secure Keys and Tamper Detection

Security breaches jumped 107 percent as malevolent forces increasingly focused on IoT devices for side attacks, IP and data theft. Semiconductor vendors supplying on-chip cryptography, memory protection, unclonable technology, random number generation and other measures hope to shut the door on attackers.

time-read
2 mins  |
September 2024
Fill AI with Computer Vision - On the Leading Edge of Adoption in Industrial IoT
Circuit Cellar

Fill AI with Computer Vision - On the Leading Edge of Adoption in Industrial IoT

In just about any factory, production lines hum along like a symphonic orchestra. However, makers of artificial intelligence hardware are pushing transformative technology with mind-boggling productivity gains to unlock unrealized potential. Just how fast will AI seamlessly integrate into the means of production?

time-read
10+ mins  |
September 2024
No Blues with Bluetooth! GATT Explained - Part 5 - Understanding Higher Protocol Layers Provides Interoperability Help
Circuit Cellar

No Blues with Bluetooth! GATT Explained - Part 5 - Understanding Higher Protocol Layers Provides Interoperability Help

After exploring low-level layers of Bluetooth Low Energy in previous editions, and establishing connections in Part 4, Robert examines Attribute Protocol and Generic Attribute Profile or GATT in Part 5. These higher layer protocols provide developers with greater opportunity for interoperability with third-party applications or products.

time-read
10+ mins  |
September 2024
Retro-style Miniature Sports Scoreboard - RGB LED Matrix and Raspberry Pi Provide In-Game Updates
Circuit Cellar

Retro-style Miniature Sports Scoreboard - RGB LED Matrix and Raspberry Pi Provide In-Game Updates

This Cornell University graduate describes how he built a miniature, retrostyle scoreboard that pulls and displays live college and professional sports scores from the ESPN API-bringing the excitement of being at a sporting event to your living room. Pre-game information, in-game scores, and post-game results are displayed on a built-in PiTFT touchscreen.

time-read
10 mins  |
September 2024
Exploring Infrasound - Tornado Early Warning Detection Project Using Raspberry Pi Pico and a Python Supervisory Program
Circuit Cellar

Exploring Infrasound - Tornado Early Warning Detection Project Using Raspberry Pi Pico and a Python Supervisory Program

Inspired by the possibility of building an early warning system for tornadoes, Dev developed an infrasound detector. Tornadoes are rare in his area, but his detector found other infrasound activity using sensor circuitry based on a Raspberry Pi Pico, combined with a Python supervisory program that stores data on a computer for analysis.

time-read
9 mins  |
September 2024