Antennas
-10%
Antennas

KinCony B4M 4-Channel Smart MOSFET Controller

Regular price $70.00 Sale price $63.00
MCU:
ESP32‑S3‑WROOM‑1U
Inputs:
4×16bit ADC (2×0‑5V, 2×4‑20mA), 4×Dry‑contact
Outputs:
4×MOSFET, DC only, 10A per channel
GPIOs:
3×without PCB pull-up, 4×with PCB pull-up
Onboard:
DS3231 RTC, microSD slot, 0.96” SSD1306 OLED
Comm:
Wi‑Fi 2.4G, Bluetooth 5.0, 100M Ethernet, RS485, USB‑C
Power:
DC 12‑24V
Dev:
KCS firmware, Arduino / ESP‑IDF, ESPHome, Tasmota, MicroPython, MQTT, Local API
App:
Home Assistant, Alexa / Google, HomeKit, Tuya Smart / Smart Life

Frequently Bought Together

KinCony B4M 4-Channel Smart MOSFET Controller
+
Type-C USB Cable
+
AC  Adapter
AC  Adapter
This item: KinCony B4M 4-Channel Smart MOSFET Controller -
Regular price $70.00 Sale price $63.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 $80.00 Sale total price $73.00
B4M Smart Controller Mounted on DIN Rail

Features


  • High-Current MOSFETs — Each of the 4 outputs utilizes a 10A driver IC, providing robust control for a wide range of DC devices beyond just signal-level loads.
  • Dual-Network Connectivity — Equipped with both Wi-Fi and 100Mbps Ethernet for flexible and resilient network integration, ensuring your controller stays connected.
  • Precise Time-Stamping & Logging — Includes a high-precision DS3231 RTC chip (with battery backup) for accurate time-based events and a microSD card slot for logging data.
  • Mixed Analog & Digital Inputs — Features a 16-bit ADS1115 ADC for accurate analog readings (0–5V and 4–20mA) alongside 4 opto-isolated digital inputs, all configurable for your specific sensors.
  • Expandable I/O — Offers 4× 1-Wire GPIOs (with pull-up resistors) for adding temperature sensors and 3× Free GPIOs (direct to ESP32) for maximum flexibility. An I²C bus extender and RS-485 port are also included.
  • Manual Override Buttons — Includes physical buttons for each MOSFET output, allowing you to turn loads on or off manually even if the software or network is down.
  • Seamless Smart Home Integration — Supports Home Assistant auto-discovery (zero-config); compatible with KinCony Cloud, Loxone, and Apple HomeKit for advanced local and cloud automations.
  • Flexible Firmware & Development — Unlock complete freedom with support for ESPHome, Tasmota, Arduino IDE, MicroPython, and ESP-IDF. No vendor lock-in.



Why Choose


B-Series Positioning: The B4M belongs to KinCony's B-Series economy line — the 2nd-generation successor to the original A-Series. It replaces mechanical relays with MOSFET solid-state switches, making it the ideal choice for silent operation and high-frequency DC switching.

  • Silent & Wear-Free DC Switching — No mechanical contacts, no audible clicks, and no lifespan limitations. Unlike the B4 and F4's mechanical relays, the B4M uses 10A MOSFETs to deliver silent, high-speed switching for all your DC loads.
  • Free GPIOs for External PWM Control — While the onboard MOSFET channels handle high-frequency ON/OFF switching, the B4M also exposes ESP32 free GPIOs capable of outputting PWM signals. This allows you to easily integrate external drivers for smooth, flicker-free LED dimming or precise DC motor speed regulation.
  • Optimized for All-DC Environments — If your project is entirely 12V or 24V DC (LED lighting, solenoid valves, DC motors), B4M provides a lower-cost, highly durable solution without paying for AC mains switching capabilities you don't need.
  • Right Choice vs B4 and F4 — Choose B4M for pure DC loads requiring silent high-frequency switching. Choose B4 for 4-channel AC mains relay switching. Choose F4 for industrial-grade pluggable OMRON® relays, 16A, and 433MHz RF. The B4M is the best-value hub for advanced DC automation.
  • No Compromise on Software Freedom — KCS v3 firmware, ESPHome, Home Assistant auto-discovery, Tuya, Tasmota, Arduino, MicroPython, and ESP-IDF. The economy line still gives you full firmware freedom and local control.



