Skip to Content

RGB-621-R1 RGBCCT Module

(0 review)

The RGB-621-R1 is a high-performance, modular LED controller designed for advanced RGB + CCT (Tunable White) lighting control in smart home and commercial automation systems. Built with industrial-grade isolation, robust protection circuits, and a dual-board architecture, it delivers reliable, flicker-free dimming and seamless integration into Modbus RTU networks.

Ideal for ambient lightingarchitectural illuminationmood lighting, and automated scene control, the RGB-621-R1 supports standalone operation or centralized management via HomeMaster MicroPLC/MiniPLC controllers.

120.00 120.00

Overview

The RGB-621-R1 is a configurable smart RGB+CCT LED controller designed for architectural lighting, home automation, ambient lighting, and industrial control. With 5 high-current PWM outputs for RGB and Tunable White LED control, 2 isolated digital inputs, and 1 relay output, it offers professional lighting control and seamless integration via Modbus RTU (RS-485). Ideal for smart homes, commercial lighting, and automation systems.

Getting Started

Quick Setup Process
  1. Mount & Wire – Install on 35mm DIN rail, connect 24V DC power, sensors, and relay loads.

  2. Configure – Plug in USB-C, open the WebConfig tool in Chrome/Edge, set Modbus address and I/O mapping.

  3. Integrate – Connect to your controller via RS-485 and start automation.

What You Need
  • RGB-621-R1 module

  • 24V DC SELV power supply

  • 24/12V DC SELV LED strip power supply

  • RS-485 cable (twisted pair)

  • USB-C cable for configuration

  • 24/12V RGB+CCT LED strips

  • Chromium-based browser (Chrome/Edge)

Web Configuration Steps
  1. Connect USB-C to module and PC

  2. Open https://www.home-master.eu/configtool-rgb-621-r1

  3. Click "Connect" and select serial port

  4. Set Modbus address (default: 3) and baud rate (default: 19200 8N1)

  5. Configure input actions, relay mapping, LED modes, and button functions

  6. Settings save automatically to flash

Tech Specs

Technical Specifications
etails
MicrocontrollerRP2350A, Dual-core ARM Cortex-M33 @ 133MHz
Input Voltage24V DC SELV/PELV
LED Input Voltage
24/12V DC SELV/PELV
PWM Outputs5 channels (R, G, B, CW, WW)
PWM Current5A per channel (25A max total)
Digital Inputs2 isolated channels
Relay OutputSPST-NO, 16A @ 250VAC/30VDC
CommunicationRS-485 (Modbus RTU)
Flash Memory32 Mbit QSPI Flash
Isolation3 kVrms (inputs ↔ logic)
Dimensions52.5 × 90.6 × 67.3 mm
Mounting35mm DIN rail (EN 50022)
Operating Temp0°C to 40°C
Weight~0.25 kg

Documentation

The DIO-430-R1 is open-source hardware! You can build your own board using the following files:

Hardware Design Files
Firmware & Software
Mechanical Files

All design files and documentation are available in the HomeMaster GitHub repository.

Input and Output

Digital Inputs:
  • Type: Galvanically isolated (ISO1212)

  • Compatibility: Dry contact or 24V sourcing

  • Protection: PTC fuses + TVS diodes per channel

PWM Outputs:
  • Driver: AP9990GH-HF N-channel MOSFETs

  • Control: 0-100% duty cycle (0-1000 scale)

  • Protection: PTC fuses, reverse polarity protection

Relay Output:
  • Type: HF115F mechanical relay

  • Control: Modbus coil or local mapping

  • Application: LED driver switching, auxiliary loads

User Interface
  • 2 Buttons: Configurable for relay override (toggle function)

  • 2 LEDs: Configurable steady or blink modes, linked to relay status

  • Status LEDs: PWR (power), TX/RX (Modbus activity)

Communication Interfaces

  • Protocol: Modbus RTU

  • Role: Slave device

  • Default Settings: Address 3, 19200 baud, 8 data bits, No parity, 1 stop bit

  • Supported Functions: Read Coils (0x01), Read Discrete Inputs (0x02), Read Holding Registers (0x03), Read Input Registers (0x04), Write Single Coil (0x05), Write Single Register (0x06)

