Part of KUdos Custom Electronics Stack
KUdos Magnetic Encoder
A custom quadrature magnetic encoder PCB using the AS5047P for high-resolution odometry on VEX-U robots.
Project Overview
This is a custom magnetic encoder board I designed for the KUdos VEX-U robot odometry system. The board uses an AS5047P magnetic rotary position sensor configured for quadrature output, providing high-resolution position feedback for the Pinpoint odometry computer.
Role: PCB designer
Tools: KiCad, JLCPCB

Why Custom Encoders?
The goBILDA Pinpoint odometry computer expects standard quadrature encoder inputs. Rather than using off-the-shelf optical encoders, we designed a magnetic encoder that:
- Has no moving parts to wear out
- Is immune to dust and debris
- Provides 4096 counts per revolution (14-bit resolution)
- Works with any shaft that can hold a diametric magnet
Schematic

Design Details
AS5047P Configuration
The AS5047P-ATSM is a 14-bit magnetic rotary position sensor from AMS. It supports multiple output modes:
- SPI (digital)
- ABI (quadrature encoder)
- UVW (brushless motor commutation)
- PWM
For this design, we use ABI mode (quadrature output) by disabling SPI:
| Pin | Connection | Purpose |
|---|---|---|
| CSn | Pulled high (10k to VIN) | Disable SPI mode |
| CLK, MISO, MOSI | Pulled low (10k to GND) | Disable SPI interface |
| TEST | GND | Normal operation |
| A, B | Output connector | Quadrature signals |
With SPI disabled, the chip automatically outputs quadrature on the A/B pins.
Output Connector
4-pin connector (J1) with standard encoder pinout:
| Pin | Signal |
|---|---|
| 1 | GND |
| 2 | VIN (3.3-5V) |
| 3 | A (quadrature channel) |
| 4 | B (quadrature channel) |
This matches the Pinpoint's encoder input format.
Power
- VIN: 3.3V to 5V input
- C1: 100nF decoupling capacitor
- Current draw: ~10mA typical
Resolution
The AS5047P provides:
- 14-bit absolute position (16,384 positions per revolution)
- Quadrature output: 4096 pulses per revolution (1024 CPR x4 quadrature)
With the small omni wheels on the odometry pods, this gives sub-millimeter position resolution.
Assembly
The board is designed for easy assembly:
- Single-sided SMD components
- 0603 resistors (hand-solderable)
- AS5047P in TSSOP-14 package
- Diametric magnet mounted on shaft above the chip
The magnet must be centered over the chip with ~1mm air gap for optimal performance.

Tech Stack
| Area | Tools |
|---|---|
| Schematic & Layout | KiCad |
| Fabrication | JLCPCB |
| Sensor IC | AS5047P-ATSM |
More in KUdos Custom Electronics Stack

KUdos RPi Expansion HAT
A custom PCB for Raspberry Pi Zero 2W providing I2C interfacing and native RS485 communication for VEX-U robotics.

KUdos Robot Manager
An Electron desktop app for managing VEX-U robots with SSH deployment, Limelight tunneling, and live terminal access.

KUdos Coprocessor Firmware
The firmware running on the Raspberry Pi coprocessor for sensor fusion, vision processing, and communication with the VEX brain.

KUdos Electronics Bringup
The real-world integration and testing of the custom electronics stack on competition robots.

KUdos 2025-2026 Robot Code
The competition robot code for KUdos VEX-U, implementing autonomous routines and driver control with custom chassis systems.