Project Start Chat


Next steps, once ACUs are available:
  1. Audit the 20 existing components against the specification and remove/replace incorrect parts.
  2. Complete the schematic BOM: power protection, regulator support parts, relay drivers, light MOSFET/protection, battery ADC divider, ultrasonic interfaces, whisker input, connectors, and test points.
  3. Wire all nets, including the exact J1/J2 assignments.
  4. Finalize whisker sensing using the measured states: WHISKER_A relative to WHISKER_B is +5 VDC open and 0 V hit, with galvanic isolation maintained.
  5. Run ERC and independent design review, correcting all actionable faults.
  6. Verify the TE DTM13-12PC-12PD-R008 footprint orientation, cavity numbering, and mating-face mapping against the official customer drawing.
  7. Start PCB layout only after schematic approval; then place, route, run DRC, and validate outdoor/high-current constraints.
  8. Release fabrication files only after connector mapping, whisker bench loading, battery transients, lighting current, and ultrasonic sensor model/pinout are validated.
No project changes were made this turn. Execution cannot resume because your ACUs ran out.
when are my ACUs are available:
I can’t see your ACU balance or renewal date. Check your Flux account’s usage/billing page for the reset date or purchase options; if it looks incorrect, contact Flux support at https://docs.flux.ai/Introduction/getting-support.
No project changes were made, and execution remains stopped because your ACUs ran out.
can you do anything
I can still help with text-only engineering guidance, such as reviewing requirements you paste here, planning tests, explaining circuits, or preparing measurement procedures.
I cannot inspect, edit, wire, or verify the Flux project until ACUs are available. The last confirmed state remains 20 components and 0 nets; execution stopped because your ACUs ran out.

Waiting for input


Project Specification
Project Overview
Status: Draft / schematic development
LiftLink is an outdoor ESP32-based controller for a ShoreStation-style boat lift. It controls lift UP/DOWN, curtain OPEN/CLOSE, canopy lighting, monitors the existing upper-limit whisker circuit without interfering with it, measures battery voltage, and interfaces with two waterproof 5 V ultrasonic sensors.
Intended Use
Installed outdoors on a 12 V or 24 V nominal boat-lift battery system near motors, relays, long cables, moisture, and electrical transients. This is a prototype/validation design and is not approved for fabrication until all pre-production validation gates are closed.
What the Device Should Do
  • Provide four isolated dry-contact outputs emulating existing ShoreStation controls.
  • Control battery-powered canopy lights through a protected low-side MOSFET.
  • Monitor the existing two-wire whisker switch through a galvanically isolated, high-impedance input.
  • Measure battery voltage on ESP32 ADC1 GPIO34.
  • Power and read two 5 V waterproof ultrasonic sensors.
  • Support ESP32 manual boot/reset and a six-pin UART programming header.
Main Features
  • ESP32-WROOM-32UE-N16 Wi-Fi/BLE module.
  • 12/24 V nominal battery input with reverse-polarity, overcurrent, surge, and EMI protection.
  • LMR33620 buck regulator producing +5V_SYS.
  • TLV76733 LDO producing +3V3_SYS.
  • ULN2803A relay-coil driver and four 5 V relays.
  • Two 12-position right-angle Deutsch-family external connectors.
  • Test points for BATTERY_POS, GND, +5V_SYS, +3V3_SYS, BATTERY_ADC, and WHISKER_GPIO.
  • No decorative/status LEDs.
System Architecture

Diagram


12/24 V battery Input protection LMR33620 5 V buck +5V_SYS TLV76733 3.3 V LDO +3V3_SYS ESP32-WROOM-32UE-N16 5 V relays ULN2803A ShoreStation dry-contact signals Protected canopy-light MOSFET stage Two 5 V ultrasonic sensors Existing floating two-wire whisker circuit Provisional isolated optocoupler input
Hardware Subsystems
Power Input and Regulation
  • Rails: BATTERY_POS, GND/BATTERY_NEG, +5V_SYS, +3V3_SYS.
  • LMR33620 support values must follow the exact selected variant datasheet for 5.0 V output.
  • TLV76733 support capacitors and thermal copper must follow its datasheet.
  • Protection includes fuse/PTC as appropriate, reverse-polarity protection, battery-rated TVS, bulk capacitance, and local ceramic bypassing.
Compute and Programming
  • EN: 10 kOhm pull-up to +3V3_SYS, 1 uF to GND, reset switch to GND.
  • GPIO0: 10 kOhm pull-up to +3V3_SYS, boot switch to GND.
  • Six-pin header: GPIO0, EN, RX0/GPIO3, TX0/GPIO1, GND, +3V3_SYS.
  • ESP32 antenna keepout applies on every copper layer and to components/enclosure obstructions.
