Skip to the content
2 layers190.5 × 121.8 mmGantry PCBv2, the printed circuit board in 3D

an attempt to automate screwing out and in of screw holes arranged in a matrix formation

Size
190.5 × 121.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
173
Nets
199
Pads
658
Tracks, vias
1,153, 102
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Jul 2025
Updated
18 Mar 2026

Overview

Gantry PCBv2 is an open-source printed circuit board by 4rynv, from the 4rynv/Eklavya_Gantry repository on GitHub, published under the MIT licence. It is a 2-layer board of 190.5 × 121.8 mm with 173 parts on 199 nets, routed with 1,153 tracks and 102 vias.

It is built around the 74HC245D, ESP32-WROOM-32U and MP1584EN, with the SN74CBT3244DW, TLV75733PDBV and SS14 among its other parts. Its parts include 55 resistors, 30 capacitors, 17 diodes, 17 connectors and 13 ICs. It belongs with the ESP32 boards of this library.

Main components

9

README

README.md

GantryMate-200: Automated Gantry-Based Screwing System

whole assembly_withouttoolheadToolhead 3d files

Table of Contents

  1. Problem Statement
  2. Our Solution
  3. Features
  4. Prerequisites
  5. Repository Structure
  6. Installing
  7. Hardware Architecture
  8. Future Goals
  9. Authors
  10. Acknowledgments

Problem Statement

GantryMate-200 addresses the challenge of automating the precise handling of ~280 miniature screws (1 mm size) on sensitive LED panels. The system must operate with extreme precision around delicate circuitry while maintaining high-speed performance.

Our Solution

An advanced automated gantry system designed for precision screwing and unscrewing of miniature screws on delicate LED panels with sub-millimeter accuracy and high-speed operation.

CAD MODEL (Our CAD files)

LED Panel Configuration

The target LED panel consists of two distinct layers:

  • Top Layer: Contains 200 screws - must be removed first during disassembly
  • Bottom Layer: Contains 80 screws - accessible only after top layer removal

Installation Process: Follows reverse order (bottom layer first, then top layer)

Critical Requirements

Given the proximity to sensitive circuitry, the system must ensure:

  • Sub-millimeter positioning repeatability
  • Precise force control to prevent damage
  • Accurate screw orientation detection
  • Zero tolerance for misalignment
  • Complete each screwing/unscrewing operation in under 5 seconds

Features

  • High precision 3-axis gantry system (X, Y, Z axes)
  • Specialized toolhead with automated screw feeding mechanism
  • Sub-millimeter(0.05mm resolution) positioning accuracy
  • High-speed operation (<5 seconds per screw to be achieved)
  • Automated screw orientation ensuring correct placement(to be achieved)

Prerequisites

Hardware requirements:

  • ESP32 development board
  • DRV8825 stepper motor drivers (3x for X, Y, Z axes)
  • Nema 17 Stepper motors (3x for gantry movement)
  • Power supply (appropriate voltage/current for your stepper motors)
  • Mechanical components (rails, belts, pulleys, frame, etc)

Software used:

  • ESP-IDF (development framework)
  • KiCad (for PCB modifications)
  • Onshape (for Mechanical Design)
  • Git for version control.

Repository Structure

text
Eklavya_Gantry
├── Docs/
├── Firmware/
│   ├── DRV8825/                   #Code for Running the system on DRV8825   
│   │   ├── circle/
│   │   ├── Double_axes/
│   │   ├── final/
│   │   ├── go_to_pos/
│   │   ├── homing/
│   │   ├── limit/
│   │   ├── SRA/
│   │   ├── step_func/
│   │   ├── stepper_test/
│   │   ├── totalhoming/
│   │   └── total_positioning/
│   ├── TMC2208/                   #Code for Running the system on TMC2208
│   │   ├── Go_to_pos/
│   │   ├── step_func/
│   │   └── uart/
│   │       ├── nmea0183_parser/
│   │       ├── uart_async_rxtxtasks/
│   │       ├── uart_echo/
│   │       ├── uart_echo_rs485/
│   │       ├── uart_events/

Installing

Step-by-step setup process:

  1. Clone the repository
