Skip to Content

HomeMaster STR-3221-R1 — Smart Stair Lighting Module, 32 Steps

(0 review)
The STR-3221-R1 is a configurable smart LED and digital I/O controller designed for architectural lighting, staircase illumination, building automation, and industrial control. With 32 low-side MOSFET outputs, 4 opto-isolated digital inputs, 4 user buttons with indicator LEDs, it offers flexible local logic and seamless integration via Modbus RTU (RS-485). Ideal for smart lighting, ambient control, and automation panels.

Manufacturer: HomeMaster Internal Reference: HM-STR-3221-R1 Mfr. Part#N: STR-3221-R1 Barcode: 5940031101886

193.60 193.60 VAT included

Returns & Warranty Conditions
Shipping & Availability
We ship orders within 1–2 business days for items in stock.
For out-of-stock products, ships within 1–2 business days after restock
Shipping times will automatically update once the product becomes available.


HomeMaster STR-3221-R1

The HomeMaster STR-3221-R1 is a high-density smart LED / I/O controller module designed for stair lighting, architectural illumination and general low-voltage automation in HomeMaster systems and other Modbus RTU networks. It features 32 low-side MOSFET outputs for 12-24 V DC LED loads, 1 IEC 61131-2 compliant 24 V DC discrete input, 2 presence-sensor inputs, 4 local buttons and 4 user-assignable status LEDs.

Powered by the Raspberry Pi RP2350 microcontroller, the module supports RS-485 (Modbus RTU) communication and configuration via WebConfig over USB-C - no drivers or external software required. Configuration is stored in on-device flash (LittleFS) and survives power loss and reboots. It connects directly to HomeMaster MicroPLC and MiniPLC controllers or operates as a standalone Modbus slave in any automation network.

Through a MiniPLC or MicroPLC running ESPHome, the module appears in Home Assistant over the native ESPHome API — no MQTT broker, no Modbus register mapping in Home Assistant and no custom converters. Entities are ready to use within seconds, with low latency and no cloud.

HomeMaster STR-3221-R1 32-channel smart LED / I/O controller module
DIN rail • 24 V DC • Modbus RTU • USB-C WebConfig

Quick Overview

  • 32-channel smart LED / I/O module for Modbus automation systems
  • DIN-rail form factor with 24 V DC supply
  • 32 low-side MOSFET outputs (12-24 V DC), 1 IEC 61131-2 DI + 2 presence-sensor inputs, 4 buttons, 4 status LEDs
  • RS-485 Modbus RTU communication
  • Local configuration via USB-C WebConfig interface
  • Isolated I/O, surge and short-circuit protection

Typical Applications

  • Stair LED lighting with motion sensors
  • Architectural and ambient lighting
  • Multi-channel low-voltage LED control
  • Scene control with wall switch / button inputs
  • Status indicators and alarm signaling
  • Building and home automation
  • PLC lighting expansion module
  • Industrial signal lamps and indicators

Tech Specs

Technical Specifications
SpecificationDetails
MicrocontrollerRP2350 dual-core microcontroller
StorageExternal QSPI Flash W25Q32 (32 Mbit)
Power Input24 V DC nominal (20-30 V DC recommended)
Input ProtectionTime-lag fuse, reverse polarity diode, TVS surge suppression, EMI filtering
Main Logic SupplyAP64501 buck regulator 24 V → 5 V, AMS1117-3.3 LDO regulator
Outputs32 × low-side MOSFET channels, 1.5 A max per channel, 18 A module total, with flyback diodes
Output VoltageExternal 12-24 V DC LED supply (shared + group rails)
Maximum Total Output Current18 A module path limit at 24 V DC (DB128L-5.08 field terminals); 1.5 A per channel
LED Driver ICs4 × TLC59208F (8-channel constant-current sinks) for status / indication and grouping
Digital Inputs1 × IEC 61131-2 compliant 24 V DC discrete input (DI + GND) plus 2 × presence-sensor inputs (IN1, IN2 with GND); ISO1212 front-end; PTC fuses, TVS surge suppression
Sensor Rails (SENS.A / SENS.B)2 fused 24 V auxiliary rails for external sensors (low current, ~200 mA total)
User Interface4 buttons (SW1-SW4), 4 user-assignable status LEDs plus power / RX / TX indicators
CommunicationRS-485 Modbus RTU (MAX485, half-duplex), non-isolated; TVS surge protection, PTC fuses, common-mode choke, fail-safe biasing
USBUSB-C, 5 V logic, ESD protected (WebConfig only - not for powering field devices)
Typical Power Consumption0.2-0.5 W (logic only, no LED load)
Modbus Address Range1-247 (default: 21)
Modbus Baud Rate9600-115200 (default: 115200, 8N1)