Relay Outputs
  • Four 5 V relay coils driven low-side by ULN2803A.
  • ULN2803A COM connects to +5V_SYS for internal flyback diodes.
  • Relay contacts remain electrically separate from LiftLink logic and emulate the ShoreStation switches.
Isolated Whisker Input
  • WHISKER_A and WHISKER_B remain isolated from LiftLink GND and all logic rails.
  • Optocoupler LED input network connects only across WHISKER_A/B.
  • Field measurement with the original ShoreStation controller powered normally: open/not-hit = approximately +5.0 VDC from WHISKER_A to WHISKER_B; hit/closed = approximately 0.0 VDC. WHISKER_A is the positive side in the open state.
  • Use Vishay VOM617A-8X001T or a validated equivalent whose minimum CTR is specified at 1 mA input current.
  • Nominal input network: 3.3 kOhm series resistor from WHISKER_A to the optocoupler anode, optocoupler cathode to WHISKER_B, and an antiparallel diode across the optocoupler LED for reverse-voltage protection. At 5.0 V and approximately 1.2 V LED drop, nominal LED current is approximately 1.15 mA.
  • Maintain creepage/clearance and copper separation across the isolation barrier; no logic-ground copper may enter the whisker-side isolation region.
  • Logic side: collector to WHISKER_GPIO, emitter to GND, 10 kOhm pull-up to +3V3_SYS, 100 nF to GND.
  • Logic interpretation: open/not-hit drives WHISKER_GPIO low; hit/closed releases it high after RC filtering.
  • Retain a schematic note recording the measured condition: FIELD VERIFIED: OPEN = +5 VDC A-TO-B; HIT = 0 VDC. WHISKER INPUT MUST REMAIN GALVANICALLY ISOLATED.
Battery ADC
  • GPIO34 (ADC1) dedicated to battery measurement.
  • Divider and clamps must be sized against maximum charging and protected transient voltage, not nominal battery voltage.
  • Proposed 150 kOhm / 10 kOhm divider is provisional until worst-case input limits are established.
Ultrasonic Interfaces
  • Sensors powered from +5V_SYS with local 100 nF bypass.
  • Trigger outputs: GPIO32 and GPIO25.
  • PWM returns level shifted to 3.3 V using resistor dividers: GPIO33 and GPIO26.
Canopy Light Output
  • BATTERY_POS feeds LIGHTS_POS through dedicated circuit protection.
  • LIGHTS_NEG switches through a 3.3 V logic-level N-channel MOSFET to GND.
  • MOSFET voltage, current, thermal design, fuse, and copper width remain dependent on measured/nameplate light current.
Interfaces and Connections
J1 Main Lift/Power — C-Key Bank of DTM13-12PC-12PD-R008
  1. BATTERY_POS
  2. BATTERY_NEG
  3. LIFT_COMMON
  4. LIFT_UP_SIGNAL
  5. LIFT_DOWN_SIGNAL
  6. CURTAIN_COMMON
  7. CURTAIN_OPEN_SIGNAL
  8. CURTAIN_CLOSE_SIGNAL
  9. LIGHTS_POS
  10. LIGHTS_NEG
  11. WHISKER_A
  12. WHISKER_B
J2 Sensors — D-Key Bank of DTM13-12PC-12PD-R008
  1. HEIGHT1_5V
  2. HEIGHT1_GND
  3. HEIGHT1_DATA/TRIGGER
  4. HEIGHT1_PWM
  5. HEIGHT2_5V
  6. HEIGHT2_GND
  7. HEIGHT2_DATA/TRIGGER
  8. HEIGHT2_PWM
  9. SPARE1
  10. SPARE2
  11. SPARE3
  12. SPARE4
External Connector Definition
  • Use one TE Connectivity / DEUTSCH DTM13-12PC-12PD-R008 right-angle, through-hole, 24-position combined header.
  • Treat the C-key 12-position module as schematic bank J1 and the D-key 12-position module as schematic bank J2; each bank retains cavity numbering 1 through 12.
  • Manufacturer data confirms two 12-position, two-row modules with 4.19 mm contact pitch; the individual-module mating-face convention is upper row 1–6 and lower row 12–7.
  • The exact combined C/D module orientation, board-hole coordinates, mounting features, and PCB-view-to-mating-face mapping are not locked. No production footprint may be approved from inferred geometry.
