Skip to the content
2 layers28.8 × 27.8 mmEncoderBoard, the printed circuit board in 3D

KiCad Project for an AS5047P Breakout Board

Size
28.8 × 27.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
15
Nets
18
Pads
58
Tracks, vias
104, 12
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Jul 2025
Updated
9 Feb 2026

Overview

EncoderBoard is an open-source printed circuit board by Westly-Bouchard, from the Westly-Bouchard/AS5047P-Board repository on GitHub, published under the CERN-OHL-W-2.0 licence. It is a 2-layer board of 28.8 × 27.8 mm with 15 parts on 18 nets, routed with 104 tracks and 12 vias.

It is built around the AS5047P-AT. Its parts include 4 connectors, 3 resistors, 2 capacitors and 1 IC. It belongs with the robots and motor control and interfaces and adapters boards of this library.

Main components

1

README

README.md

Big thanks to PCBWay for sponsoring this project! Their support enables me (and hundreds of other designers) to make cool stuff. More info in Manufacturing


This is a breakout pcb for the commonly used AS5047P magnetic position sensor IC. Its SPI communication protocols are supported by many motor drivers such as VESCs and ODrives (newer ODrives have them built in, but boards based on the older open source designs like the ODesc don't). I designed this in KiCad, so if you want to work on it you'll need to install that.

It's also designed to mount easily with generic 360kv 5010 brushless motors like these. The mounting hole placement is sketched in an image below. There are two sets of holes, the wider set are 19mm apart and the closer set are 16mm apart.

This board exposes all possible communication interfaces with the IC:

  • SPI
  • ABI
  • UVW
  • PWM

Although it should be noted that some of these modes may require additional configuration over SPI to work (I believe the UVW mode needs to know the number of poles on the motor to function properly). Refer to the datasheet for more information.

This board allows for either 3.3 or 5 volt operation through a solder jumper on the back side, and all of the connectors are JST GH (kits for these are easily available on amazon).

Manufacturing

All of the files needed to manufacture these boards are provided in the fabrication folder.

The process is super easy if you use PCBWay:

  1. Upload the gerber.zip file to their instant quote tool
    • The default quantity is 5pcs, if you want more, change that here
    • This is a great opportunity to pick a specific color if you want something other than green
    • You may also want to select the HASL lead free option rather than the default leaded one
  2. You can get bare boards, but assembling them yourself can be a pain. Fortunately, PCBWay can assemble them for you!
    1. Check the Assembly Service box. The default options are fine here, make sure to set the quantity of boards you want assembled.
    2. You can now hit the Save to Cart button on the right hand side of the screen.
    3. You'll be taken to the orders page, where you'll have to upload a couple more files.
    4. Hit the Add File button and upload the Bom.csv and Centroid.csv files
    5. Now the engineers at PCBWay have to review the order to ensure that everything is correct
    6. Once this process is compete, you can check out, and production will start

PCBWay's amazing customer service team will email you with updates and to check things like component placement throughout the process. But, these boards are fairly simple and there should be no issues here. You can also check the exact status of your order at any time on the website.

✅ Results

I am certainly biased, but I've found that PCBWay is easily the best way to get PCBs made. The quality of the silkscreen and accuracy of component placement are great. And, the constant updates & communications from the PCBWay team give me great confidence that my projects will succeed on the first try.

I highly recommend their services. And, by supporting them, you support small projects and independent designers like myself!


When it's all said and done, these cost me about $10 per board with shipping and tariffs included (I live in the US). If you choose the cheaper shipping option and don't have to deal with crazy tariffs, then these could get down closer to $7 per board, which is a fantastic deal. Especially considering that similar encoders like the AS5048A on amazon cost closer to $14 per board (at least at the time of writing).

If you find a mistake, or want to make an improvement, feel free to open a pr!

Mounting hole spacing, the holes are M3.

Screenshot 2025-07-25 at 11 12 52 PM

Parts

15
QtyValueFootprintReferences
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
310kResistor_SMD:R_0402_1005MetricR1, R2, R3
2Conn_01x05_MountingPinConnector_JST:JST_GH_SM05B-GHS-TB_1x05-1MP_P1.25mm_HorizontalJ2, J3
1100nFCapacitor_SMD:C_0402_1005MetricC1
11uFCapacitor_SMD:C_0402_1005MetricC2
1AS5047PPackage_SO:TSSOP-14_4.4x5mm_P0.65mmU1
1Conn_01x03_MountingPinConnector_JST:JST_GH_SM03B-GHS-TB_1x03-1MP_P1.25mm_HorizontalJ4
1Conn_01x06_MountingPinConnector_JST:JST_GH_SM06B-GHS-TB_1x06-1MP_P1.25mm_HorizontalJ1
1SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mmJP1

Similar boards

  • 4 layers38.9 × 37.5 mmPCB V1.3, the printed circuit board in 3D

    PCB V1.3

    implementedrobotics/Nomad

    12-DOF Quadruped Robot

    74 parts34MIT
  • 2 layers42 × 42 mmAS5047-Devboard, the printed circuit board in 3D

    AS5047-Devboard

    awesomeyooner/AS5047-Devboard

    KiCAD project for breaking out the AS5047P magnetic encoder onto a NEMA17 hole pattern

    8 parts
  • 2 layers30 × 30 mmMagneticEncoder, the printed circuit board in 3D

    MagneticEncoder

    cornedoggen/MagneticEncoder

    Magnetic Encoder Sensor PCB

    15 parts
  • 2 layers100 × 60 mmCheap focer clone, the printed circuit board in 3D

    Cheap focer clone

    duwogus7650-ctrl/board-design

    OpenRobot SPN-MC(=VESCular6, VESC6 파생) 동등 기능의 QDD용 원형 모터 컨트롤러를 오픈소스 VESC6를 베이스로 신규 설계하는 프로젝트.

    36 parts
  • 6 layers13.4 × 51.8 mmCAPSTONE MC, the printed circuit board in 3D

    CAPSTONE MC

    nanshenwei/CAPSTONE_ARM

    repair a CAPSTONE? robot arm

    151 partsMIT
  • 2 layers40 × 60 mmSTM8003f3p development board, the printed circuit board in 3D

    STM8003f3p development board

    niksrajendra/stm8-bootloader-extended

    STM8 bootloader designed to work with any available communication interface and configure for different feature like secure, unsecure bootloader.

    131 parts
  • 4 layers36.8 × 35.6 mmESCv4.3, the printed circuit board in 3D

    ESCv4.3

    runger1101001/roboesc_micro

    108 parts

Questions

How big is the EncoderBoard PCB?

It measures 28.8 × 27.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the EncoderBoard use?

15 parts, built around the AS5047P-AT. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the EncoderBoard KiCad files?

From the Westly-Bouchard/AS5047P-Board repository on GitHub, at the commit this page was made from: the board is hardware/EncoderBoard.kicad_pcb and its schematic hardware/EncoderBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the EncoderBoard design in my own project?

Its repository publishes it under the CERN-OHL-W-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).