bash
git clone https://github.com/av-codes-lgtm/Eklavya_Gantry.git
cd Eklavya_Gantry
  1. Build and flash firmware

Go to the folder with the code you want to flash to the esp using

bash
cd /Eklavya_Gantry/Firmware/folder-of-your-choice

and then run the following code

bash
idf.py build flash monitor

Hardware Architecture

ComponentDescription
ESP32Main microcontroller with WiFi/Bluetooth capability
DRV8825 Stepper DriversHigh-performance microstepping motor drivers
Nema 17 Stepper MotorsPrecision motors for X, Y, Z axis control
Custom PCBIntegrated control and driver circuitry (under development)

Future Goals

  • Shift to TMC2208 stepper drivers for better current handling and power distribution. DRV8825 does not work for prolonged time periods.
  • Finalising the circuitry and shifting completely to PCB.
  • Fine tuning the screw in and screw out processes to achieve industry grade quality screwing.
  • Add a screw feeding system for the "screwing in" process.
  • Creating a feedback mechanism to verify Screwing and unscrewing
  • Creating a UI (Either WebPortal or build in software controlled using Raspberry Pi and a small screen) to make operation of the system simpler.

Authors

See the list of contributors who participated in this project.

Acknowledgments

  • Thanks to the ESP-IDF, KiCad and Onshape community for excellent development tools
  • Inspiration from industrial automation and precision manufacturing

For technical support, feature requests, or bug reports, please open an issue on GitHub.

Parts

173
QtyValueFootprintReferences
140.1uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC10, C11, C12, C13, C14, C17, C18, C19, C22, C23, C24, C27, C30, C33
13TPTestPoint:TestPoint_Pad_D2.0mm3V3, 5V, 12V, FLT/VIO1, FLT/VIO2, FLT/VIO3, FLT/VIO4, M1_D, M1_S, M2_D, M2_S, M3/4_D, M3/4_S
1010kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR43, R44, R45, R46, R47, R48, R50, R51, R55, TH1
8100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR23, R24, R25, R26, R36, R37, R38, R39
810KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8, R9, R16, R17, R18, R19, R20, R54
8MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4, H5, H6, H7, H8
6600Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR31, R32, R35, R40, R41, R42
6Y_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD11, D13, D14, D15, D16, D17
41KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR13, R14, R15, R49
4470uFCapacitor_SMD:CP_Elec_10x10.5C20, C21, C25, C26
4B2B-XH-A_LF__SN_Connector_JST:JST_EH_B2B-EH-A_1x02_P2.50mm_VerticalJ5, J6, J7, J10
4Conn_01x04_PinConnector_JST:JST_EH_B4B-EH-A_1x04_P2.50mm_VerticalJ12, J13, J14, J15
4DRV8825_STEPPER_MOTOR_DRIVER_CARRIERStepperMotor Driver:stepperU5, U6, U8, U9
3100kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R4, R5
310uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC2, C28, C29
3SolderJumperJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm_NumberLabelsJP1, JP2, JP3
20.3kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR56, R57
2150Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR27, R30
21kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR33, R34
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9, C15
25.1KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR28, R29
274HC245Package_SO:SOIC-20W_7.5x15.4mm_P1.27mmU10, U11
2B_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD8, D10
2Conn_01x05_PinConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ16, J17
2Conn_01x14Connector_PinHeader_2.54mm:PinHeader_1x14_P2.54mm_VerticalJ4, J8
2LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD18, D19
2SS14Diode_SMD:D_SMAD2, D12
2SS8050Package_TO_SOT_SMD:SOT-23Q2, Q3
2SW_Push_DPDTdpdt_tht:dpdtSW3, SW4
10.1uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC32
11.5kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR22
1100nFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC4
1150pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC3
115uHInductor_SMD:L_Sunlord_MWSA0603SL1
11AFuse:Fuse_Littelfuse-LVR100F2
1210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR11
122.1kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR52
122uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC8
124.9kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR3
12kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
14.7kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR21
14.7uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC31
14.7uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC16
140.2kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR12
147.5kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR53
15AFuse:Fuse_Littelfuse-LVR100F1
1CP2102N-Axx-xQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU13
1Conn_01x03_PinConnector_JST:JST_EH_B3B-EH-A_1x03_P2.50mm_VerticalJ3
1Conn_01x10Connector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ9
1DCJ200-10-A-XX-X_REVAConnector_BarrelJack:BarrelJack_GCT_DCJ200-10-A_HorizontalJ2
1D_SchottkyDiode_SMD:D_SMA_HandsolderingD4
1ESP32-WROOM-32URF_Module:ESP32-WROOM-32UU14
1G_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD7
1LOGOGantry:logoG***
1LOGOlogos:sra_skull_bigG***
1LOGOGantry:teamv3G***
1LOGOGantry:SRA_logG***
1LOGOGantry:connectionsv2G***
1MCP23017_SOPackage_SO:SOIC-28W_7.5x17.9mm_P1.27mmU12
1MP1584Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mmU2
1NMOSPackage_TO_SOT_THT:TO-247-3_VerticalQ1
1NSCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC6
1PolyfuseFuse:Fuse_Littelfuse-LVR100F3
1PotentiometerPotentiometer_THT:Potentiometer_Bourns_3266Y_VerticalRV1
1R_LEDLED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolderD6
1SN74CBT3244Package_SO:TSSOP-20_4.4x5mm_P0.5mmU1
1SP0503BAHTPackage_TO_SOT_SMD:SOT-143D9
1SS34Diode_SMD:D_SMBD1
1SW_0Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW1
1SW_ENButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW2
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1
1TB6612FNG H-bridge Motor DriverMotor Drivers:MODULE_ROB-14450U7
1TLV75733PDBVPackage_TO_SOT_SMD:SOT-23-5U4
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ11

