






Login / Signup
Cart
Your cart is empty
The TMAG5273 detects 3D magnetic fields and calculates rotation angles in real time, making contactless motion sensing practical for encoders and joysticks.
The Adafruit TMAG5273 3D Hall Effect Magnetometer Breakout is a low-power linear 3D Hall-effect sensor designed for a wide range of industrial and personal electronics applications. It integrates three independent Hall-effect magnetometer sensors in the X, Y, and Z axes for full 3D orientation detection. The built-in 12-bit ADC can read the signal from each axis for read-out over I2C, it even has a thermometer built in for basic temperature reading!
An integrated angle calculation engine (CORDIC) provides full 360° angular position information for both on-axis and off-axis angle measurements. The angle calculation is performed using two user-selected magnetic axes over I2C. The TMAG also features magnetic gain and offset correction - note you'll have to manage the values and write them into the chip on boot-up.
3D Hall effect sensors are great for sensing rotation or motion of an object nearby with a magnet embedded inside: often used for magnetic rotary encoders or joysticks that don't have mechanical switches and thus are more reliable and don't fail from wear.
This sensor comes in two flavours, the A1 type is ±40mT / ±80mT range (you can pick either range), and the A2 has a wider ±133mT / ±266mT range. Both use the exact same firmware and pinout - the firmware we've written can detect which one you have plugged in and automatically scale the readings as necessary. This isn't a great sensor for measuring the magnetic field of the earth, much better for magnets of the ferric or rare-earth persuasion.
To make life easier so you can focus on your important work, we've taken the TMAG5723 and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favourite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the TMAG and get magnetic measurements ASAP.
It's fully assembled and tested. Comes with a bit of 0.1" standard header in case you want to use it with a breadboard or perfboard. Four 2.5mm (0.1") mounting holes for easy attachment.
Please note: Feather board not included.

















