Building a Locker Control Board


I’ll treat each lock as a 4-wire 24 V device: two coil wires plus two 24 V lock-state wires. I’ll add 16 protected 24 V-tolerant state inputs using input shift registers, update the connectors/interface docs, and verify the schematic changes.
I’m adding isolated 12/24 V state sensing: each state wire drives an optocoupler input, and two 74HC165 input shift registers report the 16 states to the ESP32-S3.
Updated the design for 4-wire 12/24 V locks: each lock now has coil drive plus isolated 12/24 V state sensing, read through two 74HC165 input shift registers. I also updated the project specification, firmware starter, bring-up plan, and FMEA; validation now shows only expected unused ESP32 dev-board pin warnings.
Estimated time saved vs. manual EDA workflow: ~4–6 hours.
Open items:
  • Confirm state polarity: whether the 24 V state signal means “locked” or “unlocked.”
  • Confirm real lock coil current and max simultaneous activations.
  • Finalize the buck regulator values before PCB layout.
Suggested next steps:
  1. Define the exact connector pinout labeling/silkscreen.
  2. Finalize U2 regulator passives from the datasheet.
  3. Place the 16 lock connectors and high-current driver section on the PCB.
  4. Add firmware CAN command handling and state reporting.
Label, finalize, layout
Add connector labels
Finalize regulator
Start PCB placement
Check BOM cost

J11
J16
U3
J18
J14
J7
J12
J6
J17
J5
J8
J4
U4
J2
J13
U1
J3
J9
J15
Preliminary FMEA — Multi-Lock Controller
Scope
Design-stage risk review for a 12/24 V multi-lock/solenoid controller with 16 isolated lock-state inputs. This must be refined after lock current, state-output behavior, enclosure, wiring, and installation environment are known.

Table


SubsystemFailure ModeEffectSeverityMitigation
12/24 V inputReverse/overvoltage/transientBoard damage or unsafe heating7Input fuse and TVS; add reverse polarity protection before release
MOSFET outputShorted MOSFETLock remains energized8Firmware timeout, per-channel current monitoring in future revision, rated MOSFET thermal design
FirmwareMultiple locks energized simultaneouslyOvercurrent, brownout, overheating8Limit active channels in firmware based on measured lock current
Flyback clampMissing/failed diodeHigh voltage transient, MOSFET damage, EMI7One flyback diode per channel; verify orientation and voltage/current rating
State inputIncorrect polarity or threshold assumptionFirmware reads locked/unlocked state backwards or misses faults7Validate each lock model on bench; document asserted polarity; add firmware configurable inversion
State input optocouplerInput resistor overheating at 24 VReliability loss or local heating6Use 0.25 W 4.7 kΩ resistors and verify temperature at 24 V continuous state signal
CAN linkCorrupted commandWrong lock activation6Add command CRC/authentication and timeout behavior in firmware
Regulator3.3 V failureController reset or stuck outputs6Shift-register OE default disabled and MOSFET gate pulldowns keep outputs off
Priority Actions
  1. Confirm real lock current, pulse duration, and state-output polarity.
  2. Add firmware interlocks, watchdog behavior, and configurable lock-state inversion.
  3. Consider per-channel or grouped fusing/current sense for deployed systems.
  4. Make CAN termination selectable and document bus wiring.
  • Scope

  • Priority Actions