Connecting the Duinotech 3-Axis Compass to an Arduino

David Such
7 min readOct 14, 2022

The Duinotech 3-Axis Compass Magnetometer Module (Part Number: XC-4496 — see Figure 1) can be purchased from Jaycar Electronics.

Figure 1. The 2022 Duinotech 3 Axis Compass Magnetometer Module

Unfortunately, the module comes with no instructions and very brief specifications:

  • Operating Voltage: 5VDC (or 3.3 VDC)
  • Resolution: 12 bits
  • Interface: I2C

--

--

David Such

Reefwing Software · Embedded Systems Engineer · iOS & AI Development · Robotics · Drones · Arduino · Raspberry Pi · Flight Control