Skip to the content
2 layers61.3 × 77 mmAhrs can adapter, the printed circuit board in 3D

Ahrs can adapter

gpgreen/ahrs-can-adapter

Kicad design for Pixhawk 4 flight board to CAN network adapter

Size
61.3 × 77 mm
Copper layers
2
Thickness
1.6 mm
Parts
44
Nets
74
Pads
192
Tracks, vias
333, 79
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
17 Mar 2026
Updated
12 Apr 2026

Overview

Ahrs can adapter is an open-source printed circuit board by gpgreen, from the gpgreen/ahrs-can-adapter repository on GitHub, published under the MIT licence. It is a 2-layer board of 61.3 × 77 mm with 44 parts on 74 nets, routed with 333 tracks and 79 vias.

It is built around the STM32F107RCT6 and UA78M33CDCYR. Its parts include 12 capacitors, 7 ICs, 5 resistors, 4 diodes and 4 connectors. It belongs with the interfaces and adapters boards and the STM32 boards of this library.

Main components

2

README

README.md

ahrs-can-adapter

KiCad design for a CAN adapter to a Dronecad flight board. The MCU is a stm32f107rbt6.

Changes

  • Rev A Original

Firmware

Firmware

Connections to Segger JTAG

I have put test points on the board, so that pogo pins can be used to program the MCU.

jlink web page

text
**** 20 Pin connector for JTAG
                -------
    VTref      1|*   *|2 NC
    nTRST      3|*   *|4 GND
    TDI        5|*   *|6 GND
    TMS        7|*   *|8 GND
    TCK        9|*   *|10 GND
    RTCK      11|*   *|12 GND
    TDO       13|*   *|14 GND
    RESET     15|*   *|16 GND*
    DBGRQ     17|*   *|18 GND*
    5V Supply 19|*   *|20 GND*
                -------

From a 20pin JTAG connector, run wires to the following test pads to connect a debugger:

text
VTRef 1  <-> 3V3
SWDIO 7  <-> SWD
SWCLK 9  <-> SWC
RESET 15 <-> RST
GND   4  <-> GND

Running SEGGER JLink

Run the JLink GDB server via the following:

text
JLinkGDBServer -if SWD -device STM32F103CB

GDB can be connected via the following:

text
gdb-multiarch --command=jlink-stm32.gdb target/thumbv7m/debug/main

Running ocd

text
openocd -f interface/stlink-v3.cfg -f target/stm32f1x.cfg

Credits

as always, thanks for the good work

License

Licensed under

Parts

44
QtyValueFootprintReferences
71uFCapacitor_SMD:C_0603_1608MetricC3, C4, C7, C8, C9, C10, C11
4MountingHoleMountingHole:MountingHole_2.5mm_PadH1, H2, H3, H4
31KResistor_SMD:R_0603_1608MetricR2, R4, R5
222pFCapacitor_SMD:C_0603_1608MetricC5, C6
2LTC2875-S8Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU3, U6
2VCAN26A2Package_TO_SOT_SMD:SOT-323_SC-70U5, U7
10.1ufCapacitor_SMD:C_0603_1608MetricC15
10.33ufCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_HandSolderC13
11.5KResistor_SMD:R_0603_1608MetricR3
110KResistor_SMD:R_0603_1608MetricR1
110ufCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-A_HandSolderC14
13V3TestPoint:TestPoint_Pad_D2.0mmTP1
18MHzCrystal:Crystal_SMD_TXC_7M-4Pin_3.2x2.5mmY1
1CAN INConnector_Dsub:DSUB-9_Socket_Horizontal_P2.77x2.84mm_EdgePinOffset14.56mm_Housed_MountingHolesOffset8.20mmJ3
1CAN OUTConnector_Dsub:DSUB-9_Socket_Horizontal_P2.77x2.84mm_EdgePinOffset14.56mm_Housed_MountingHolesOffset8.20mmJ4
1Flight PowerConnector_JST:JST_GH_BM06B-GHS-TBT_1x06-1MP_P1.25mm_VerticalJ1
1Flight TelemConnector_JST:JST_GH_BM04B-GHS-TBT_1x04-1MP_P1.25mm_VerticalJ2
1GNDTestPoint:TestPoint_Pad_D2.0mmTP2
1LEDLED_SMD:LED_0805_2012MetricD1
1LED1LED_SMD:LED_0805_2012MetricD2
1LED2LED_SMD:LED_0805_2012MetricD3
1LED3LED_SMD:LED_0805_2012MetricD4
1MPM3610-adafruit 5Vcustom_footprint:Adafruit_MPM3610U1
1PolyfuseFuse:Fuse_Bourns_MF-SM_7.98x5.44mmF1
1RSTTestPoint:TestPoint_Pad_D2.0mmTP5
1Resetcustom_footprint:OnShine KPT-1187BSW1
1STM32F107RCT6Package_QFP:LQFP-64_10x10mm_P0.5mmU4
1SWCTestPoint:TestPoint_Pad_D2.0mmTP4
1SWDTestPoint:TestPoint_Pad_D2.0mmTP3
1UA78M33CDCYRPackage_TO_SOT_SMD:SOT-223-3_TabPin2U2

Similar boards

  • 4 layers42 × 42 mmAxis Basic, the printed circuit board in 3D

    Axis Basic

    andrew153d/AxisDriver

    76 parts1
  • 2 layers130 × 125 mmMaster node, the printed circuit board in 3D

    Master node

    naichenzhao/EECS106A_MRI_Robot

    52 parts
  • 4 layers122 × 102 mmEXO PCB 1, the printed circuit board in 3D

    EXO PCB 1

    Prosthetics-Exoskeleton/Grip_Exo_PCB_V1

    KiCAD design files for first iteration of grip exoskeleton PCB. Contains 10 sensor ports and space for 5 sets of solenoid valves

    120 parts
  • 2 layers76.2 × 73.7 mmRetroZ disk, the printed circuit board in 3D

    RetroZ disk

    formix/RetroZ

    An S80 Single Board Retro Computer

    22 parts22Apache-2.0
  • 2 layers100 × 100 mmHotBox, the printed circuit board in 3D

    HotBox

    sundr007/HotBox

    A benchtop thermal Chamber used to test electronics at elevated ambient temperature. Kicad PCB, STM32 firmware, OpenScad Mechanical

    38 parts1GPL-2.0
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers115 × 14.5 mmUFC Function Select, the printed circuit board in 3D

    UFC Function Select

    jrsteensen/OpenHornet

    OpenHornet 1:1 F/A-18C Simulator Repository

    44 parts431

Questions

How big is the Ahrs can adapter PCB?

It measures 61.3 × 77 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ahrs can adapter use?

44 parts, built around the STM32F107RCT6 and UA78M33CDCYR. 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 Ahrs can adapter KiCad files?

From the gpgreen/ahrs-can-adapter repository on GitHub, at the commit this page was made from: the board is ahrs-can-adapter.kicad_pcb and its schematic ahrs-can-adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ahrs can adapter design in my own project?

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