Modbus Address Map
Coils (Read/Write) - Function Codes 0x01, 0x05
AddressNameDescription
00000RELAY_CMDRelay command (1=ON, 0=OFF)
00010SAVE_CFGSave configuration to flash
00011RESETSoft reset device
Discrete Inputs (Read Only) - Function Code 0x02
AddressNameDescription
10000DI1_STATEDigital Input 1 state
10001DI2_STATEDigital Input 2 state
10010RELAY_STATERelay actual state
10020-24PWM_x_STATEPWM channel active states
Holding Registers (Read/Write) - Function Codes 0x03, 0x06
AddressNameDescriptionRange
40000MODEL_IDModule identifier (0x0621)RO
40001FW_VERSIONFirmware build (YYYYMM)RO
40002MB_ADDRModbus address1-255
40003MB_BAUDBaud rate0-4
40010-14PWM_x_DUTYPWM duty cycles0-1000
40020DI_EN_MASKInput enable maskBitmask
40022RELAY_ENRelay enable0-1
40030-31UPTIMEUptime secondsRO
Input Registers (Read Only) - Function Code 0x04
AddressNameDescription
30000DI_STATE_MASKInput state mask
30001PWM_STATE_MASKPWM state mask
30002TEMP_READINGInternal temperature (°C)
30003VOLTAGE_READINGInput voltage (mV)

Home Assistant & ESPHome Integration Guide

Overview

The RGB-621-R1 integrates seamlessly with Home Assistant via ESPHome using the Modbus RTU protocol. This guide covers both quick integration using our pre-built package and manual configuration for advanced users.

Prerequisites

Before starting, ensure you have:

  1. ESPHome device (HomeMaster MiniPLC/MicroPLC or any ESP32/ESP8266 with RS-485)

  2. RS-485 connection between ESP device and RGB-621-R1

  3. 24V power to RGB-621-R1 module

  4. Home Assistant with ESPHome add-on installed

Configure Your ESPHome Device

Add this to your ESPHome YAML configuration:

yaml
# RS-485 Configuration
uart:
id: uart_modbus
tx_pin: GPIO17
rx_pin: GPIO16
baud_rate: 19200
parity: NONE
stop_bits: 1

modbus:
id: modbus_bus
uart_id: uart_modbus

# Import RGB-621-R1 Package
packages:
rgb_621_r1:
url: https://github.com/isystemsautomation/HOMEMASTER
ref: main
files:
- path: RGB-621-R1/Firmware/default_rgb_621_r1_plc/default_rgb_621_r1_plc.yaml
vars:
rgb_prefix: "Staircase" # Custom name for your entities
rgb_id: staircase_module # Unique internal ID
rgb_address: 3 # Must match WebConfig Modbus address
refresh: 1d
Customize Variables
  • rgb_prefix: Appears in entity names (e.g., "Staircase Relay 1")

  • rgb_id: Must be unique if adding multiple RGB modules

  • rgb_address: Set to match your RGB-621-R1 Modbus address (default: 3)

Multiple DIO Modules

For additional modules, duplicate the package block with unique IDs:

yaml
packages:
rgb_2:
url: https://github.com/isystemsautomation/HOMEMASTER
ref: main
files:
- path: RGB-621-R1/Firmware/default_rgb_621_r1_plc/default_rgb_621_r1_plc.yaml
vars:
rgb_prefix: "Kitchen"
rgb_id: kitchen_module
rgb_address: 4
refresh: 1d

rgb_1:
url: https://github.com/isystemsautomation/HOMEMASTER
ref: main
files:
- path: RGB-621-R1/Firmware/default_rgb_621_r1_plc/default_rgb_621_r1_plc.yaml
vars:
rgb_prefix: "HVAC"
rgb_id: hvac_module
rgb_address: 5
refresh: 1d

Programming

Supported Development Environments
  • Arduino IDE with RP2350 support

  • PlatformIO with RP2350 toolchain

  • MicroPython (community builds available)

Firmware Flashing

  1. Connect USB-C to PC

  2. Hold Buttons 1 + 2 to enter BOOT mode

  3. Upload via:

    • UF2 drag-and-drop to mounted drive, OR

    • PlatformIO/Arduino IDE upload

  4. Power off the module for reset

Pin Mapping (Default Firmware)

FunctionGPIODescription
PWM_RGPIO6Red channel
PWM_GGPIO11Green channel
PWM_BGPIO12Blue channel
PWM_CWGPIO7Cool White
PWM_WWGPIO8Warm White
DI1GPIO9Input 1
DI2GPIO10Input 2
RELAYGPIO13Relay driver
BTN1GPIO1Button 1
BTN2GPIO2Button 2
RS485_TXGPIO4Transmit
RS485_RXGPIO5Receive