Skip to the content
2 layers21 × 17 mmEncoder SPI MT6701 I2CAdapter, the printed circuit board in 3D

Encoder SPI MT6701 I2CAdapter

runger1101001/Magnetic_Encoders11

Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

Size
21 × 17 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
13
Pads
54
Tracks, vias
91, 12
Pours
1
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
22 Oct 2021
Updated
4 Jan 2026

Overview

Encoder SPI MT6701 I2CAdapter is an open-source printed circuit board by runger1101001, from the runger1101001/Magnetic_Encoders repository on GitHub. It is a 2-layer board of 21 × 17 mm with 21 parts on 13 nets, routed with 91 tracks and 12 vias.

It is built around the NXB0102GTX. Its parts include 7 resistors, 4 connectors, 2 capacitors, 2 diodes and 1 IC.

Main components

1

README

Encoder_SPI_SC60228_big/README.md

SC60228 magnetic angle sensor

Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

For use in motor control or robotics applications, the sensor measures the orientation (angle in the plane) of a nearby diametrically magnetized magnet.

That sounds more complicated than using it really is, so lets describe it another way:

  • attach the magnet to the axis of something that rotates
  • put the sensor near it
  • read angles with your Arduino
Back of boardFront of board
with SH 1.0 connector with sensor

Features

  • 3V to 5V operation
  • 12 bit accuracy, 4096 positions per revolution
  • SPI interface up to 10MHz
  • power indication LED (green, dim)

Datasheet of the sensor: https://semiment.com/wp-content/uploads/2021/04/SC60228_EN-VA1.0.pdf

Getting one

You may be able to buy some here:

I sell on Tindie

Or you could make one - it is open source, you will find gerber files and BOM in the repo, and design files for KiCad 6.

Usage

The sensor has to be precisely positioned near the magnet. The magnet should be precisely on-axis and in-plane (no wobble!). The sensor should be mounted with an air-gap of about 0.5mm to the magnet.

Taking the time to mount the magnet and sensor board carefully will improve the accuracy and smoothness of your readings.

The sensor has an SPI interface:

The SPI interface is available on a JST-SH 6-pin socket. Pre-made cables are available cheaply on AliExpress and other sources.

You may connect VCC to either 3.3V or 5V.

Connect the other lines (MOSI, MISO, CLK and CS) to the respective counterparts on your MCU board.

Note: The sensor board does not pull the CS line up.

Communications

SPI interface:

  • SPI Mode 1
  • MSB first
  • max 10MHz SPI clock

See datasheet for details, or use an existing software driver.

:warning: Note: cable length, shielding (or lack thereof) and environmental noise may limit performance to significantly less than the 10MHz maximum.

Software

The sensor can be used with any appropriate SPI driver.

The author uses it with Arduino-compatible MCU boards and the SimpleFOC library.

A driver for the sensor for Arduino and SimpleFOC can be found here: SimpleFOC drivers library

Physical dimensions

v1.0: 21 x 17 x 4mm (1.6mm PCB)

Cables

Pre-made JST SH 1.0 cables are available. When buying cables with two plugs, choose the type that is called "reverse connection" - where the pins on both ends of the cable have the same order.

Some links to compatible cables / breakout boards:

Parts

21
QtyValueFootprintReferences
72k2Resistor_SMD:R_0402_1005MetricR1, R2, R3, R4, R5, R6, R7
2100nF 10VCapacitor_SMD:C_0402_1005MetricC1, C2
2JPJumper:SolderJumper-2_P1.3mm_Bridged2Bar_RoundedPad1.0x1.5mmJP1, JP2
2MountingHole_PadMountingHole:MountingHole_2.2mm_M2_ISO7380_PadH1, H2
2greenLED_SMD:LED_0402_1005MetricD1, D2
13.3V inConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
15V inConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1JST_SH_SM04BConnector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_HorizontalJ2
1JST_SH_SM06BConnector_JST:JST_SH_SM06B-SRSS-TB_1x06-1MP_P1.00mm_HorizontalJ4
1NXB0102GTXrunger:SOT833-1 (XSON8)U1
1Robo_Logorunger:Robo_logo2L1

More from runger1101001/Magnetic_Encoders

12
  • 2 layers131 × 111 mmEncoder I2C AS5600 Panel, the printed circuit board in 3D

    Encoder I2C AS5600 Panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    741 parts11
  • 2 layers107 × 111 mmEncoder SPI AS5047P panel, the printed circuit board in 3D

    Encoder SPI AS5047P panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    491 parts11
  • 2 layers113 × 107 mmEncoder SPIABZ MT6816 Panel, the printed circuit board in 3D

    Encoder SPIABZ MT6816 Panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    488 parts11
  • 2 layers113 × 103 mmEncoder SPIABZ MT6826S Panel, the printed circuit board in 3D

    Encoder SPIABZ MT6826S Panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    488 parts11
  • 2 layers115 × 103 mmEncoder SPI KTH7812 Panel, the printed circuit board in 3D

    Encoder SPI KTH7812 Panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    468 parts11
  • 2 layers107 × 111 mmEncoder SPI SC60228 panel, the printed circuit board in 3D

    Encoder SPI SC60228 panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    468 parts11
  • 2 layers96 × 41 mmEncoder SPI Panel v1 1, the printed circuit board in 3D

    Encoder SPI Panel v1 1

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    157 parts11
  • 2 layers63 × 41 mmEncoder SPI Panel, the printed circuit board in 3D

    Encoder SPI Panel

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    105 parts11
  • 2 layers25 × 10 mmEncoder AEAT 8800 Q24, the printed circuit board in 3D

    Encoder AEAT 8800 Q24

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    24 parts11
  • 2 layers21 × 8 mmEncoder, the printed circuit board in 3D

    Encoder

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    17 parts11
  • 2 layers40 × 22 mmEncoder Distribution MA730 4x, the printed circuit board in 3D

    Encoder Distribution MA730 4x

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    14 parts11
  • 2 layers21 × 10 mmEncoder AS5600L, the printed circuit board in 3D

    Encoder AS5600L

    runger1101001/Magnetic_Encoders

    Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

    13 parts11

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463

Questions

How big is the Encoder SPI MT6701 I2CAdapter PCB?

It measures 21 × 17 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Encoder SPI MT6701 I2CAdapter use?

21 parts, built around the NXB0102GTX. 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 Encoder SPI MT6701 I2CAdapter KiCad files?

From the runger1101001/Magnetic_Encoders repository on GitHub, at the commit this page was made from: the board is Encoder_SPI_MT6701_I2CAdapter/Encoder_SPI_MT6701_I2CAdapter.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Encoder SPI MT6701 I2CAdapter design in my own project?

Its repository states no licence, so its author keeps all rights: ask runger1101001 before reusing the design.