Technical Specifications:

Category Specification
Core Processor ESP32-S3-WROOM-1U (N16R8, dual‑core 32‑bit Xtensa LX7)
Analog Inputs 4× via 16‑bit ADC
▪ 2× 0–5 VDC
▪ 2× 4–20 mA (loop‑powered)
Digital Inputs 4× dry contact, opto‑isolated
▪ Cable length: up to 500 m (dependent on installation)
Digital Outputs 4× MOSFET
▪ Max load: 10 A per channel
▪ Silent, high-speed switching
Free GPIOs ▪ 3× without PCB pull-up resistors (GPIO13, GPIO14, GPIO21)
▪ 4× with PCB pull-up resistors (GPIO40, GPIO47, GPIO48, GPIO17)
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: 4× (Manual relay ON/OFF control)
Power Supply 12-24 VDC
Dimensions 115 × 83 × 56 mm
Mounting 35 mm DIN rail



Onboard Components


B4M Onboard Components - Top View
B4M Onboard Components - Bottom View
  • 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.
    Tuya Chip
    Tuya wireless communication module for cloud connectivity and smart control
  • 3.
    RTC Battery Holder
    Battery holder, maintains RTC timekeeping when main power is off
  • 4.
    Digital Input Terminals
    Screw terminals for dry contact digital input, opto-isolated
  • 5.
    RS485 Terminals
    Screw terminals for RS485 communication (A / B)
  • 6.
    Analog Input Terminals
    Screw terminals for analog input (0–5 V / 4–20 mA)
  • 7.
    Free GPIO Terminals
    Screw terminals for free GPIO access for custom IO projects
  • 8.
    Power Supply Screw Terminal
    Supports DC 12-24V power input
  • 9.
    Digital Output Terminals
    Screw terminals for MOSFET output connection (DC loads only)
  • 10.
    1-Wire GPIO Terminals
    Screw terminals for 1-Wire devices such as temperature sensors
  • 11.
    Tuya Antenna Connector
    SMA female connector, for Tuya wireless communication
  • 12.
    ESP32 Antenna Connector
    SMA female connector, for Wi-Fi and Bluetooth wireless communication
  • 13.
    ESP32 Download Button
    Download button for ESP32 firmware flashing
  • 14.
    ESP32 Reset Button
    Reset button for ESP32 module
  • 15.
    USB-C Port
    For firmware flashing only (cannot be used for power supply or data communication)
  • 16.
    Ethernet Port
    100M RJ45 Ethernet port for stable wired network connection
  • 17.
    RS485 Transceiver
    RS485 transceiver chip for reliable long-distance serial communication
  • 18.
    Low-Dropout Linear Regulator (LDO)
    Provides stable 3.3V output for onboard circuits
  • 19.
    I2C 8-bit IO Expander
    I²C bus IO expander chip, expands available digital input/output channels
  • 20.
    I2C OLED Display
    OLED display for showing IP address and device connection status
  • 21.
    Manual Override Toggle Switch
    Manual toggle switch for MOSFET output ON/OFF backup control
  • 22.
    Tuya Config Button
    Config button for Tuya network pairing
  • 23.
    Output Status LED
    Indicates MOSFET output ON/OFF working status
  • 24.
    Power Status LED
    PWR indicator, shows power supply status
  • 25.
    Tuya Status LED
    Indicates Tuya cloud connection status
B4M Onboard Components - Back View
  • 26.
    MOSFETs
    High-current MOSFET solid-state switches for driving DC loads silently and without mechanical wear
  • 27.
    16-bit ADC Chip
    High-precision analog-to-digital converter for analog inputs
  • 28.
    TVS Protection
    Transient Voltage Suppressor, suppresses surge voltages and transient spikes
  • 29.
    Optocoupler Isolation
    Prevents interference from external signals
  • 30.
    Reverse Polarity Protection
    Protects the circuit from reverse power connection
  • 31.
    Ethernet Controller Chip
    Extends 10/100 Mbps Ethernet via SPI interface
  • 32.
    Back-EMF Suppression
    Flyback diodes that protect the MOSFETs from voltage spikes generated by inductive DC loads when switched off