Similar boards

  • 4 layers401.5 × 130.1 mmOssw, the printed circuit board in 3D

    Ossw

    BinaryS010/ossw

    Open SCART Switch

    336 parts8GPL-3.0
  • 2 layers74.2 × 52.1 mmBLE MOTOR, the printed circuit board in 3D

    BLE MOTOR

    maivananh111/PCB-ESP32-BLE-Keyless

    Keyless board esp32 for bike

    60 parts
  • 2 layers54 × 100.5 mmDesk control, the printed circuit board in 3D

    Desk control

    mubarizahmed/desk_control

    Firmware for an ESP32 based physical productivity widget

    38 parts
  • 2 layers102 × 66 mmFREE ENERGY ESP, the printed circuit board in 3D

    FREE ENERGY ESP

    Sureshbkmr/Energy-Harvesting-Based-on-Beaden-Research-Paper

    Based on Beaden Research Paper full custom PCB

    60 parts
  • 2 layers130.5 × 91.1 mmRobot Main Controller V3, the printed circuit board in 3D

    Robot Main Controller V3

    manhtienvu-vn/Defensive_Robot

    Full neccessary document my team PKA-03 (Phenikaa University) used to build a defensive robot in the Vietnam Robocon competition 2025, including firmware, hardware and mechanical design.

    128 parts
  • 2 layers61 × 77.8 mmReforge 1, the printed circuit board in 3D

    Reforge 1

    kishoriju-vrind/Reforge

    96 parts
  • 2 layersPCB SALUS v2, the printed circuit board in 3D

    PCB SALUS v2

    LeoSole423/PCB_SALUS_V3

    PCB de control para el robot Ackermann SALUS. Esta revision se inspira en la arquitectura de Hoja-Base, pero usa un ESP32-S3 y se mantiene como un diseno independiente.

    75 parts

Questions

How big is the Gantry PCBv2 PCB?

It measures 190.5 × 121.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gantry PCBv2 use?

173 parts, built around the 74HC245D, ESP32-WROOM-32U, MP1584EN and SN74CBT3244DW. 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 Gantry PCBv2 KiCad files?

From the 4rynv/Eklavya_Gantry repository on GitHub, at the commit this page was made from: the board is PCB/Gantry_PCBv2/Gantry_PCBv2.kicad_pcb and its schematic PCB/Gantry_PCBv2/Gantry_PCBv2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gantry PCBv2 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).