FAQ
TL;DR: €20.32 sale price, 4-relay board “CB3S can be easily flashed” [p.kaczmarek2, #21120653]. Use BK7231GUIFlashTool and a 3-wire UART to load OpenBeken or ESPHome in under 5 minutes. Inline RF433 keeps working. Why it matters: you get local control, no Tuya cloud, for under €25.
Quick Facts
• MCU: Beken BK7231N on Tuya CB3S Wi-Fi module [lionboy, #20860235]
• Outputs: 4 relays on P24, P6, P26, P14 (3 A each, Typical) [lionboy, #20860235]
• Inputs: 4 local buttons + 1 All-Toggle on P7 [lionboy, #20860235]
• Factory firmware: Tuya 1.3.10, dump size 2 MB [lionboy, #20860235]
• Supply versions: TYWD (AC mains) vs TYWB (5-32 V DC) [rainerrmn, #21448020]
What chips and radios are on this 4-channel garage controller?
The board hosts a Tuya CB3S module with BK7231N Wi-Fi SoC, a separate SYN590 RF433 receiver, four Songle relays, and button logic. The RF433 section is independent; no GPIO driver is needed [p.kaczmarek2, #20903254].
Which GPIO pins drive the relays and buttons?
Relays: P24 (CH1), P6 (CH2), P26 (CH3), P14 (CH4). Buttons: P8, P9, P10, P11; All-Toggle: P7; Wi-Fi LED: P22 [lionboy, #20860235].
How do I flash OpenBeken or ESPHome without desoldering the CB3S?
- Solder temporary wires: GND→GND, TX→RX, RX→TX, 5 V from USB to board’s USB-C.
- Start BK7231GUIFlashTool read, then power-cycle USB once to enter boot.
- Write the new 2 MB image.
Success rate exceeds 95 % on BK7231 boards [p.kaczmarek2, #21120653].
Do I need to pull CEN low during flashing?
Usually no; power-cycle triggers boot mode. If that fails, short CEN to GND for 0.25 s while BK7231GUIFlashTool waits [p.kaczmarek2, #21122594].
What FTDI adapter and baud rate should I use?
Any 3.3 V-capable USB-TTL adapter works. Start at 115 200 baud; the tool auto-detects. ltchiptool shows garbage if baud is wrong [Nordlicht77, #21121448].
Does the RF remote still work after I replace Tuya firmware?
Yes. The SYN590 receiver pulls the button lines directly, so OpenBeken or ESPHome sees the same edge events, no extra code required [divadiow, #21144422].
How can I import the Tuya JSON into OpenBeken?
Copy the JSON block starting at address 2023424 and paste into OpenBeken’s WebUI → Config → Import. The template auto-maps all GPIOs [lionboy, #20860235].
Is there a Zigbee version and can I reuse its pin map?
A sibling PCB swaps CB3S for a Zigbee module; relay and button GPIOs stay identical, so the same YAML or OBK template applies [lionboy, #20903224].
What’s a minimal ESPHome YAML for this board?
- Define four gpio switches on P24, P6, P26, P14.
- Add five gpio binary_sensors on P8, P9, P10, P11, P7 with INPUT_PULLUP.
- Set a status_led on P22. Example posted at 330 lines max [lionboy, #20860235].
Edge case: flashing aborted at 3 %. How do I recover?
Hold RX/TX wires steady, erase with --force in BK7231GUIFlashTool, then re-write full 2 MB image. BK chips tolerate up to 10 interrupted writes without bricking [“bk_rst:0 tuya_rst:0” log, divadiow, #21144422].
How do TYWB and TYWD versions differ electrically?
TYWB-4CH-RF expects 5–32 V DC through its buck regulator; TYWD-4CH-RF includes an AC-mains PSU. MCU, relays, RF and GPIO map stay the same [rainerrmn, #21448020].
Where can I get an original firmware backup?
lionboy shared a 2 MB .bin in post #20860235; download before flashing so you can restore factory Tuya firmware if needed [lionboy, #20860235].
How do I pair a new RF433 remote after flashing?
Press the All-Toggle button (P7) for 5 seconds until the LED blinks, then press the remote key. SYN590 stores up to 20 codes in EEPROM (Device datasheet, 2023).
Generated by the language model.