Antennas
-10%
Antennas

KinCony B24 24-Channel Smart Relay Controller

Regular price $255.00 Sale price $230.00
MCU:
ESP32‑S3‑WROOM‑1U
Inputs:
4×16bit ADC (2×0‑5V, 2×4‑20mA), 24×Dry‑contact opto‑isolated
Outputs:
24×Relay (up to 250VAC/30VDC 7A per channel)
GPIOs:
3×without PCB pull-up, 4×with PCB pull-up
Onboard:
DS3231 RTC, microSD slot, 0.96” SSD1306 OLED, 24×Manual Toggle Switches
Comm:
Wi‑Fi 2.4G, Bluetooth 5.0, 100M Ethernet, RS485, USB‑C
Power:
DC 12V
Dev:
KCS firmware, Arduino / ESP‑IDF, ESPHome, Tasmota, MicroPython, MQTT, Local API
App:
Tuya Smart / Smart Life, Home Assistant, Loxone, HomeKit

Frequently Bought Together

KinCony B24 24-Channel Smart Relay Controller
+
Type-C USB Cable
+
AC  Adapter
AC  Adapter
This item: KinCony B24 24-Channel Smart Relay Controller -
Regular price $255.00 Sale price $230.00
Type-C USB Cable
Type-C USB Cable -
Sale price $3.50
AC  Adapter
AC Adapter -
Sale price $6.50
Price for all:
Regular total price $265.00 Sale total price $240.00
B24 Smart Controller Mounted on DIN Rail

Features


  • 24 High-Density Relay Channels — Equipped with 24× heavy-duty relays rated at Max 250VAC / 30VDC, 7A per channel. Directly switch motors, pumps, lights, and solenoids in industrial cabinets without extra contactors.
  • 24-Channel Opto-Isolated Digital Inputs — Includes 24× dry contact inputs with optocoupler isolation, supporting cable runs up to 500 meters for reliable status feedback from push buttons, limit switches, and industrial sensors.
  • Precision Sensing Suite — Features 4× ADS1115 16-bit ADC channels for high-accuracy analog monitoring: 2× 0–5 VDC and 2× 4–20 mA loop-powered inputs, ideal for pressure, level, and temperature transmitters.
  • Redundant Network & Industrial Bus — Dual connectivity with Wi-Fi and 100Mbps Ethernet ensures reliable local/remote access. Includes an isolated RS485 port for long-distance Modbus communication.
  • Standalone Time Intelligence & Diagnostics — Onboard DS3231 RTC (with battery backup) keeps perfect time even without internet, while the OLED display provides at-a-glance IP address and status, and the microSD slot enables local data logging.
  • Fail-Safe Manual Override — Physical toggle switches for each relay channel allow you to force loads ON or OFF directly, guaranteeing continuous operation and simplifying troubleshooting during network drops.
  • Seamless Ecosystem Integration — Supports Home Assistant auto-discovery (zero-config via MQTT), KinCony Cloud, Loxone, and Apple HomeKit for unified local and cloud automation.
  • Flexible Firmware & Development — Full support for KCS firmware (HTTP, MQTT, TCP, RS485 Modbus, Tuya), ESPHome, Tasmota, Arduino IDE, MicroPython, and ESP-IDF.



Why Choose


B-Series Positioning: The B24 is the high-density flagship of KinCony's B-Series economy line. It is engineered for system integrators who need to consolidate 24 independent AC control channels into a single, cost-effective DIN-rail device — without paying for premium industrial hardware or sacrificing local control.

  • Consolidate 3 Modules into 1, Cut Wiring & Maintenance Costs — Replacing three separate 8-channel controllers with one B24 eliminates inter-module wiring, reduces terminal block usage, and shrinks your cabinet footprint. For large lighting arrays or multi-zone pump systems, this means fewer failure points and dramatically faster troubleshooting.
  • Keep Production Running When the Network Drops — The 24 physical toggle switches are not just a convenience; they are a hard-wired backup layer. During network outages or firmware issues, on-site staff can manually force any relay ON or OFF without a laptop or app — ensuring critical loads stay operational and emergency maintenance can proceed immediately.
  • Avoid Paying for Unused Wide-Voltage Circuitry — If your entire control cabinet runs on a dedicated 12V DC bus (common in solar, marine, and compact industrial panels), the B24’s native 12V design is a more cost-effective fit than controllers that force you to buy 12–24V wide-voltage components you will never use.
  • Choose the Right Output for Your Load Type — The B24 is the AC mains specialist of the 24-channel family. Choose it for AC lighting, pumps, and solenoids. Choose the B24M if all loads are DC (LEDs, motors) and you need silent PWM control. Choose the F24 if you require premium 16A pluggable OMRON® relays for tool-free field replacement. The B24 delivers the best value for high-density AC panels.
  • Own Your Data and Logic Forever — With native Home Assistant auto-discovery and full compatibility with KCS v3, ESPHome, and Arduino, the B24 never locks you into a proprietary cloud. Your automations run locally, your data stays on your premises, and you can migrate or customize the firmware at any time — zero vendor lock-in, zero subscription fees.