Note: Outputs are not internally fused per channel. Use external overcurrent protection on the LED supply rails per applicable standards and installation requirements.

Installation, Environmental & Mechanical

Installation, Environmental & Mechanical Specifications
Category Specification Details
Terminal Specifications Terminal type Pluggable screw terminal blocks, 5.08 mm pitch
Wire cross-section0.25-1.5 mm² (AWG 24-16)
Tightening torque0.4-0.6 Nm
Environmental Ratings Operating temperature0 °C to +40 °C
Storage temperature−10 °C to +55 °C
Relative humidity0-95 % RH, non-condensing
Ingress protectionIP20 (inside cabinet only)
Maximum altitude2000 m
Pollution degree2
Mechanical & Packaging Mounting 35 mm DIN rail (EN 50022)
DIN width9 modules (9 × 17.5 mm)
EnclosurePC/ABS, UL94-V0
Net weightTBD
Gross weightTBD
Pack sizeTBD
NotesAll dimensions in millimeters; see drawing below

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.

HomeMaster STR-3221-R1 mechanical drawing with dimensions in mm
Mechanical drawing: front view + side view + DIN-clip depth (all dimensions in mm).

Home Assistant / Modbus / Web Config Integration

The STR-3221-R1 supports flexible integration with:

  • HomeMaster MicroPLC and MiniPLC controllers
  • PLC and SCADA systems via Modbus RTU
  • Home Assistant using ESPHome or Modbus integration
  • Direct USB-C configuration using browser-based WebConfig tool

Configuration parameters are stored persistently in onboard flash and automatically restored at power-up.

Quick Setup Process (USB-C WebConfig)

  1. Mount & Power - Mount the module on a DIN rail and connect 24 V DC.
  2. Connect USB-C - Connect USB-C cable to the module.
  3. Open WebConfig - Open WebConfig page in Chrome or Edge browser.
  4. Connect Device - Click Connect and select the device.
  5. Configure - Set Modbus address and baud rate.
  6. Test I/O - Test outputs O1-O32, status LEDs and digital inputs.
  7. Save & Disconnect - Save settings and disconnect USB-C.

Features:

  • Driverless browser-based configuration
  • Live configuration and diagnostics
  • Persistent flash storage
  • No external software required

WebConfig provides Modbus address, baud rate, I/O test, and channel configuration (stored persistently in flash).

STR-3221-R1 module front view STR-3221-R1 module top terminal view STR-3221-R1 button and status LED detail

Minimal ESPHome YAML (Controller side)

Use this on the MiniPLC/MicroPLC (ESPHome). It enables the RS-485 bus and imports the STR-3221-R1 package.

uart:
  id: uart_modbus
  tx_pin: 17
  rx_pin: 16
  baud_rate: 115200
  parity: NONE
  stop_bits: 1

modbus:
  id: modbus_bus
  uart_id: uart_modbus
  turnaround_time: 100ms
  send_wait_time: 250ms

packages:
  str1:
    url: https://github.com/isystemsautomation/homemaster-dev
    ref: main
    files:
      - path: STR-3221-R1/Firmware/v0.1.0/default_str_3221_r1_plc/default_str_3221_r1_plc.yaml
        vars:
          str_prefix: "STR#1"
          str_id: str_1
          str_address: 21
    refresh: 1d

