Two-Door Access Controller Design


Build a 2 door controller with door sensors, exit button, relay for lock operation and interlock feature. Use ESP32 and MX 485 modules. Use connectors for easy plug n play.
Created a project doc

Two-Door Controller Requirements

View Document

Two-Door Controller Requirements Requested build
  • ESP32-based controller for two doors.
  • Door sensors, exit buttons, and relay outputs for lock operation.
  • Interlock feature.
  • MX 485 modules (exact module identity and intended RS-485 role unconfirmed).
  • Connectors for easy plug-and-play installation.
Work state
Only this requirements/handoff document has been created. No components, connectivity, PCB layout, firmware, or verification have been performed for this request. The active project context is an existing USB-C WiFi BLE temperature/humidity sensor project; replacement or a separate controller project has not been authorized.
Decisions needed before implementation
  • Whether to create a separate controller project or replace the existing sensor design.
I saved Two-Door Controller Requirements covering the ESP32, MX 485 modules, door sensors, exit buttons, lock relays, interlock, and plug-and-play connectors. No circuit or PCB changes were made; your existing sensor design is unchanged.
Before building in Agent mode, I need the lock voltage/current and fail-safe or fail-secure type, the exact MX 485 module, emergency-release requirements, and confirmation whether this should be a separate project.
Execution stopped because your ACUs ran out.
What is Agent mode?
Agent mode lets Flux build, do deep research, validate designs, and work through complex assignments.
Chat mode is just as smart and has the same engineering knowledge, but it cannot work autonomously.
Only Agent mode consumes your plan's included AI usage (measured in ACUs).
Continue in Agent Mode

Waiting for input


Two-Door Controller Requirements
Requested build
  • ESP32-based controller for two doors.
  • Door sensors, exit buttons, and relay outputs for lock operation.
  • Interlock feature.
  • MX 485 modules (exact module identity and intended RS-485 role unconfirmed).
  • Connectors for easy plug-and-play installation.
Work state
Only this requirements/handoff document has been created. No components, connectivity, PCB layout, firmware, or verification have been performed for this request. The active project context is an existing USB-C WiFi BLE temperature/humidity sensor project; replacement or a separate controller project has not been authorized.
Decisions needed before implementation
  • Whether to create a separate controller project or replace the existing sensor design.
  • Lock supply voltage, maximum current per door, and lock type (fail-safe magnetic lock or fail-secure strike); establish suitable relay contacts and suppression.
  • Exact MX 485 module part number or documentation, bus purpose, and ESP32 logic-level compatibility.
  • Interlock behavior: proposed normal-operation behavior is to inhibit unlocking one door while the other is open or already granted access. User approval is pending.
  • Emergency release, fire alarm override, power-loss behavior, and required independent egress provisions. Interlock firmware must not prevent legally required emergency egress.
  • Door sensor and exit button contact types, cable lengths, and whether supervised inputs are required.
Suggested implementation scope after clarification
Two door-state inputs, two exit-request inputs, two independently controlled lock relay outputs, ESP32 control, RS-485 interface using the confirmed module, appropriately protected power/input circuits, and labeled keyed or pluggable field connectors. Develop firmware state logic and verify both normal interlocking and fault/emergency behavior before installation.
Session stop
Execution did not start because the account ran out of ACUs. Resume by resolving the project destination and safety-critical electrical requirements above, then build and verify the controller.
  • Requested build

  • Work state

  • Decisions needed before implementation

  • Suggested implementation scope after clarification

  • Session stop