HomeMaster MicroPLC (ESP32)
The HomeMaster MicroPLC is a professional, open-source DIN rail controller built around the ESP32 platform, designed for robust and scalable smart automation in residential, commercial, and light industrial environments. It combines digital inputs, relay outputs, RS-485 communication, real-time clock functionality, and USB programming interface.
Engineered for reliability and flexibility, the MicroPLC supports 24 V DC power input and features an integrated RS-485 Modbus interface for expansion with compatible I/O modules and field devices. Its local processing capability ensures continued operation even when network or cloud connectivity is lost, making it suitable for mission-critical applications.
Quick Overview
- ESP32 industrial controller platform
- Industrial DIN-rail form factor with 24 V DC supply
- Runs locally and offline without cloud dependency
- Expandable via RS-485 Modbus field devices
Typical Applications
- Industrial automation controller
- HVAC automation and plant control
- Energy management systems
- Industrial I/O controller
- Building management systems (BMS)
- SCADA edge controller
- RS-485 Modbus master / field gateway
Tech Specs
| Specification | Details |
|---|---|
| Microcontroller | ESP32-WROOM-32U-N16 (dual-core) |
| Flash Memory | 16 MB SPI flash |
| SRAM | 536 KB SRAM |
| Power Input | 24 V DC nominal (24VDC) |
| Digital Inputs | 1 × isolated 24 V digital input (ISO1212 receiver) |
| Relay Outputs | 1 × SPDT relay (HF115F-005-1ZS3) |
| Temperature Inputs | 1-Wire interface supported |
| User Interface | 1 button, status LEDs |
| Wi-Fi | Integrated Wi-Fi (ESP32) |
| Wi-Fi standard | IEEE 802.11 b/g/n (2.4 GHz) |
| RS-485 | RS-485 Modbus RTU (MAX485 transceiver, half-duplex) |
| Storage | Internal ESP32 flash |
| USB | USB-C programming interface via CP2102N USB-UART bridge |
| RTC | PCF8563 RTC with CR2032 battery backup |
Installation, Environmental & Mechanical
| Category | Specification | Details |
|---|---|---|
| Terminal Specifications | Terminal type | Pluggable screw terminal blocks, 5.08 mm pitch |
| Terminal pitch | 5.08 mm | |
| Wire cross-section | 0.2–2.5 mm² (AWG 24–12) | |
| Conductor type | Solid or stranded copper | |
| Stranded wire | Ferrules recommended | |
| Tightening torque | 0.4 Nm (max) | |
| Environmental Ratings | Operating temperature | 0 °C to +40 °C |
| Storage temperature | -10 °C to 55 °C | |
| Relative humidity | 0–90 % RH, non-condensing | |
| Ingress protection | IP20 (inside cabinet) | |
| Installation | Indoor control cabinet only; not for outdoor or exposed installation | |
| Terminal protection | All wiring terminals must be protected against accidental contact | |
| Mechanical & Packaging | Product dimensions | 35.5 × 91 × 67.3 mm (L × W × H) |
| DIN units | 2 division units (≈ 35 mm DIN rail mounting width) | |
| Mounting | 35 mm DIN rail | |
| Net weight | xxx g | |
| Gross weight | xxx g | |
| Pack size | xxx × xxx × xxx mm (L × W × H) | |
| Mechanical drawing | Front + side views with DIN-clip depth (see below) | |
| Notes | All dimensions shown in millimeters unless stated otherwise |
Install only inside a control cabinet with ventilation; the cabinet must include a protective front plate covering all module connection terminals and a closing protective door; not for outdoor or exposed installation.
All wiring terminals must be protected against accidental contact by an insulating front plate, wiring duct, or terminal cover. Exposed live terminals are not permitted.
Home Assistant & ESPHome Integration
The MicroPLC comes with ESPHome pre-installed and can be integrated directly into Home Assistant without flashing custom firmware.
Quick Setup Process (Improv Wi-Fi)
- Mount & Power – Install on a 35mm DIN rail and connect power.
- Open Improv – Go to improv-wifi.com.
- Connect – Use USB-C (Serial) or Bluetooth LE.
- Enter Wi-Fi – Input SSID and password, then press Connect.
- Auto-Discovery – Device appears in Home Assistant & ESPHome Dashboard.
One-Click Import (ESPHome Dashboard)
Once connected to Wi-Fi, the MicroPLC is automatically discovered in the ESPHome Dashboard. Click “Take Control” to import the official configuration directly from GitHub.
USB Type-C Manual Flashing (Optional)
- Connect the MicroPLC to your computer using USB Type-C.
- Download the official YAML configuration: microplc.yaml
- Open ESPHome Dashboard and import the YAML file.
- Update Wi-Fi credentials in the YAML.
- Flash directly from ESPHome (no reset or boot buttons required).
- The device reboots automatically and runs the new firmware.
- No firmware flashing required for basic use
- Native Home Assistant API
- OTA updates supported
- Automatic ESPHome dashboard import
- Full YAML customization
Documentation
The MicroPLC is open-source hardware. You can build your own board using the files below.
Hardware Design Files
| File | Description | Link |
|---|---|---|
| Schematic (MCU Board) | Main controller board schematic | MCUBoard.pdf |
| Schematic (Relay Board) | Relay and power section schematic | RelayBoard.pdf |
Firmware & Software
| Resource | Description | Link |
|---|---|---|
| Default ESPHome Config | Pre-configured YAML for Home Assistant | microplc.yaml |
| Firmware Source Code | Latest firmware builds and source | Firmware/ |
| ESPHome Integration Guide | Complete setup instructions | README.md |
Power Supply
The MicroPLC is powered by 24 V DC nominal on V+ / 0V terminals.
Power Input Specifications
| Input Option | Terminals | Range | Notes |
|---|---|---|---|
| 24 V DC | V+ / 0V | 24 V DC | Powers internal rail +24VDC_FUSED. |
24 V DC Input (V+ / 0V)
- Typical operating current: 150 mA @ 24 V (≈ 3.6 W) — measured typical device power consumption
- Internal rail: 24 V input is conditioned into +24VDC_FUSED
- Input protection: surge suppression (TVS), EMI filtering, reverse-polarity / power-path protection
- Internal protection: 1.0 A soldered service fuse and resettable PTC protection devices
- Upstream protection (recommended): external 0.5 A slow-blow fuse or 0.5 A breaker on V+ so the external device clears before the internal service fuse. Recommended to protect wiring and simplify troubleshooting.
- Use a regulated 24 V DC supply
- Install 0.5 A fuse/breaker upstream of V+
- Observe polarity: V+ / 0V
- Route power wiring away from low-level analog signal wiring
Inputs & Outputs
Digital Inputs (1 channel)
| Channel | Pin | Type | Voltage | Description |
|---|---|---|---|---|
| DI #1 | DI24V (ESP32 GPIO via ISO1212) | Sourcing | 24 V DC | Isolated 24 V digital input with internal field supply, dry contact |
Features:
- 1× isolated 24 V DC digital input using ISO1212 digital input receiver
- Internal fused 24 V field supply for dry-contact sensing
- Sourcing-type inputs for passive devices (relay contacts, open-collector outputs)
- Separate field ground and logic ground domains
- Per-channel protection with resettable PTC fuses and TVS surge suppression
- Integrated EMI and noise filtering on each input
- Configurable input inversion and debounce filtering via ESPHome
- Status monitoring via Home Assistant binary sensors
Relay Outputs
The MicroPLC provides 1 SPDT mechanical relay (HF115F-005-1ZS3) for switching AC or DC loads. The relay provides SPDT switching contacts (NO / NC / COM) available on the relay output terminals and is driven via optocoupler-isolated control circuitry.
System/board rating: 3 A MAX per output (system limit). The MicroPLC board/system can safely carry ONLY 3 A per relay output. This limit is determined by PCB trace width, terminal block rating, and thermal constraints, not the relay component rating. Using more than 3 A directly can overheat and permanently damage the board.
Relay contact (component) rating: 12 A @ 250 V AC (resistive). This value belongs ONLY to the relay component itself and is NOT usable as a system output rating. The MicroPLC must NOT be used above 3 A.
Loads above 3 A (or inductive/inrush loads) MUST be switched using an external contactor or power relay. The MicroPLC relay may be used as a control signal for the external contactor. Do not attempt to switch loads above 3 A directly through the MicroPLC relay outputs.
⚠️ External protection required: Every relay output MUST be protected by an external fuse or circuit breaker (max 3 A per channel). Relay output circuits are not internally fused. External overcurrent protection is mandatory for safe operation.
Relay Specifications
| Channel | Control Pin | Type | Rating | Description |
|---|---|---|---|---|
| Relay #1 | RELAY (ESP32 GPIO via optocoupler driver) | SPDT | 12A @ 250V AC (relay component rating, NOT usable as system output) 3 A MAX per output (board/system limit) |
General purpose relay output 1 (NO/NC/COM) |
Relay Wiring Examples
- Each relay has COM / NO / NC terminals
- Use NO for default OFF loads
- Use NC for default ON loads
- ⚡ Loads may carry hazardous voltage
- Supports AC and DC switching (DC and inductive loads require derating)
⚠️ External protection rule: Every relay output MUST be protected by an external fuse or circuit breaker. The rated current of the protective device shall not exceed 3 A MAX per output (board/system limit).
⚠️ Common protection warning: If a single common fuse or circuit breaker is used to protect multiple relay outputs (as shown in the wiring example), the protective device shall NOT be sized by summing relay outputs. The rating of the common protective device shall not exceed 3 A MAX per output (board/system limit).
For inductive or DC loads (contactors, solenoids, motors), use appropriate suppression (RC snubbers, MOVs, or flyback diodes). Loads exceeding the recommended PCB current limit shall be switched using external contactors or wiring methods that bypass PCB copper paths.
Temperature Inputs
MicroPLC supports 1-Wire temperature sensors (DS18B20 or compatible) for reliable cabinet and process temperature monitoring.
Temperature Input Specifications
| Type | Channel | Sensor / Interface | Range | Accuracy |
|---|---|---|---|---|
| 1-Wire | BUS #1 | 1-WIRE | -55°C to +125°C | ±0.5°C |
Wiring Examples
Limitations / Notes
- Recommended topology: daisy-chain configuration (see wiring example above)
- Maximum number of sensors (recommended): ≤ 10 sensors per bus
- Typical maximum cable length (recommended): ≤ 50 m using shielded cable with proper topology
- Power mode: External power using +5V/GND is recommended. Parasitic power mode is not recommended for long cable runs or multiple sensors.
User Interface
| Component | Quantity | Control | Description |
|---|---|---|---|
| Button | 1 | BUTTON | User button for local control |
| LED1 | 1 | +5V rail | +5V power indicator |
| LED2 | 1 | RLED | Relay status LED (hardware-driven) |
| LED3 | 1 | LED | Firmware-configurable status LED |
| LED4 | 1 | DI | Digital input status indicator |
| LED5 | 1 | RS-485 RX | RS-485 receive activity indicator |
| LED6 | 1 | RS-485 TX | RS-485 transmit activity indicator |
Features:
- 1× user button for local control (BUTTON)
- LED1 indicates internal +5V power
- LED3 is a firmware-configurable status LED
- LED4 indicates digital input state (DI)
- LED5/LED6 indicate RS-485 RX/TX activity
Communication & Protocols
- Modbus RTU (RS-485) – UART-based communication for expansion modules and field devices
- Wi-Fi – ESP32 integrated (Improv onboarding supported)
RS-485 Communication (Modbus RTU)
The MicroPLC provides a half-duplex RS-485 interface with integrated protection and fail-safe biasing. The interface is available on the A / B / COM terminals.
Hardware Features:
- RS-485 transceiver: MAX485 (half-duplex)
- Fail-safe biasing network on A/B (idle state defined)
- Common-mode choke for EMI suppression
- TVS surge and ESD protection on A/B/COM
- Resettable PTC fuses on A and B lines
- Bidirectional logic level shifting between MCU and transceiver
RS-485 Wiring
Termination & Biasing
- Terminate with 120 Ω only at the two ends of the line.
- Do not terminate intermediate devices.
- Fail-safe biasing is already provided inside the MicroPLC.
COM / Reference Ground
- Connect COM between all RS-485 nodes.
- This limits common-mode voltage and prevents communication faults.
Power Supply for Extension Modules
- Recommended: Use the same power supply for MicroPLC and all RS-485 extension modules.
- Distribute power in a star topology from the PSU.
- If separate PSUs are used, connect 0V references together at one point (unless the extension module is galvanically isolated).
A common 0V reference prevents RS-485 common-mode voltage errors and communication faults.
Practical Limits (Recommended)
- Baud rates: 9,600–115,200 bps recommended
- Bus length: Up to 1200 m at low baud rates (RS-485 standard), but typical cabinet runs are much shorter
- Devices: Up to 32 standard unit loads; more devices require repeaters or low-load transceivers
Tip: Cable recommendations, shield bonding, and routing rules are defined in the Cable Recommendations & Shield Grounding section below.
Cable Recommendations & Shield Grounding
This section applies to Analog (0–10V), Temperature (RTD / 1-Wire), and RS-485. Use shielded, twisted constructions and bond shields correctly to reduce EMI and ground-loop issues.
General Routing Rules
- Route low-level signal cables (Analog/RTD/1-Wire/RS-485) separately from mains, relay outputs, contactors, VFD motor cables, and power wiring.
- If crossing power cables is unavoidable, cross at 90°.
- Keep cable runs as short as practical and avoid parallel runs with high-current conductors.
1-Wire (DS18B20)
- Recommended: shielded 3-core ( +5V / DATA / GND ) for typical installations
- High-EMI / long runs: shielded pairs + overall shield (e.g. LI2YCY PIMF 2×2×0.50)
- Topology: daisy-chain (bus). Avoid star wiring.
- Stubs: keep sensor stubs ≤ 0.5 m.
- Pull-up (DATA): 4.7 kΩ typical; 2.2–3.3 kΩ for long/heavy loads.
RS-485 Cable
- Construction: twisted pair for A/B
- Characteristic impedance: 120 Ω (recommended)
- Shielding: overall shield is recommended in cabinets; use individually shielded pairs + overall shield in high-EMI
- Examples: J-Y(ST)Y 2×2×0.5 mm² or LI2YCY PiMF 2×2×0.50
- Use one twisted pair for A/B. Use the second pair for COM (0V reference) or spare.
Shield Grounding
- Default recommendation: bond cable shield(s) to cabinet PE/EMC ground at the PLC end only.
- Do not connect shields to signal terminals (AI/AO/RTD/1-Wire/RS-485 A/B/COM).
- If both ends are in equipotential bonded cabinets, shields may be bonded at both ends using proper 360° clamps.
System Architecture & Pinout
Compliance & Certifications
The HomeMaster MicroPLC is designed to comply with the applicable European Union directives. ISYSTEMS AUTOMATION (HomeMaster brand) maintains the technical documentation and a signed EU Declaration of Conformity (DoC).
EU Directives
EMC 2014/30/EU · LVD 2014/35/EU · RED 2014/53/EU · RoHS 2011/65/EU
Harmonised Standards
| Area | Standards |
|---|---|
| EMC | EN 55032 (Emissions) · EN 55035 (Immunity) |
| Electrical Safety | EN 62368-1 |
| Radio (Wi-Fi) | EN 300 328 · EN 301 489-1 · EN 301 489-17 |
| RoHS | EN IEC 63000 |
Equipment Classification
Class A Information Technology Equipment (industrial / commercial environment)
Radio
The product integrates a pre-certified ESP32 2.4 GHz Wi-Fi radio module. Final conformity with the Radio Equipment Directive (RED) is demonstrated by the conformity assessment of the complete apparatus and the maintained technical documentation.
Safety Notice
24 V DC: SELV · Qualified personnel only
Related products
These other products might interest you