Sensor Wiring Setup

Work done
  • Integrated the two native PC817 homing sensor channels with labeled X/Y sensor terminals, 10kΩ pullups, 100nF filters, 4.7kΩ status LED resistors, Nano D9/D10 outputs, and a single 0Ω star link between GND_24V and GND_LOGIC.
  • Preserved the 100 mm × 152 mm, 2-layer board and placed the new/updated sensor parts in the connector area with no placement overlap or out-of-bounds issues.
  • Applied the required 1.6 mm copper spacing rule conservatively and documented the implementation in Homing Sensor Integration Audit.
Success criteria review
  • ✅ Native X/Y sensor circuitry integrated and connected to +24V_SENSOR / GND_24V.
  • LIMIT_X_NET connects to Nano D9; LIMIT_Y_NET connects to Nano D10.
  • ✅ Sensor terminals are documented as BRN/BLU/BLK and filters/status LEDs are included.
  • ✅ Board size and 2-layer stackup are preserved.
  • ❌ Final layout DRC is not clean: airwires and overlapping copper remain after the stricter spacing rule, so the board is not fabrication-ready yet.
Next steps
Run routing cleanup/autoroute for the updated board, then re-check DRC until the airwire and copper-clearance issues are cleared. I can continue with PCB routing/cleanup guidance next.
Route sensor nets
Review DRC violations
Verify clearance rule
Prepare Gerbers
Update audit doc
ESP32
R5
Resistance
10kΩ
R8
Resistance
10kΩ
STUFFER_BASE_R
Resistance
1kΩ
STUFFER_BASE_PD
Resistance
10kΩ
R7
Resistance
10kΩ
R4
Resistance
10kΩ
R2
Resistance
10kΩ
R11
Resistance
1kΩ
R_PULLUP_Y
Resistance
10kΩ
R1
Resistance
10kΩ
R_STATUS_Y
Resistance
4.7kΩ
STUFFER_PWR_LED_R
Resistance
1kΩ
R6
Resistance
10kΩ
R14
Resistance
1kΩ
R_STATUS_X
Resistance
4.7kΩ
R_PULLUP_X
Resistance
10kΩ
STUFFER_OPTO_R
Resistance
1kΩ
R12
Resistance
4.7kΩ
R3
Resistance
10kΩ
R13
Resistance
1kΩ
STUFFER_RELAY_LED_R
Resistance
1kΩ
R_STAR_GND
Resistance
0 Ω
TP1
J_SENSOR_PWR
TP5
C8
Capacitance
10µF
H2
BUTTON_BOX_CONN
H1
Q1
LED_STATUS_X
Q4
TP2
LED1
Q2
MH1
LED3
TP3
LED2
STUFFER_DECOUPLE
Capacitance
100nF
LED_STATUS_Y
C_FILT_Y
Capacitance
100nF
C1
Capacitance
100nF
H3
TP4
C_FILT_X
Capacitance
100nF
STUFFER_BULK
Capacitance
10µF
C7
Capacitance
10µF
LED4
Q3
C2
Capacitance
100nF
TP6
X_MOTOR_CONNECTOR
STUFFER_CONTACT_CONN
STUFFER_RELAY
ESP32_SOCKET_B
NANO_SOCKET_B
ESP32_SOCKET_A
5V_RAIL
Y_MOTOR_CONNECTOR
J_SENS_X
NANO_SOCKET_A
J_SENS_Y
MICROSD_SOCKET
STUFFER_RELAY_LED
U_SENS_Y
STUFFER_DRIVER
STUFFER_OPTO
STUFFER_FLYBACK
STUFFER_PWR_LED
U_SENS_X
NANO

