MCS-01 Part 2: Hardware Bring-Up & Functional Commissioning
Bring a modular ESP32-S3 control system to life with verified 24 VDC distribution, regulated power rails, OUT-4 GPIO switching and standalone diagnostic firmware.
By Frank Kuster

From a 24 VDC distribution bus to working four-channel control: we power the hardware, verify the regulated rails, connect the ESP32-S3 to OUT-4 and demonstrate an autonomous switching sequence with temporary LED loads.
Free 18-page guide · Wiring, measurements, firmware logic and test evidence
From architecture to working hardware
Part 1 introduced the modular control system developed for a pantry installation. Part 2 moves from design to physical operation. Instead of connecting the permanent lighting immediately, we verify the supply, controller and output hardware in stages.
01 · Power
Establish the DC rails
Verify the 24 VDC source, fused path and regulated outputs before connecting the controller.
02 · Control
Connect the GPIO harness
Map four active-high control signals and their common reference to the OUT-4 module.
03 · Commission
Prove the switching
Exercise all output states, verify the serial record and confirm operation without a connected computer.
Establishing the 24 VDC supply and regulated rails
The MEAN WELL LPV-60-24 provides a nominal 24 VDC supply rated at 2.5 A / 60 W. Separate positive and DC return terminal groups distribute the supply to PWR INTF and OUT-4. The ESP32-S3 carrier receives regulated 5 V from KI Maker PWR INTF, not directly from the 24 V bus.
Recorded electrical checkpoints
| Test point | Nominal | Measured |
|---|---|---|
| 24 V bus / OUT-4 / PWR INTF input & fused path | 24 V | 24.12 V |
| PWR INTF 12 V output | 12 V | 11.99 V |
| PWR INTF 5 V output | 5 V | 4.98 V |
| PWR INTF 3.3 V output | 3.3 V | 3.307 V |
| ESP32-S3 supply, connected | 5 V | ≈4.93 V |
The regulated PWR INTF outputs were measured without external downstream loads. The connected-controller value is a separate checkpoint.
The fused output follows the input voltage; the 12 V, 5 V and 3.3 V outputs are separately regulated. Status LEDs help identify rail activity but do not establish full electrical performance.

Connecting the ESP32-S3 to OUT-4
KI Maker OUT-4 uses active-high logic inputs and non-isolated low-side MOSFET switching. In this implementation, four 3.3 V GPIO signals control the channels. The controller and module share a logic ground. Each compatible DC load connects between its V+ supply terminal and the corresponding switched return (OUTx), not between V+ and permanent ground.

Example GPIO assignments
| ESP32-S3 | OUT-4 | Conductor |
|---|---|---|
| GPIO 5 | IN1 | Yellow |
| GPIO 6 | IN2 | Blue |
| GPIO 7 | IN3 | Green |
| GPIO 15 | IN4 | White |
| GND | GND | Black |
This is the installed MCS-01 pin map, not a universal ESP32 pinout. Check the selected carrier's terminal assignments, boot behavior and peripheral functions before adapting.

Preparing and running the diagnostic firmware
Four low-current temporary LED indicators, advertised for 12–24 V AC/DC, allow the switching behavior to be observed independently of the permanent lighting. The MCS-01 OUT-4 Commissioning Test v0.1.0 was programmed over UART using VS Code and PlatformIO.
Tested programming configuration
Framework: Arduino ESP32 2.0.17
Platform: Espressif32 6.12.0
Reference target: esp32-s3-devkitc-1
Flash: 16 MB / default_16MB.csv
Interface: UART0 (native USB CDC off)
Upload speed: 115200 baud
Monitor speed: 115200 baudMatch the board target, flash settings and programming interface to your actual hardware.
Programming while externally powered
In our setup, PWR INTF remained the controller's 5 V source. A host-VBUS blocker was used on the UART programming connection; data and ground remained connected. This is not galvanic isolation. Blocking was operator-confirmed, not independently instrument-tested.
Use a verified compatible blocker, or disconnect the external 5 V source and program from USB alone. Power off before changing wiring.
Practical lesson: 115200 baud resolved our failed high-speed reads; the root cause was not established.
The repeating 70-second diagnostic cycle
The test runs without network or sensor dependencies. It starts with all outputs off, exercises one channel at a time, then activates all four. This makes wiring and channel-assignment mistakes easier to detect.
| Time | State | CH1 | CH2 | CH3 | CH4 |
|---|---|---|---|---|---|
| 0–20 s | All off | OFF | OFF | OFF | OFF |
| 20–30 s | CH1 only | ON | OFF | OFF | OFF |
| 30–40 s | CH2 only | OFF | ON | OFF | OFF |
| 40–50 s | CH3 only | OFF | OFF | ON | OFF |
| 50–60 s | CH4 only | OFF | OFF | OFF | ON |
| 60–70 s | All on | ON | ON | ON | ON |
The cycle repeats automatically. Each new stage clears the outputs and then applies the next state mask; no timed dead-time is specified. Timing is nominal and software cannot guarantee an OFF state during reset. Illustrative source excerpts and the timing diagram are included in the full PDF.
Functional commissioning results
On 27 November 2026, all six visible output states were documented: all off, each individual channel on, and all four channels on together. The OFF-state photograph shows the enclosure powered while the test indicators remain off.

Serial evidence and independent operation
The UART capture contains 13 consecutive stage records across two complete 70-second cycles. All six commanded states matched the sequence, with no unexpected reset observed during the capture. Firmware timestamps report at 1 ms resolution; they are not calibrated timing measurements.
The laptop was then disconnected. The controller continued running the sequence on PWR INTF power, as confirmed by the operator. This demonstrates autonomous operation of the diagnostic firmware.
Scope: indicator current, permanent lighting performance, thermal behavior and full-load regulation remain outside this commissioning phase.

Engineering guide · Rev. 1.0
Download the complete MCS-01 Part 2 guide
18 pages of actual hardware photographs, measured rails, GPIO assignments, wiring diagrams, illustrative firmware logic and documented commissioning results.
Hardware and related engineering resources
PWR INTF
Fused DC distribution and regulated low-voltage rails for control electronics.
Manuals and documentationTechnical library
Manuals, specification sheets and related application notes: AN-02 rail verification, AN-03 DC distribution, AN-04 / AN-06 output switching, and AN-05 USB power precautions.
Explore Projects & GuidesRelated application notes: AN-02 · Verify PWR INTF rails · AN-03 · DC distribution · AN-05 · Power an ESP32-S3 carrier