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
Y_MOTOR_CONNECTOR
J_SENS_X
NANO_SOCKET_A
J_SENS_Y
5V_RAIL
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
Jerky Robot V3 Final Update Status
Completed
  • Removed HX711_CONN because U5 (HX711) is onboard.
  • Replaced the ambiguous external SD_CONN header with MICROSD_SOCKET (ST-TF-003A) as an onboard microSD socket.
  • Wired MICROSD_SOCKET to ESP32 SPI:
    • CSSD_CS / ESP32 GPIO10
    • SCKSD_SCK / ESP32 GPIO12
    • DOSD_MISO / ESP32 GPIO13
    • DISD_MOSI / ESP32 GPIO11
    • VCC+3V3
    • grounds and shield → GND
  • Added RELAY_OUTPUT_CONN (Phoenix Contact 1987737) as a 3-position terminal block:
    • Pin 1 → RELAY_NO
    • Pin 2 → RELAY_COM
    • Pin 3 → RELAY_NC
  • Confirmed Y_SENSOR_CONN exists in schematic and has a PCB footprint.
  • Reorganized PCB placement on the existing 100 mm × 152 mm, 2-layer board:
    • External cable/terminal connectors are grouped on the right edge.
    • ESP32 is at a board edge with USB/antenna access intent preserved.
    • NANO is at a board edge for USB access.
    • MICROSD_SOCKET is placed near ESP32.
    • HX711 and sensor opto sections are grouped near their related connectors/signals.
Verification Results
  • Board size remains 100 mm × 152 mm.
  • Stackup remains Standard 2 Layer.
  • Missing footprint check passes.
  • Overlapping copper check passes after placement.
  • ERC floating-pin check passes.
  • ERC single-pin-net check passes.
  • DRC still reports 96 airwires, meaning the board still needs trace routing before manufacturing output is ready.
Remaining Work
  • Route the remaining airwires using Flux routing/manual routing.
  • Re-run DRC after routing.
  • Confirm antenna keepout visually in the PCB editor, especially copper exclusion near the ESP32 antenna end.
  • Completed

  • Verification Results

  • Remaining Work

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