Refine this doc
Ask about this doc
Connector Cleanup Validation
Completed updates
  • Removed redundant RELAY_OUTPUT_CONN1111 relay dry-contact output connector. No separate RELAY_OUTPUT_CONN component is present in the verified connector set.
  • Standardized external screw-terminal connectors to a pluggable male PCB header plus removable female plug style:
    • X_SENSOR_CONN — Phoenix Contact 1757242, 2 positions, 5.08 mm pitch
    • Y_SENSOR_CONN — Phoenix Contact 1757242, 2 positions, 5.08 mm pitch
    • 24V_RAIL — Phoenix Contact 1757242, 2 positions, 5.08 mm pitch
    • 5V_RAIL — Phoenix Contact 1757242, 2 positions, 5.08 mm pitch
    • X_MOTOR_CONNECTOR — Phoenix Contact 1757284, 6 positions, 5.08 mm pitch
    • Y_MOTOR_CONNECTOR — Phoenix Contact 1757284, 6 positions, 5.08 mm pitch
    • RELAY_MODULE_CONN — Phoenix Contact 1757255, 3 positions, 5.08 mm pitch
  • Replaced BUTTON_BOX_CONN terminal block with Stewart Connector SS-60400-021, an 8P8C shielded Cat6 RJ45 female PCB jack.
Verified net preservation
Power rails
  • 5V_RAIL:Pin_1+5V
  • 5V_RAIL:Pin_2GND
  • 24V_RAIL:Pin_1+24V
  • 24V_RAIL:Pin_2GND
Button box RJ45 mapping
  • RJ45 pin 1 → ESTOP_NC
  • RJ45 pin 2 → BTN_RESUME
  • RJ45 pin 3 → BTN_PAUSE
  • RJ45 pin 4 → BTN_START
  • RJ45 pin 5 → BTN_ABORT
  • RJ45 pin 6 → GND
  • RJ45 pin 7 → GND
  • RJ45 pin 8 → +5V
  • RJ45 shield/mechanical pins 9/10/11/12 → GND
Existing connector mappings preserved
  • X_SENSOR_CONN: pin 1 +24V, pin 2 X_SENSOR_RAW
  • Y_SENSOR_CONN: pin 1 +24V, pin 2 Y_SENSOR_RAW
  • X_MOTOR_CONNECTOR: pins 1/3/5 +5V, pin 2 X_PUL, pin 4 X_DIR, pin 6 ENA
  • Y_MOTOR_CONNECTOR: pins 1/3/5 +5V, pin 2 Y_PUL, pin 4 Y_DIR, pin 6 ENA
  • RELAY_MODULE_CONN: pin 1 +5V, pin 2 RELAY_IN, pin 3 GND
Layout result
  • External connectors were reorganized into a right-edge service row for cable management.
  • 5V_RAIL, 24V_RAIL, X_SENSOR_CONN, Y_SENSOR_CONN, X_MOTOR_CONNECTOR, Y_MOTOR_CONNECTOR, RELAY_MODULE_CONN, and BUTTON_BOX_CONN are placed on the top layer and accessible from the board edge.
  • ESP32 and Nano remain near accessible edges for USB troubleshooting.
Remaining validation items
  • Electrical checks for floating pins and single-pin nets pass.
  • Footprints and layer validity pass.
  • Routing is not complete: the board still has airwires, so final routed-board DRC cannot be clean yet.
  • A few copper-overlap issues remain after placement and should be resolved during/after routing cleanup.
Run/complete PCB routing, then rerun layout checks and resolve any remaining copper clearance issues before manufacturing export.
  • Completed updates

  • Verified net preservation

  • Power rails

  • Button box RJ45 mapping

  • Existing connector mappings preserved

  • Layout result

  • Remaining validation items

  • Recommended next step

Jerky Robot V3 Control Board thumbnail
Jerky Robot V3 100 mm × 152 mm 2-layer control board with ESP32-S3 and Arduino Nano sockets, screw-terminal I/O, BSS138 UART level shifting, PC817 sensor isolation, optional HX711 interface, status LEDs, test points, top-side component placement, and bottom GND fill for JLCPCB fabrication.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$17.38–$18.07

Digi-Key

$56.94–$3,844.24

LCSC

$32.10–$32.16

Mouser

$28.03

TME

$3.43

Verical

$7.32–$19.76

Controls