
Encoder I2C AS5600 Panel
runger1101001/Magnetic_Encoders
Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.

Small (21x17mm) board for the SC60228 magnetic absolute angle sensor.
Encoder 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 × 8 mm with 17 parts on 16 nets, routed with 84 tracks and 21 vias.
Its parts include 5 resistors, 2 capacitors, 2 connectors, 1 IC and 1 diode.
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:
| Back of board | Front of board |
|---|---|
with SH 1.0 connector ![]() | with sensor ![]() |
Datasheet of the sensor: https://semiment.com/wp-content/uploads/2021/04/SC60228_EN-VA1.0.pdf
You may be able to buy some here:
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.
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.
SPI interface:
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.
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
v1.0: 21 x 17 x 4mm (1.6mm PCB)
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:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 2k2 | Resistor_SMD:R_0402_1005Metric | R3, R4, R5 |
| 2 | 18k | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | MountingHole | MountingHole:MountingHole_2.2mm_M2 | H1, H2 |
| 1 | 100nF | Capacitor_SMD:C_0402_1005Metric | C2 |
| 1 | 10uF | Capacitor_SMD:C_0402_1005Metric | C1 |
| 1 | A1 | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP2 |
| 1 | A2 | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP3 |
| 1 | AS5048B | Package_SO:TSSOP-14_4.4x5mm_P0.65mm | U1 |
| 1 | Conn_01x04 | Connector_JST:JST_SH_SM04B-SRSS-TB_1x04-1MP_P1.00mm_Horizontal | J1 |
| 1 | LED (green) | LED_SMD:LED_0402_1005Metric | D1 |
| 1 | LOGO | Symbol:Robo_logo | G*** |
| 1 | Open 5V Closed 3.3V | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1 |
| 1 | PWM | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |

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

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

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

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

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

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

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

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

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

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

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

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



hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI


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

DDeGonge/OS-ARM
This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…


It measures 21 × 8 mm and has 2 copper layers, 1.6 mm thick.
17 parts. 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.
From the runger1101001/Magnetic_Encoders repository on GitHub, at the commit this page was made from: the board is Encoder/Encoder.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask runger1101001 before reusing the design.