ESPHome 2026.7.0 raised the Modbus client defaultsturnaround_time from 100 ms to 600 ms and send_wait_time from 250 ms to 2000 ms (PR #11969).

At the 600 ms default the bus carries only about 1.5 Modbus transactions per second, whatever the UART speed, because the controller stays silent for 600 ms after every response. Two modules on one RS-485 bus become slow to respond. With three or more, one module can stop being polled altogether — with no timeout and no CRC error in the log.

On ESPHome 2026.7.0 and newer, set both values explicitly as shown above. On earlier releases these were the defaults and the two lines are not required.

str_address must match the Modbus address configured in WebConfig.

Full Modbus register map and integration details are in the STR-3221-R1 README.

Documentation

The STR-3221-R1 is open-source hardware. Hardware and firmware files are available.

Hardware Documentation

File Description Link
Field board schematic STR-3221-R1 field I/O / power stage STR-3221-R1-FieldBoard.pdf
MCU board schematic STR-3221-R1 controller / MCU board STR-3221-R1-MCUBoard.pdf
Datasheet Module specifications and electrical characteristics Download datasheet (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_STR-3221-R1.pdf
Datasheet Technical specifications and electrical characteristics STR-3221-R1_Datasheet.pdf

Firmware & Software

Resource Description Link
Firmware Source Code Firmware and configuration tools GitHub repository
Integration Guide Setup and configuration documentation README.md
WebConfig Tool Browser-based configuration interface Built-in USB interface

Cabling and Wirings

Power Supply

Module power (V+ / 0V): The STR-3221-R1 logic and communication operate from 24 V DC SELV/PELV only. Connect +24 V and 0 V (GND) to the terminals marked V+ and 0V.

LED power (LED PS + / -): The LED supply terminals accept 12 V or 24 V DC. Use a separate supply for the LED loads; outputs are low-side switching and require a common LED supply rail to the + group pins.

Power Input
ParameterSpecification
Module (V+ / 0V)24 V DC ±10 % (20-30 V) - logic and module only
LED supply (+ / -)12 V or 24 V DC - for LED loads; separate from module power
Sensor rails (SENS.A / SENS.B)24 V DC fused auxiliary rails for low-power sensors
ProtectionPTC fuses, reverse polarity diode, TVS suppression
Ground referenceField return GND_FUSED; do not bridge to logic GND externally
24 V DC power supply wiring: V+ and 0V terminals
Connect + to V+ and - to 0V.

Terminal Block Layout

Top row (24Vdc | LED PS | RS-485 | DI 24Vdc | SENS.A | SENS.B | OUT O.1-O.10)

PosLabelGroupFunction
1V+POWER24 V DC input
20VPOWER24 V DC return
3+LED_PSLED PSU positive
4-LED_PSLED PSU negative
5COMRS485RS-485 signal reference
6BRS485RS-485 data -
7ARS485RS-485 data +
8GndDIDiscrete input return
9IDIDiscrete input
10+SENS_APresence sensor A supply
11IN1SENS_APresence input A
12GndSENS_APresence A return
13+SENS_BPresence sensor B supply
14IN2SENS_BPresence input B
15GndSENS_BPresence B return
16+OUT_1_4Group rail for O.1-O.4
17O.1OUT_1_4Output 1
18O.2OUT_1_4Output 2
19O.3OUT_1_4Output 3
20O.4OUT_1_4Output 4
21+OUT_5_8Group rail for O.5-O.8
22O.5OUT_5_8Output 5
23O.6OUT_5_8Output 6
24O.7OUT_5_8Output 7
25O.8OUT_5_8Output 8
26+OUT_9_10Group rail for O.9-O.10
27O.9OUT_9_10Output 9
28O.10OUT_9_10Output 10

Bottom row (OUT O.11-O.32)

PosLabelGroupFunction
1+OUT_11_14Group rail for O.11-O.14
2O.11OUT_11_14Output 11
3O.12OUT_11_14Output 12
4O.13OUT_11_14Output 13
5O.14OUT_11_14Output 14
6+OUT_15_18Group rail for O.15-O.18
7O.15OUT_15_18Output 15
8O.16OUT_15_18Output 16
9O.17OUT_15_18Output 17
10O.18OUT_15_18Output 18
11+OUT_19_22Group rail for O.19-O.22
12O.19OUT_19_22Output 19
13O.20OUT_19_22Output 20
14O.21OUT_19_22Output 21
15O.22OUT_19_22Output 22
16+OUT_23_26Group rail for O.23-O.26
17O.23OUT_23_26Output 23
18O.24OUT_23_26Output 24
19O.25OUT_23_26Output 25
20O.26OUT_23_26Output 26
21+OUT_27_30Group rail for O.27-O.30
22O.27OUT_27_30Output 27
23O.28OUT_27_30Output 28
24O.29OUT_27_30Output 29
25O.30OUT_27_30Output 30
26+OUT_31_32Group rail for O.31-O.32
27O.31OUT_31_32Output 31
28O.32OUT_31_32Output 32

Ports & service interfaces

IdTypeNote
USB-CWebConfig / firmware interface (not for powering field devices).

Housing notes

  • Outputs are grouped in fours, each group with its own + rail - nine groups in total.
  • Low-side switching: load + to the group + rail, load - to O.n.
  • Two separate presence inputs SENS.A and SENS.B, each with its own + and Gnd.
  • Per channel <=1.5 A (ferrite BLM31PG601SN1L). Module total <=18 A (DB128L-5.08 field terminals; choke is 24 A).

Top blocks: V+ / 0V (24 V DC module supply), LED PS +/- (12 or 24 V DC LED supply), SENS.A / SENS.B (fused 24 V sensor rails), IN1 / IN2 / GND (digital inputs). Output blocks: O1-O32 low-side outputs grouped with shared + rails. Comms block: A, B, COM (RS-485 Modbus RTU).

STR-3221-R1 front view: power, sensor rails, inputs, 32 outputs and RS-485
Front view: power, sensor rails and inputs (top); 32 outputs and RS-485 (bottom).

Output Wiring (O1-O32)

Output channels are low-side MOSFET sinks (SI2307A). Connect the LED load + to the corresponding + group rail (12 or 24 V from the LED supply) and the load - to the channel terminal (O#). Built-in SS24 flyback diodes protect against inductive switching transients. Maximum 1.5 A per channel; module total 18 A (field terminal path limit).

Digital Input Wiring (IN1, IN2)

Inputs use an ISO1212 IEC 61131-2 digital-input front-end (not galvanic isolation). Connect potential-free (dry) contacts — wall switches, push buttons, or relay / open-collector / transistor outputs that simply close DI to GND. The module supplies the wetting current from its own 24 V rail; do not feed external voltage into the input. Three-wire sensors must be powered from your own supply, with their switching output wired to the input (the module provides no sensor-supply rail). Each input has PTC fuse, TVS, and reverse protection. Do not exceed 30 V DC on input pins.

Digital inputs IN1, IN2 and GND with dry-contact switches
Dry-contact wiring to IN1 and IN2 (common GND).
PIR motion sensors connected to digital inputs via SENS rails
PIR motion sensors powered from SENS rail and signaling IN1/IN2.

RS-485 / Modbus RTU

Terminal order differs across the HomeMaster range. Always read the silkscreen - do not wire by habit from another module. On this module the order is COM-B-A. Swapping A and B damages nothing but the node will not communicate. COM is required on every node.

All HomeMaster controllers and modules share the same RS-485 front end.

RS-485 Front End
ItemValue
TransceiverMAX485CSA+T, half-duplex
Galvanic isolationNone — the transceiver shares the device's logic ground
Common-mode range−7 V … +12 V referred to the device's own ground (MAX485 limit)
TerminalsA / B / COM
Surge protection3 × SMAJ6.8CA TVS (A–COM, B–COM, A–B)
Overcurrent2 × resettable PTC, 1.5 A hold, in series with A and B
EMI filteringCommon-mode choke on the A/B pair; COM referenced through 1 MΩ ∥ 4.7 nF
Idle stateFail-safe biasing on board — do not add external bias resistors
Termination120 Ω at the two physical ends of the bus only

Bus wiring rules — apply to every device on the bus:

  • One twisted pair for A/B, 120 Ω characteristic impedance.
  • Run COM to every node. Required, not optional: the ports are not isolated, and COM is what bounds the common-mode voltage the transceivers see.
  • Prefer one power supply for the whole bus, distributed in star topology. With separate supplies, additionally tie the 0 V references together at a single point.
  • Bond the cable shield to cabinet PE at one end only. Never land a shield on A, B or COM.
  • Where the bus crosses into a different electrical installation with its own earthing reference — a utility or billing meter, another building, another cabinet's PE system — fit an external galvanic RS-485 isolator at that boundary. The on-board components are transient protection, not isolation, and will not survive a sustained ground-potential difference.
RS-485 bus wiring: A, B, COM and 120 Ohm termination
Connect A, B, and COM to the bus; external 120 Ω at both bus ends.

Cable Recommendations & Shield Grounding

General Routing Rules

  • Route low-level signal cables (RS-485, DI) separately from power and LED wiring.
  • If crossing power cables is unavoidable, cross at 90°.
  • Keep cable runs as short as practical; avoid parallel runs with high-current conductors.

RS-485 (Modbus) Cable

  • Twisted pair recommended (120 Ohm characteristic impedance).
  • Shielded cable recommended in industrial environments.
  • Use one twisted pair for A/B and a third conductor for COM. COM must be run to every node.
  • Examples: J-Y(ST)Y 2×2×0.5 mm² or LI2YCY PiMF 2×2×0.50.

Shield Grounding

  • Bond cable shield(s) to cabinet PE/EMC ground at one end (PLC side recommended).
  • Do not connect shields directly to signal terminals (A/B/COM).

System Architecture & Pinout

STR-3221-R1 System Block Diagram
System block diagram.
STR-3221-R1 MCU and terminal pinout
RP2350 MCU and terminal pinout.
STR-3221-R1 Field Board
Field board layout: 32 MOSFET outputs, ISO1212 inputs, 24 V DC power rails.
STR-3221-R1 MCU Board
MCU board layout: RP2350, TLC59208F drivers, MAX485, USB-C.

Safety and Installation Notes

  • Module logic: use only SELV/PELV 24 V DC on V+ / 0V. LED supply (+ / -) can be 12 or 24 V DC.
  • Install inside a control cabinet; protect wiring terminals from accidental contact.
  • Each module must have its own 24 V DC supply for V+ / 0V; do not bridge GND_FUSED and logic GND externally.
  • Never connect mains voltage to any terminal - this is a SELV-only product.
  • Size the separate LED PS field supply and wiring for up to 1.5 A per channel (18 A module total); use appropriate fusing on the LED PS supply. Do not share LED PS with module logic V+/0V.
  • Sensor rails (SENS.A / SENS.B) provide limited fused 24 V output - do not backfeed external power.
  • Installation and servicing by qualified personnel only.

Compliance & Certifications

The STR-3221-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 Documentation section above.

  • EMC Directive 2014/30/EU - EN 55032:2015 (Class B emissions), EN 55035:2017 (immunity), tested by Idvorsky Laboratories Ltd. (Job #1648)
  • RoHS Directive 2011/65/EU - EN IEC 63000 technical documentation
  • Low Voltage Directive 2014/35/EU - does not apply (SELV-only product, 24 V DC nominal, no mains-capable terminals)
  • HomeMaster® - registered EU trademark (EUTM No. 019082911, EUIPO, registered 15 January 2025)