Technical Specifications:

Category Specification
Core Processor ESP32-S3-WROOM-1U (N16R8, dual‑core 32‑bit Xtensa LX7)
Analog Inputs 4× ADS1115 16‑bit ADC
▪ 2× 0–5 VDC
▪ 2× 4–20 mA (loop‑powered)
Digital Inputs 24× dry contact, opto‑isolated
▪ Cable length: up to 500 m (dependent on installation)
Digital Outputs 24× relays
▪ Contact: COM, NO (1 × SPST-NO / Form A per channel)
▪ Max load: up to 250 VAC / 30 VDC, 7 A per channel
Free GPIOs ▪ 3× without PCB pull-up resistors (GPIO13, GPIO14, GPIO21)
▪ 4× with PCB pull-up resistors (GPIO40, GPIO48, GPIO47, GPIO7)
Wireless Connectivity ▪ Wi‑Fi 2.4 GHz (802.11 b/g/n)
▪ Bluetooth 5.0 (BLE)
IoT Platform Tuya‑compatible (via Wi‑Fi/Bluetooth)
Wired Connectivity ▪ Ethernet: 100M RJ45 (IPv4/IPv6)
▪ RS485
▪ USB‑C (programming)
Onboard Peripherals ▪ RTC: DS3231 (battery socket)
▪ Display: SSD1306 128×64 OLED (I²C)
▪ Storage: microSD card socket
▪ Buttons: 3× (ESP32 Reset / ESP32 Download / Tuya Config)
▪ Toggle Switches: 24× (Manual relay ON/OFF control)
Power Supply 12 VDC
Dimensions 239 × 83 × 59 mm
Mounting 35 mm DIN rail



Onboard Components


B24 Onboard Components - Detail 2
  • 1.
    ESP32-S3-WROOM-1U N16R8 Chip
    Adopts ESP32-S3 series chip with Xtensa 32-bit LX7 dual-core processor, built in 16MB Flash and 8MB PSRAM
  • 2.
    W5500 Chip
    Ethernet controller, extends 10/100 Mbps Ethernet via SPI interface
  • 3.
    PCF8575 I²C 16-bit GPIO Expander
    I²C bus GPIO expander chip, expands available digital input/output channels
  • 4.
    Tuya Chip
    Tuya wireless communication module for cloud connectivity and smart control
  • 5.
    TVS Protection
    Transient Voltage Suppressor, suppresses surge voltages and transient spikes
B24 Onboard Components - Main Board
  • 6.
    RTC Battery Holder
    Battery holder, maintains RTC timekeeping when main power is off
  • 7.
    Relays
    24-channel high-power mechanical relays for direct AC/DC load switching
  • 8.
    Digital Input Terminals
    Screw terminals for dry contact digital input, opto-isolated
  • 9.
    RS485 Terminals
    Screw terminals for RS485 communication (A / B)
  • 10.
    Analog Input Terminals
    Screw terminals for analog input (0–5 V / 4–20 mA)
  • 11.
    Free GPIO Terminals (with pull-up)
    Screw terminals for Free GPIO access with onboard pull-up resistors
  • 12.
    Power Supply Screw Terminal
    Supports DC 12V power input
  • 13.
    Relay Terminals
    Screw terminals for relay output connection
  • 14.
    Free GPIO Terminals (without pull-up)
    Screw terminals for Free GPIO access without onboard pull-up resistors
  • 15.
    Tuya Antenna Connector
    SMA female connector, for Tuya wireless communication
  • 16.
    ESP32 Antenna Connector
    SMA female connector, for Wi-Fi and Bluetooth wireless communication
  • 17.
    USB-C Port
    For firmware flashing only (cannot be used for power supply or data communication)
  • 18.
    Ethernet Port
    100M RJ45 Ethernet port for stable wired network connection
  • 19.
    ESP32 Download Button
    Download button for ESP32 firmware flashing
  • 20.
    ESP32 Reset Button
    Reset button for ESP32 module
  • 21.
    Lower Board Power Status LED
    Indicates the power status of the lower circuit board
