HomeMaster DIM-420-R1
The HomeMaster DIM-420-R1 is a professional, dual-channel AC dimmer module designed for phase-cut dimming of mains-powered loads in smart lighting, building automation, and industrial panels. It combines 2 solid-state dimming channels, 4 isolated digital inputs, 4 user buttons, 4 LEDs, RS-485 Modbus RTU communication, and a USB‑C WebConfig interface for in-browser commissioning.
Built around an RP2350A microcontroller with QSPI flash and isolated power stages, the DIM-420-R1 supports leading or trailing edge phase-cut per channel with configurable lower/upper thresholds and mains frequency monitoring. It is intended for integration with HomeMaster MicroPLC / MiniPLC controllers or any Modbus RTU master, providing robust local press logic combined with remote supervision and control via Modbus, ESPHome, Home Assistant, or SCADA/PLC systems.
Quick Overview
- Dual-channel phase-cut AC dimmer (Leading / Trailing edge per channel)
- 4 opto-isolated digital inputs with rich press logic (Short / Long / Double / Short-then-Long)
- 4 user buttons and 4 LEDs for local control, presets, and status indication
- RS‑485 Modbus RTU slave for MicroPLC / MiniPLC / SCADA / third-party PLC masters
- USB‑C WebConfig (Web Serial) for in-browser setup, diagnostics, and JSON snapshots
- Open-source hardware and firmware with ESPHome / Home Assistant integration package
Typical Applications
- Residential and commercial lighting dimming (LED, halogen, resistive loads – per datasheet)
- Scene control using standard wall switches wired to DIs
- Hotel, office, and corridor lighting with central control and local override
- Industrial panel lighting and status illumination
- Home Assistant / ESPHome controlled dimming via Modbus RTU
- Retrofit upgrades where existing switches control modern dimmable drivers
Tech Specs
| Specification | Details |
|---|---|
| Module Type | Dual-channel phase‑cut AC dimmer module with digital inputs and local HMI |
| Microcontroller | RP2350A dual‑core microcontroller |
| Flash Memory | External QSPI flash (W25Q32 series) with LittleFS configuration storage |
| Power Input (logic) | 24 V DC SELV nominal (V+ / 0V), protected and filtered (see Power Supply section) |
| Dimming Outputs | 2 × solid‑state phase‑cut AC dimming channels (CH1 / CH2), MOSFET‑based power stage with Leading or Trailing edge mode per channel, configurable lower/upper thresholds and mains frequency tracking. See datasheet for detailed load ratings and derating curves. |
| Digital Inputs | 4 × opto‑isolated inputs (DI1–DI4 with dedicated DIx_GND returns), ISO1212‑based front‑end with PTC and TVS protection; dry‑contact or isolated low‑voltage per datasheet. |
| User Interface | 4 × front‑panel buttons (U.1–U.4) and 4 × user LEDs; buttons support multi‑press logic and also special boot/UF2 entry combinations. |
| Communication | RS‑485 Modbus RTU (MAX485, half‑duplex) with TVS, PTC fuses, EMI choke, and fail‑safe bias network. |
| USB | USB‑C port for WebConfig (Web Serial) and UF2 firmware updates; ESD‑protected data and VBUS lines. |
| Configuration Storage | Onboard flash using LittleFS; configuration persists across power cycles. |
| Default Modbus Settings | Slave ID 3, 19200 baud, 8N1; configurable via USB‑C WebConfig. |
| Operating Temperature | 0 °C to +40 °C (see Environmental section for details). |
Note: For absolute maximum ratings, detailed dimming load characteristics, and safety margins, always refer to the official DIM‑420‑R1 datasheet. Datasheet values are the authoritative reference.
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 for all stranded conductors | |
| Tightening torque | 0.5–0.6 Nm (see datasheet for connector rating) | |
| Environmental Ratings | Operating temperature | 0 °C to +40 °C |
| Storage temperature | −10 °C to +55 °C | |
| Relative humidity | ≤ 95 % RH, non‑condensing | |
| Ingress protection | IP20 (installed inside a control cabinet) | |
| Installation | Indoor control cabinet only; not for outdoor or exposed installation | |
| Terminal protection | All wiring terminals must be protected against accidental contact by covers, ducts, or front plates. | |
| Mechanical & Packaging | Product dimensions | 157.4 × 91 × 58.4 mm (L × W × H) |
| DIN units | 9M (approx. 157 mm overall length on 35 mm DIN rail) | |
| Mounting | 35 mm DIN rail (EN 50022) | |
| Net weight | ≈ 420 g | |
| Notes | All dimensions in millimetres; see mechanical drawings in the repository for detailed views. |
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 / Modbus / Web Config Integration
The DIM‑420‑R1 is a Modbus RTU slave on RS‑485 and can be controlled by:
- HomeMaster MicroPLC and MiniPLC controllers
- SCADA/PLC systems with Modbus RTU support
- Home Assistant using ESPHome Modbus integration package
- Any third‑party Modbus RTU master controller
Local behaviour (press logic, cut mode, thresholds, LED mapping) is configured using a browser‑based WebConfig tool over USB‑C (Web Serial). All parameters are stored in onboard flash and restored at power‑up.
Quick Setup Process (USB‑C WebConfig)
- Mount & Power – Mount the module on a DIN rail and connect 24 V DC logic power.
- Connect USB‑C – Connect a USB‑C cable from the module to a PC.
- Open WebConfig – Open configtool-dim-420-r1 in a Chromium‑based browser.
- Connect Device – Click Connect and grant serial permissions.
- Configure – Set Modbus address and baud, choose cut mode (Leading/Trailing) and load type per channel, adjust lower/upper thresholds, and map DI/Button/LED behaviour.
- Save & Disconnect – Confirm that configuration is saved to flash, then disconnect USB‑C.
What WebConfig is and how it works: WebConfig is a browser-based configuration UI that runs entirely in your Chromium browser using the Web Serial API. Once connected, it continuously exchanges JSON messages with the DIM‑420‑R1 to read the current configuration (Modbus address, baud rate, cut mode, thresholds, DI/LED/button mapping) and apply any changes you make in the forms. Channel tiles show live AC presence and frequency badges, sliders let you test dimming levels in real time, and per‑input / per‑button tables control how wall switches and front buttons drive CH1/CH2. All edits are applied immediately and written to the module’s flash a short time after the last change, so your settings persist across power cycles.
Features:
- Driverless, browser‑based setup using Web Serial
- Live preview of mains frequency and channel status
- Per‑channel cut mode, preset, and threshold tuning
- Configurable DI press logic and LED sources
- Persistent flash storage and JSON diagnostics stream
Minimal ESPHome YAML (Controller side)
Example for integrating one DIM‑420‑R1 from a MiniPLC / MicroPLC ESPHome node:
uart:
id: uart_modbus
tx_pin: 17
rx_pin: 16
baud_rate: 19200
parity: NONE
stop_bits: 1
modbus:
id: modbus_bus
uart_id: uart_modbus
packages:
dim1:
url: https://github.com/isystemsautomation/homemaster-dev
ref: main
files:
- path: DIM-420-R1/Firmware/v0.1.0/default_dim_420_r1_plc/default_dim_420_r1_plc.yaml
vars:
dim_prefix: "DIM#1"
dim_id: dim_1
dim_address: 5 # Modbus address set in WebConfig for this DIM
refresh: 1d
dim_address must match the Modbus address configured in WebConfig. See the DIM‑420‑R1 README and datasheet for full Modbus register map and ESPHome integration details.
Documentation
The DIM‑420‑R1 is open‑source hardware. Hardware schematics, firmware, and integration files are available in the repository.
Hardware Design Files
| File | Description | Link |
|---|---|---|
| Field Board Schematic | Dimming power stage and digital inputs | DIM-420-R1-FieldBoard.pdf |
| MCU Board Schematic | Controller, RS‑485, USB‑C and logic power supply | DIM-420-R1-MCUBoard.pdf |
| MOSFET Board Schematic | Power MOSFET dimmer stage and related circuitry | DIM-420-R1-MOSFETBoard.pdf |
Compliance Documents
| File | Description | Link |
|---|---|---|
| EU Declaration of Conformity (DoC) | Signed EU Declaration of Conformity per Reg. (EC) 765/2008 and Decision 768/2008/EC | DoC-DIM-420-R1-V1.0.pdf |
| Datasheet | Technical specifications and electrical characteristics | DIM-420-R1_Datasheet.pdf |
Firmware & Software
| Resource | Description | Link |
|---|---|---|
| Firmware Source Code | Core dimming firmware, Modbus stack, and WebConfig support | Firmware/ |
| ESPHome Integration | Ready‑made ESPHome package for DIM‑420‑R1 | default_dim_420_r1_plc.yaml |
| Integration Guide | Detailed technical description, Modbus map, wiring, and usage | README.md |
Manuals & Datasheets
| Document | Description | Link |
|---|---|---|
| Datasheet | Official electrical ratings, derating curves, and compliance information | DIM-420-R1 Datasheet |
| Module Documentation | Comprehensive markdown manual with safety, wiring, and integration details | DIM-420-R1 Documentation |
Cabling and Wirings
24 V DC Logic Power
Connect regulated 24 V DC SELV to the POWER terminals V+ and 0V. This powers the MCU, LEDs, RS‑485 interface, and USB‑C logic.
- Use a regulated 24 V DC SELV power supply
- Install an external fuse or breaker (typ. 0.5 A) upstream of V+
- Observe polarity V+ / 0V
- Route 24 V DC wiring separately from mains AC dimmer outputs
Digital Inputs (DI1–DI4)
Wire dry‑contact wall switches or isolated low‑voltage contacts to DI1–DI4 with their corresponding DIx_GND returns. Input mode (Momentary/Latching), debounce, invert, and press actions are configured in WebConfig.
- Keep DI wiring separate from AC dimmer wiring and other high‑current conductors.
- Use twisted pairs per DI channel where possible.
- Configure press logic (Short / Long / Double / Short‑then‑Long) and mapping in WebConfig.
- Inputs share 24 V‑derived isolated rails through ISO1212 devices; see field board schematic for details.
RS‑485 (Modbus RTU) Wiring
The bottom‑left terminals labelled A / B / COM connect the DIM‑420‑R1 to the RS‑485 Modbus trunk.
- Use shielded twisted pair for A/B; use the second pair for COM or spare.
- Terminate the bus with ≈120 Ω resistors at the two physical ends only.
- Keep stubs short and avoid star wiring.
- Use a common 0 V reference (COM) between controller and modules unless galvanic isolation requires otherwise.
AC Load Wiring (Dimming Channels)
The dimming channels use mains domain terminals Lx_IN / Lx_OUT / Nx_IN / Nx_OUT (for CH1 and CH2). These carry hazardous voltage. Follow the wiring diagrams and load ratings in the official datasheet and field board schematic.
⚠️ Hazardous voltage: Lx/Nx terminals are on the mains side. Installation and wiring must be performed by qualified personnel only, with power isolated and in accordance with local electrical codes and the DIM‑420‑R1 datasheet.
Cable Recommendations & Shield Grounding
These recommendations apply to digital inputs, RS‑485, and mixed‑voltage installations where the DIM‑420‑R1 shares a cabinet with mains wiring and other control hardware. Detailed limits and examples are described in the DIM‑420‑R1 README and datasheet.
General Routing Rules
- Route low‑voltage signal wiring (24 V, DI, RS‑485, USB) separately from mains‑side dimmer wiring and other high‑current cables.
- Avoid long parallel runs between SELV wiring and mains bundles; cross at 90 ° where necessary.
- Use cable ducts and strain reliefs to prevent mechanical stress on terminals.
- Keep all conductors within their rated temperature and current limits as per the datasheet.
Digital Inputs (DI) Cable
- Use a twisted pair per DI channel (DIx + DIx_GND) for improved noise immunity.
- Recommended wire size: 0.2–0.75 mm² (AWG 24–18), compatible with 5.08 mm terminals.
- In noisy environments or long runs, use shielded twisted pair and follow shield grounding rules below.
- Keep DI runs physically separated from mains dimmer wiring and relay contact wiring.
RS‑485 (Modbus) Cable
- Use a twisted pair for A/B with characteristic impedance ≈120 Ω.
- Prefer shielded twisted pair in industrial or high‑EMI environments.
- Use a daisy‑chain bus (no star topology, minimal stubs).
- Route COM/0 V reference with the bus, using the second pair where available.
Shield Grounding
- Bond cable shields to the cabinet PE/EMC ground at the controller/module end using 360 ° EMC clamps where possible.
- By default, terminate shields at one end only to avoid ground loops; only bond at both ends if both cabinets share a reliable equipotential earth.
- Do not connect shields directly to signal terminals (DI, A/B/COM, V+/0V).
- Keep shield tails short and use dedicated grounding bars or clamps.
System Architecture & Pinout
Safety and Installation Notes
- The DIM‑420‑R1 is a mixed‑voltage device: it contains SELV 24 V control electronics and hazardous mains AC on dimmer channels.
- Installation, wiring, and maintenance must be performed by qualified personnel familiar with panel building and mains safety.
- Always isolate both 24 V DC and mains AC supplies before working on the device or its wiring.
- Mount inside a dry, clean, ventilated enclosure; protect all terminals against accidental contact.
- Respect isolation barriers between logic GND and mains‑side isolated rails; never bridge logic GND with GND_ISO rails.
- Follow the load type and cut‑mode recommendations in the datasheet to avoid flicker or damage to lamps/drivers.
- Provide appropriate upstream over‑current and residual current protection in accordance with local electrical codes.
Compliance & Certifications
The DIM-420-R1 module is CE marked. ISYSTEMS AUTOMATION S.R.L. (HomeMaster® brand) maintains the technical documentation and a signed EU Declaration of Conformity (DoC) available for download in the Documents and Resources section above.
- EMC Directive 2014/30/EU — EN 55032:2015 (Class B emissions), EN 55035:2017 (immunity), tested by Idvorsky Laboratories Ltd. (Job #1648)
- Low Voltage Directive 2014/35/EU — EN 62368-1:2020 + A11:2020, in-house dielectric and isolation testing by ISYSTEMS AUTOMATION compliance laboratory
- RoHS Directive 2011/65/EU — EN IEC 63000 technical documentation
- HomeMaster® — registered EU trademark (EUTM No. 019082911, EUIPO, registered 15 January 2025)
Related products
These other products might interest you