Please design a complete, fully routed schematic a...


Please design a complete, fully routed schematic and 2D PCB layout for an autonomous agricultural robot (AgBot) using an ESP32.
Include the following specific components and trace connections:
  1. BRAIN: Add an ESP32 DevKit V1 38-pin module (U1) as the central microcontroller.
  2. MAIN POWER INPUT: Add a 2-pin male header for external battery power. Connect the positive pin directly to the ESP32 "VIN" pin, and the negative pin to the common GND net.
  3. MOTOR DRIVER HEADER: Add a 1x6 male header (J1) to connect to an external L298N module. Connect J1 pins to ESP32: ENA -> IO14, IN1 -> IO18, IN2 -> IO19, IN3 -> IO21, IN4 -> IO22, ENB -> IO25. Add a 10k ohm pull-down resistor to GND on all 6 of these lines.
  4. ULTRASONIC SENSOR HEADER: Add a 1x4 male header (J2) for an HC-SR04 sensor. Connect J2 Pin 2 (TRIG) directly to ESP32 IO13. Connect J2 Pin 3 (ECHO) to ESP32 IO34 using a proper voltage divider: a 1k ohm resistor in series from ECHO to IO34, and a 2k ohm pull-down resistor from IO34 to GND.
  5. SERVO MOTOR HEADER: Add a 1x3 male header (J3) for a steering servo. Connect J3 Pin 2 (PWM) to ESP32 IO26, and add a 10k ohm pull-down resistor from IO26 to GND.
  6. SENSOR BUS & GPS: Add a single 1x5 male header (J4) to act as a unified data port for the environmental sensors. Route the 3 data pins to available ESP32 GPIOs, and connect the remaining 2 pins to the 3.3V and GND nets. Next, add a 1x4 male header (J5) for a GPS module and route its TX/RX pins to available ESP32 hardware UART pins.
  7. POWER & GROUND: Connect all GND pins across the ESP32, headers, and resistors into a unified common Ground net.
PCB LAYOUT & SILKSCREEN RULES (CRITICAL):
  • Set 12V motor power traces to 3.0mm width.
  • Set VIN and 5V servo power traces to 1.5mm width.
  • Set 3.3V sensor power traces to 0.5mm width.
  • Set all standard data/logic lines to 0.3mm width.
  • SELF-DOCUMENTING SILKSCREEN: You must add clear Top Silkscreen text labels next to EVERY single header and pin. Label the power inputs (VIN/GND), the motor driver pins (ENA, IN1, etc.), the Ultrasonic pins (TRIG, ECHO), the GPS pins (TX, RX), and the Sensor Bus pins. The board must be fully self-explanatory to a human looking at the physical PCB.
No schematic yet

Talk to Flux to get started.