Firmware-Relevant Hardware Requirements
  • Use only safe non-flash GPIOs for outputs.
  • Avoid GPIO12 and other boot-strapping conflicts.
  • GPIO34 is input-only and ADC1-compatible with Wi-Fi.
  • Relay commands must default inactive during reset/boot.
  • Firmware must interlock opposing relay commands so UP/DOWN and OPEN/CLOSE cannot energize simultaneously.
Physical Design Expectations
  • Functional zoning: battery/protection, switching regulator, LDO, ESP32/RF, relay driver, relays/contacts, sensors/ADC/whisker, lighting stage, connectors.
  • Wide copper for battery and light paths; relay contacts separated from low-voltage logic.
  • Short regulator power loops and local capacitors.
  • Keep noisy relay/light currents away from RF and sensing circuits.
  • Outdoor enclosure, condensation protection, conformal coating, and connector sealing to be addressed at system level.
Important Design Decisions
  • Relay dry contacts provide isolation for ShoreStation command signals.
  • Existing whisker circuit is never referenced to LiftLink ground.
  • Whisker voltage/polarity field validation is complete; the isolated circuit values must still be confirmed by schematic review and bench test before release.
  • No manufacturing files or ordering until the schematic is validated and field-dependent values are resolved.
Assumptions
  • Battery system may reach charging voltages above 24 V nominal; exact steady-state maximum and transient environment are not yet supplied.
  • Maximum canopy-light current is not yet supplied.
  • Exact waterproof ultrasonic sensor model and timing/electrical behavior are not yet supplied.
  • Connector MPN is fixed as TE Connectivity DTM13-12PC-12PD-R008; the exact combined assembly footprint, C/D bank orientation, cavity numbering view, and PCB-to-mating-face mapping still require verification against the official combined customer drawing or manufacturer CAD.
  • ShoreStation whisker field voltage and polarity are measured: open/not-hit is approximately +5.0 VDC from A to B and hit/closed is approximately 0.0 VDC. Source impedance has not been directly measured; bench validation must confirm the approximately 1.15 mA optocoupler load does not disturb the original controller.
Required Pre-Production Validation Items
  • WHISKER FIELD MEASUREMENT COMPLETE: open/not-hit is approximately +5.0 VDC A-to-B; hit/closed is approximately 0.0 VDC. Before release, bench-test the finalized 3.3 kOhm + VOM617A-8X001T input network on the real controller and confirm it does not alter controller behavior.
  • Confirm battery minimum, maximum charging voltage, and expected transient/load-dump profile.
  • Confirm canopy-light maximum continuous/inrush current and cable fuse requirement.
  • Confirm ultrasonic sensor exact model, current, output type, pulse range, and cable length.
  • HARD RELEASE HOLD: verify the DTM13-12PC-12PD-R008 footprint orientation, C-key/D-key bank placement, cavity numbering, mounting geometry, and mating-face pin mapping against the official TE combined mechanical drawing or manufacturer CAD before PCB release.
  • Bench-test relay interlocks and power-up default state.
  • Verify RF keepout in final board and enclosure.
Manufacturing and Assembly Expectations
Production-intent SMD PCB assembled by a standard PCB assembler. Fabrication export is prohibited while any hard release hold remains open.
Change Notes
  • Initial specification captured from user requirements.
  • User authorized normal schematic development with a clearly marked provisional isolated whisker circuit.
  • User selected TE Connectivity DTM13-12PC-12PD-R008 and fixed the J1/J2 cavity-to-net assignments. Connector production geometry remains under a hard release hold pending official combined drawing/CAD verification.
  • Field whisker measurements completed: +5.0 VDC A-to-B when open/not-hit and 0.0 VDC when hit/closed. The isolated input is now specified around a low-current VOM617A-8X001T optocoupler; final bench loading validation remains required.
  • Project Overview

  • Intended Use

  • What the Device Should Do

  • Main Features

  • System Architecture

  • Hardware Subsystems

  • Power Input and Regulation

  • Compute and Programming

  • Relay Outputs

  • Isolated Whisker Input

  • Battery ADC

  • Ultrasonic Interfaces

  • Canopy Light Output

  • Interfaces and Connections

  • J1 Main Lift/Power — C-Key Bank of DTM13-12PC-12PD-R008

  • J2 Sensors — D-Key Bank of DTM13-12PC-12PD-R008

  • External Connector Definition

  • Firmware-Relevant Hardware Requirements

  • Physical Design Expectations

  • Important Design Decisions

  • Assumptions

  • Required Pre-Production Validation Items

  • Manufacturing and Assembly Expectations

  • Change Notes