Create a complete, production-ready schematic in Flux for a festival carousel horse LED controller using an ESP32-DEVKITC-32UE dev board.
Power section (exact requirements):
- 12V lithium battery input via Anderson connector
- Victron charger input via 2-pin screw terminal (bare wires)
- Both inputs OR-ed using two MBR735 Schottky diodes (D1 from battery, D2 from charger)
- 15A auto-reset blade circuit breaker (polyfuse) after the diode cathodes on the main +12V rail
- 1000µF 25V low-ESR capacitor after the breaker on +12V
- XC4514 buck converter (12V → 5V) with appropriate input/output capacitors (1000µF in, 470µF out)
- AMS1117-3.3 LDO from 5V rail to 3.3V rail with proper decoupling caps (100nF + 10-22µF on input/output)
- 12V TVS diode (P6KE15A or equivalent) across main +12V rail
- JL-2 100A 50mV shunt on the battery negative return line for current monitoring
- Extra 1000µF 25V capacitor directly at the LED power distribution
Outputs:
- 8 individual WS2815 LED strip outputs on separate 3-pin screw terminals (+12V, GND, Data)
- Each Data line goes through a 330Ω series resistor
- All 8 data lines driven via one 74HCT245 level shifter (3.3V in from ESP32 → 5V out to LEDs), powered from 5V
Inputs:
- 11x 10k linear potentiometers (8 rotary + 3 slide) powered from 3.3V, each wiper with 100nF cap to GND
- 5x illuminated momentary pushbuttons (12V LED rings) — switch contacts to GPIOs, LED anodes via 1k-2.2k resistors from +12V
- 4x latching toggle switches (one is low-battery manual override)
- Battery voltage monitoring via resistor divider to ESP32 ADC
Communication:
- Dual 3-pin XLR connectors (male + female wired in parallel) into MAX485 module for DMX512 input
- MAX485: DE/RE, DI (TX), RO (RX) connected to ESP32 UART
Display:
- 1.3" SSD1306 I2C OLED (Jaycar XC3728 or equivalent) on long cable for debugging
Use the exact ESP32-DEVKITC-32UE dev board footprint.
Assign safe GPIOs avoiding strapping/boot pins where possible.
Add clear net labels, power flags, and comments.
Include a simple shunt sensing circuit (LM358 or direct ADC) for current/voltage display on OLED.
Once generated, organise the schematic into logical sheets/blocks: Power, ESP32 + Level Shifter + LEDs, Inputs (pots/buttons), DMX + OLED.