3. Electronics Design

3.1 Control Architecture

The control system is centered around a Seeed Studio XIAO ESP32-C3 microcontroller programmed with Arduino firmware. Two A4988 stepper drivers are used to control the NEMA17 motors — one for the winding axis and one for the pitch control. Inputs include a beam break sensor for detecting spool rotations, a limit switch for pitch axis homing, and a 4-button interface to navigate the OLED menu.

3.2 Wiring Overview

3.3 PCB Design

The custom PCB was designed in KiCad and manufactured with a compact 2-layer layout. The board includes:

3.4 Safety and Cable Management

3.5 Electronics BOM

Component Qty Specification Notes
Microcontroller1Seeed XIAO ESP32-C3Arduino-compatible, Wi-Fi
Stepper Motor Drivers2A4988For NEMA17 control
NEMA17 Stepper Motors21.8° stepSpool and pitch axes
Power Supply112V 3AMain power source
Beam Break Sensor1KY-010 or TCRT5000Spool rotation counter
Limit Switch1MechanicalPitch axis homing
OLED Display10.96\", SSD1306, I2CMenu interface
Tactile Buttons46mm push buttonsUser input navigation
Custom PCB12-layer KiCadAll-in-one control board
Header Pins / JSTs~202.54 mmSensor and driver connectors
Wires1 set22 AWGSignal and power
Heat Shrink TubingVarious-Insulation and labeling