Skip to the content
4 layers102 × 100 mmTw2ka pcb, the printed circuit board in 3D

6-DOF robot arm (open-source TW2KA) with my own KiCad PCB, Teensy 4.1 firmware and a browser controller with inverse kinematics and G-code drawing.

Size
102 × 100 mm
Copper layers
4
Thickness
1.6 mm
Parts
44
Nets
110
Pads
284
Tracks, vias
431, 8
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
29 Sep 2026
Updated
29 Sep 2026

Overview

Tw2ka pcb is an open-source printed circuit board by hritesh94, from the hritesh94/6-DOF-Robot- repository on GitHub. It is a 4-layer board of 102 × 100 mm with 44 parts on 110 nets, routed with 431 tracks and 8 vias.

It is built around the TEENSY 4.1. Its parts include 32 connectors, 1 IC and 1 fuse. It belongs with the robots and motor control boards and the NXP (LPC, Kinetis, i.MX RT) boards of this library.

Main components

1

README

hardware/pcb/README.md

Control PCB (KiCad)

My own control board for the TW2KA arm: a Teensy 4.1 driving six TMC2209 stepper drivers, with endstop inputs. Designed in KiCad 10.

Size102 × 100 mm
Layers4 (F.Cu, In1.Cu, In2.Cu, B.Cu)
MCUTeensy 4.1 (socketed)
Drivers6 × TMC2209 modules (socketed)
Per driverSTEP, DIR, EN to the Teensy; UART RX/TX lines routed (J1–J6_RX/TX); MS1, MS2 and SPREAD selectable
Endstops5 inputs (SW_1–SW_5) for J1–J5
PowerMotor supply via terminal block and fuse, 100 µF capacitor per driver, separate logic supply (VIO)
WhatsApp Image 2026-09-28 at 1 49 23 PM pcb

https://github.com/user-attachments/assets/b51a67fe-33f5-430a-8fab-c27dd11908fc

Pin map and endstop wiring: docs/02-hardware.md.

Files

text
hardware/pcb/
├── tw2ka_pcb.kicad_pro     ← open this in KiCad
├── tw2ka_pcb.kicad_sch     ← schematic
├── tw2ka_pcb.kicad_pcb     ← board layout
├── fp-lib-table            ← project footprint library table
├── Tmc2209_pin_socket.pretty/  ← custom TMC2209 socket footprint (to add)
├── 3d/
│   └── tw2ka_pcb.step      ← 3D model of the assembled board
└── fabrication/
    ├── tw2ka_pcb-PTH.drl   ← plated drill file
    ├── tw2ka_pcb-NPTH.drl  ← non-plated drill file
    └── gerbers/            ← Gerber files for the board house (to add)

Opening the board works without the footprint libraries (footprints are stored inside the .kicad_pcb). To edit footprints you also need the Tmc2209_pin_socket.pretty folder and the Teensy footprint library (teensy.pretty, available on GitHub).

Ordering the board

Upload the Gerbers and both drill files from fabrication/ to a PCB manufacturer (JLCPCB, PCBWay, etc.) and choose 4 layers.

Lessons from the perfboard version

  • Put a 100 µF capacitor rated 35 V (not 25 V) on each driver's motor supply.
  • Never plug or unplug a motor while the driver is powered. It can destroy a TMC2209, which is how I lost two drivers and a motor.

Next revision

  • [Describe the small tweak you want to make]

Parts

44
QtyValueFootprintReferences
6C_Polarized_SmallCapacitor_SMD:CP_Elec_6.3x7.7100uf1, 100uf2, 100uf3, 100uf4, 100uf5, 100uf6
6Conn_01x01_PinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ24, J27, J28, J29, J30, J31
6Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ17, J18, J19, J20, J21, J22
6Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ13, J14, J15, J16, J39, J40
6Conn_02x08_Odd_EvenTmc2209_pin_socket:TMC2209_MODULEJ1, J2, J3, J4, J5, J6
5Conn_01x02_SocketConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ7, J8, J9, J10, J11
2Conn_01x24_PinConnector_PinHeader_2.54mm:PinHeader_1x24_P2.54mm_VerticalJ23, J25
1FuseFuse:Fuseholder_Cylinder-5x20mm_Schurter_0031_8201_Horizontal_OpenF1
1Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ12
1Teensy4.1teensy.pretty-master:Teensy41U1

The 40 most common of 44 parts.

Similar boards

  • 2 layers118.1 × 101.6 mmTeensy eurorack, the printed circuit board in 3D

    Teensy eurorack

    newdigate/teensy-eurorack

    Hardware Design: Eurorack shield for teensy 4.1 with 14 in / 16 out analog channels

    102 parts259MIT
  • 2 layers240 × 240 mmKfchess, the printed circuit board in 3D

    Kfchess

    misprit7/real-time-chess

    A physical chess board without the concept of turns

    235 parts254MIT
  • 2 layers304.8 × 170.8 mm00Key, the printed circuit board in 3D

    00Key

    ZeroZeroOne-dev/00Key

    00Key a 75% keyboard

    268 parts241GPL-3.0
  • 2 layers66.5 × 36.5 mmSyncBoard, the printed circuit board in 3D

    SyncBoard

    anthonytec2/OctoSense

    OctoSense is a multimodal dataset

    9 parts211MIT
  • 2 layers312 × 140 mmTsynth2 Rev1.3, the printed circuit board in 3D

    Tsynth2 Rev1.3

    Electrotechnique/TSynth-Teensy4.1

    TSynth for Teensy 4.1

    108 parts182
  • 2 layers316 × 119 mmTeensy Grovebox, the printed circuit board in 3D

    Teensy Grovebox

    jerry20091103/Teensy_Grovebox

    A portable synth and music multi-tool made with Teensy 4.1

    142 parts150MIT
  • 2 layers304.8 × 95.2 mmLMN, the printed circuit board in 3D

    LMN

    FundamentalFrequency/LMN-3-ECAD

    Electrical CAD Files for the LMN-3 Project

    106 parts106CC-BY-SA-4.0
  • 2 layersT41-Main+RF board V012, the printed circuit board in 3D

    T41-Main+RF board V012

    DRWJSCHMIDT/T41

    This is the repository for the officially released V10, V11, and V12 versions of the T41 Software Defined Transceiver hardware and kits.

    255 parts66

Questions

How big is the Tw2ka pcb PCB?

It measures 102 × 100 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Tw2ka pcb use?

44 parts, built around the TEENSY 4.1. 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 Tw2ka pcb KiCad files?

From the hritesh94/6-DOF-Robot- repository on GitHub, at the commit this page was made from: the board is hardware/pcb/tw2ka_pcb.kicad_pcb and its schematic hardware/pcb/tw2ka_pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Tw2ka pcb design in my own project?

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