Onboard Isolation & Protection


B4M 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.

TVS Protection

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

Optocoupler Isolation

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

Back-EMF Suppression

Flyback diodes absorb high-voltage spikes generated by inductive DC loads (like motors or valves) when switched off, protecting the MOSFETs.



System Block Diagram


B4M System Block Diagram



Enclosure Design


B4M Aluminum Enclosure Top

Top View — Aluminum Top Cover

B4M Aluminum Cover Detail

Aluminum Cover Detail

B4M Aluminum Enclosure Back

Back View — Plastic Base with 35 mm DIN Rail Mount

B4M 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


B4M Outline Dimensions - Front View

Front View — Overall 115 × 83 mm / Aluminum cover 102 × 46 mm

B4M Outline Dimensions - Side View

Side View — Overall height 56 mm / Aluminum cover height 40 mm

Overall Length

115 mm

Overall Width

83 mm

Overall Height

56 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
B4M Smart Controller
B4M Smart Controller
1×
Antenna
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

B4M vs B4 vs F4

Shared Features: ESP32-S3 N16R8 · 100M Ethernet + Wi-Fi + Bluetooth · DS3231 RTC · ADS1115 4× 16-bit ADC (0–5V & 4–20mA) · OLED display · microSD · RS485 · DIN-rail mounting · ESPHome / Home Assistant / Tuya support.

Key Differences

Item B4M B4M
(4CH MOSFET)
B4 B4
(4CH Relay)
F4 F4
(4CH Relay)
Output Type MOSFET DC switch (DC loads only) Mechanical relay, COM / NO only (no NC) Pluggable OMRON® relay, COM / NO / NC (SPDT)
Output Quality High-current MOSFETs, 10A per channel Standard relay, 250V / 7A, COM / NO only OMRON® high-grade relay, 250V / 16A, socketed
Output Channels 4× MOSFET 4× relay 4× relay
Load Capability DC only (recommended 12–24V), 10A per channel. All channels share the same voltage. AC up to 250V, 7A per channel. Can switch AC mains. AC up to 250V / DC up to 30V, 16A per channel. Can switch AC mains.
Switching No contact, silent, high-speed; External PWM via free GPIO Mechanical contact; limited lifespan, audible click, slow Mechanical contact; pluggable for easy replacement
Digital Inputs 4× opto-isolated DI (up to 500m) 4× opto-isolated DI (up to 500m) 4× opto-isolated DI (up to 500m)
GPIO 3× 1-Wire + 4× free GPIO 3× 1-Wire + 4× free GPIO 4× 1-Wire + 2× free GPIO
4G Module Not supported Not supported Not supported
RF Receiver — — 433 MHz RF receiver built-in
Dimensions 122 × 83 × 59 mm 115 × 83 × 56 mm 138 × 127 × 65 mm

Which One Should You Choose?

Choose B4M if you need:

  • All loads are DC 12V / 24V (LED strips, solenoid valves, DC motors)
  • Silent, high-speed switching with no mechanical wear
  • External PWM dimming or speed control via free GPIO
  • 4 output channels + more DI + free GPIO

Choose B4 if you need:

  • 4 channels of AC mains relay control
  • Relay outputs with COM / NO only (no NC)
  • More opto-isolated DI (4×) and 1-Wire GPIO (3×)
  • Standard 250V / 7A relay capacity for typical AC loads

Choose F4 if you need:

  • Pluggable OMRON® relays for tool-free replacement
  • Higher relay rating (16A per channel)
  • 433 MHz RF receiver for wireless sensors
  • Industrial-grade “set and forget” reliability with SPDT contacts

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 B4M
✔ 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/B4M/
Pin Definitions B4M_pin_definition.md
Arduino Demos B4M/ (11 examples)
ESPHome Configuration Official ESPHome B4M 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 →