B24 Onboard Components - Back View Detail 1
  • 22.
    SSD1306 OLED Display
    I²C OLED display for showing IP address and device connection status
  • 23.
    microSD Card Slot
    Supports external TF card for local data logging and file storage
  • 24.
    Manual Override Toggle Switches
    Physical toggle switches for each relay channel, allowing manual ON/OFF control
  • 25.
    Tuya Config Button
    Config button for Tuya network pairing
  • 26.
    Relay Status LEDs
    Indicates relay ON/OFF working status
  • 27.
    Upper Board Power Status LED
    Indicates the power status of the upper circuit board
  • 28.
    Tuya Status LED
    Indicates Tuya cloud connection status
B24 Onboard Components - Top Board
  • 29.
    Reverse Polarity Protection
    Protects the circuit from reverse power connection
  • 30.
    ADS1115 Chip
    16-bit ADC for high-precision analog input
  • 31.
    Optocoupler Isolation
    Prevents interference from external signals, ensuring stable operation



Onboard Isolation & Protection


B24 Onboard Isolation and Protection

Voltage Regulator

Provides a stable 3.3V output, protecting the core chip from voltage fluctuations.

Reverse Polarity Protection

Prevents circuit damage caused by accidental reverse power connection.

Thicken Track

Reinforced copper traces for high-current paths, ensuring stable power delivery under heavy loads.

TVS Protection

Transient Voltage Suppressors absorb surge voltages and spikes, safeguarding sensitive components.

Optocoupler Isolation

Isolates external signals from the MCU, preventing interference and voltage spikes.



System Block Diagram


B24 System Block Diagram



Enclosure Design


B24 Aluminum Enclosure Top

Top View — Aluminum Top Cover

B24 Aluminum Cover Detail

Aluminum Cover Detail

B24 Aluminum Enclosure Back

Back View — Plastic Base with 35 mm DIN Rail Mount

B24 DIN Rail Mount Base

DIN Rail Base Detail — 35 mm Standard DIN Rail

Aluminum Top Cover Advantages

1. Premium Feel: Compared with ordinary ABS plastic cases, the aluminum top cover offers a more solid, high-end texture and better heat dissipation.

2. EMI Shielding: As a non-magnetic conductor, the aluminum top cover acts as a Faraday cage, protecting internal circuits from external electromagnetic radiation and preventing internal emissions.



Outline Dimensions


B24 Outline Dimensions - Front View

Front View — Overall 239 × 83 mm / Aluminum cover 228 × 45 mm

B24 Outline Dimensions - Side View

Side View — Overall height 59 mm / Aluminum cover height 39 mm

Overall Length

239 mm

Overall Width

83 mm

Overall Height

59 mm

Aluminum Cover

228 × 45 × 39 mm

Mounting

35 mm DIN



Supports Arduino, Micropython, ESP-IDF development


Arduino IDE

Arduino IDE

Arduino IDE is an open-source electronic prototyping platform. It is convenient, flexible, and easy to start. With a simple learning curve, you can rapidly develop your projects.

MicroPython

MicroPython

MicroPython is a full implementation of Python 3 that runs directly on embedded hardware. It enables agile IoT development like Raspberry Pi Pico.

ESP-IDF

ESP-IDF

ESP-IDF is Espressif's official development framework. It provides low-level hardware access, maximum performance, and professional control for production-grade firmware.

For full firmware packages, demo codes and programming tutorials, please switch to the "Software Solution" tab above.



Packing List


Item
Quantity
B24 Smart Controller
B24 Smart Controller
1×
Antennas
Antennas
2×

Please Note: The RTC coin cell battery is not included in the standard package due to shipping regulations.



Batch Customization Service


Support software and hardware customization including interface logo label case etc.

Label Customization

Logo, sticker, nameplate

Hardware Customization

PCB, interface, casing

Software Customization

Firmware, function, UI

01

Contact Customer Service

Send your customization requirements

>>>
02

One-to-One Technical Service

Professional evaluation and solution

>>>
03

Sign Contract & Start Project

Custom development and sample making

>>>
04

Sample Approval & Mass Production

Batch delivery after sample passes

B24 vs B24M vs F24

Shared Features: ESP32-S3 N16R8 · 100M Ethernet + Wi-Fi + Bluetooth · DS3231 RTC · OLED display · microSD · RS485 · 24× opto-isolated DI (500m) · DIN-rail mounting · ESPHome / Home Assistant / Tuya support.

