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
TP2
MH1
TP3
STUFFER_DECOUPLE
Capacitance
100nF
C_FILT_Y
Capacitance
100nF
C1
Capacitance
100nF
H3
TP4
C_FILT_X
Capacitance
100nF
STUFFER_BULK
Capacitance
10µF
C7
Capacitance
10µF
C2
Capacitance
100nF
TP6
Q1
LED_STATUS_X
Q4
X_MOTOR_CONNECTOR
STUFFER_CONTACT_CONN
LED1
Q2
LED3
Y_MOTOR_CONNECTOR
LED2
LED_STATUS_Y
J_SENS_X
LED4
Q3
J_SENS_Y
STUFFER_RELAY
ESP32_SOCKET_B
NANO_SOCKET_B
ESP32_SOCKET_A
NANO_SOCKET_A
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 Control Board Implementation Plan
Goal
Implement the Jerky Robot V3 control board from FLUX_COPILOT_PCB_SPEC.md as a 100 mm × 152 mm, 2-layer FR4 PCB for JLCPCB/PCBA.
Required Architecture
  • ESP32-S3-DevKitC-1 N16R8 socket/module interface.
  • Arduino Nano socket/module interface.
  • Screw-terminal I/O on board edges for 24 V input, 5 V input, X/Y stepper driver signals, X/Y sensors, HX711 cable, relay output, button box, AC contactor coil, spare expansion, SD card, and OLED.
  • BSS138 level shifting for ESP32 ↔ Nano UART plus two spare BSS138 channels.
  • PC817 optocoupler isolation for X/Y NPN photoelectric sensors.
  • Optional HX711 load-cell ADC footprint/interface.
  • 7 status LEDs and 6 labeled test points.
  • 4× M3 plated mounting holes 5 mm from corners.
Critical Electrical Rules
  • Shared GND across 5 V and 24 V domains; bottom layer is solid GND fill.
  • Driver opto-input commons PUL+, DIR+, ENA+ connect to +5 V, not +24 V.
  • ESP32 and Nano pin assignments must match firmware config.h exactly.
  • Nano D12 / Z limit is intentionally unconnected.
PCB Constraints
  • Board: 100 mm × 152 mm rectangular.
  • Stackup: Standard 2 Layer / FR4 1.6 mm target.
  • Components: top layer only.
  • Bottom layer: continuous GND fill.
  • Min trace/clearance: 0.2 mm.
  • +24 V traces: ≥1.5 mm.
  • +5 V traces: ≥1.0 mm.
  • +3V3 traces: ≥0.5 mm.
  • UART level-shifter traces: <30 mm target.
  • HX711 analog area: keep away from relay; analog traces <50 mm if populated.
Execution Steps
  1. Create schematic components and document part selections.
  2. Wire all power, MCU, connector, level-shifter, optocoupler, HX711, LED, and test-point nets.
  3. Validate schematic and resolve ERC issues where possible.
  4. Configure PCB size, 2-layer stackup, and layout rules.
  5. Place components by functional floor plan with connectors at edges.
  6. Review DRC/ERC readiness and document any manual actions still required.
  • Goal

  • Required Architecture

  • Critical Electrical Rules

  • PCB Constraints

  • Execution Steps

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