Key Differences

Item B24 B24
(24CH Relay)
B24M B24M
(24CH MOSFET)
F24 F24
(24CH Removable Relay)
Output Type Mechanical relay, COM / NO MOSFET DC switch (DC loads only) Pluggable OMRON® SPDT relay, COM / NO
Output Load Max 250VAC / 30VDC, 7A per channel 10A per channel (DC only) Max 250VAC / 30VDC, 16A per channel
Switching Mechanical contact; audible click No contact, silent, high-speed; PWM via Free GPIO Mechanical contact; pluggable for tool-free replacement
Form Factor Standard width (239mm) Standard width (220mm) Wide footprint (longer width for relays)
Manual Override Yes (Mini Toggle Switch) — Yes (Mini Toggle Switch)
Analog Inputs 4× 16-bit ADC (0–5V, 4–20mA) 4× 16-bit ADC (0–5V, 4–20mA) 4× 16-bit ADC (0–5V, 4–20mA)
GPIO 7× free GPIO 7× free GPIO 6× free GPIO
Power Supply 12 VDC (fixed) 12–24 VDC wide voltage 12/24 VDC

* Note: "Max 250VAC" is the maximum rating. Relay contacts are fully compatible with global mains systems, including 110V/120V (North America) and 220V/240V (Europe/Asia).

Which One Should You Choose?

Choose B24 if you need:

  • 24 channels of AC mains relay control
  • Standard COM / NO wiring logic
  • Standard 7A capacity for typical AC loads
  • Physical mini toggle switches for manual override
  • A fixed 12V DC power system

Choose B24M if you need:

  • All loads are DC 12V / 24V (LED strips, DC motors)
  • Silent, high-speed switching with no mechanical wear
  • External PWM dimming or speed control via free GPIO
  • Purely software-controlled (no physical override switches)
  • Wide 12–24V DC input voltage flexibility

Choose F24 if you need:

  • Pluggable OMRON® relays for tool-free replacement
  • Higher relay rating (16A per channel)
  • Physical mini toggle switches for manual override
  • Industrial-grade reliability with a larger installation footprint

I. Firmware Options & Features

Solution Ideal For Key Advantages
1. KCS Firmware (Recommended) Beginners / Zero-Code Users ✔ Auto-detects Home Assistant via MQTT (zero config)
✔ Works with Tuya App + Alexa/Google Voice Control
✔ Local IFTTT automation (no internet needed)
✔ 2-year free KinCony Cloud (official store only)
✔ Apple HomeKit support for Siri
✔ Supports Loxone Miniserver integration
✔ Multi-protocol: HTTP, MQTT, TCP, RS485 Modbus, Tuya
2. ESPHome Firmware Home Assistant Enthusiasts ✔ Full open-source customization
✔ Official ESPHome device support for B24
✔ Web UI + deep HA integration
✔ Full YAML examples available
3. Tasmota Firmware Open-Source Community ✔ Massive plugin ecosystem
✔ MQTT / Web control + rule engine
4. Arduino / ESP-IDF Custom Code Developers ✔ Full Arduino demos provided
✔ Supports MicroPython / ESP-IDF
5. Hybrid Setup (Best Practice) Advanced Users Tuya App (remote via internet) + Home Assistant (local via LAN) — Security + convenience

II. Technical Resources

Direct links to pin definitions, ESPHome configurations, Arduino demo source codes, and KCS firmware. All open-source and maintained on GitHub.

Resource Link
KCS Firmware kcs_firmware/B24/
Pin Definitions B24_pin_definition.md
Arduino Demos B24/ (11 examples)
ESPHome Configuration Official ESPHome B24 device page

III. Getting Started Guide

Step 1: Flash Firmware

We recommend using the Online Flasher — no driver installation required, works entirely in your browser. Alternatively, follow the Quick Start Guide for manual flashing with the ESP32 desktop tool.

Step 2: Connect & Configure

Power on the board, connect via Ethernet or Wi-Fi, and access the web configuration interface. For detailed configuration, see the KCS Firmware User Guide.

Step 3: Integrate

Enable MQTT auto-discovery in Home Assistant, or pair with Tuya App for voice control.

IV. Video Tutorial: How to Flash KCS Online

No Drivers Needed, No Complex Setup—Flash Directly within Your Browser in 1 Minute!

How to Flash KCS Online - Video Tutorial

Looking for software solutions for other products?

View All Product Software Solutions →