logo elektroda
logo elektroda
X
logo elektroda

Unique WiFi DIN Mount Circuit Breaker with ESP8285, SC92F7351 & CSE7759: In-Depth Details

ststefanov  12 4683 Cool? (0)
Listen:

TL;DR LABEL_AI_GENERATED

  • A strange WiFi DIN-mount circuit breaker uses a PFS-B main module with ESP8285, SC92F7351, and CSE7759 inside a single enclosure.
  • It appears to trip with an 8-bit MCU and a bistable relay instead of the usual automatic magnetic field coil trip mechanics.
  • The unit packs everything into a 19 mm DIN package.
  • It still leaves the circuitry unexplained, with more details promised after reverse-engineering the internal wiring.
AI summary based on the discussion. May contain errors.
Bought from here:
Link
Page screenshot:

Package contains strange circuit breaker, without automatic magnetic field coil trip mechanics. It seems to explore 8 bit MCU + bistable relay for trip. Main module is PFS-B containing ESP8285 CPU. Although there is powerfull 32 bit CPU there is additional 8 bit micro controller SC92F7351. I think this is to provide high reliability.
Energy meter is CSE7759. All this is packed in 1 unit 19 mm DIN package.
More details I'll post later when I manage to discover circuitry.
Here are the images:

About Author
ststefanov wrote 15 posts with rating 6 . Been with us since 2014 year.

Comments

p.kaczmarek2 07 Apr 2023 12:19

Thank you, that's a very interesting teardown. I haven't been aware about the PSF-B module, but luckily pinout is already known: https://obrazki.elektroda.pl/6716991900_1680862747_thumb.jpg Right... [Read more]

vasara2008 11 Apr 2023 18:01

hello, anybody can identify transistors matrix in sot23-6 package, near relay socket, after some tests i have dead this transistor. thanks in advance Gintas [Read more]

ststefanov 12 Apr 2023 14:42

The chip is BL8023F 300mA Bi-Direction Relay Driver https://obrazki.elektroda.pl/7249207200_1681305916_thumb.jpg [Read more]

vasara2008 12 Apr 2023 15:24

Thank you, my friend. [Read more]

civic9 17 Jul 2024 18:24

Hi, Can I flash it with Tasmota or other open-source software? Do I need to disable that TuyaMCU to flash PSF-B? How? Does anyone have a working configuration? Please give me any tips and hints about... [Read more]

p.kaczmarek2 02 Aug 2024 17:06

Yes, Tasmota is a good choice for ESP-based devices. You can also use online Tasmota installer, as described here: https://www.elektroda.com/rtvforum/topic3990951.html [Read more]

jkwim 24 Aug 2024 17:53

What are the counter values displayed in Tasmota? Could you post some screenshots/logs please? [Read more]

civic9 24 Aug 2024 18:26

https://obrazki.elektroda.pl/8394507100_1724516774_thumb.jpg [Read more]

jkwim 25 Aug 2024 07:56

Thanks. I am also interested in the device because of the form factor. Was the opening of the device destructive? [Read more]

p.kaczmarek2 25 Aug 2024 08:01

I've did a more detailed teardown of a similiar (same factor) device once, also on ESP, but you will need to use google translate: Przekaźnik Tuya/Smart który pamięta harmonogram po utracie sieci Wi... [Read more]

jkwim 25 Aug 2024 12:57

Found this youtube video: https://www.youtube.com/watch?v=jrmQpzMRU6o Added after 19 [minutes]: Thanks. Actually what I need is a ESP device in the switchboard to connect to few ModBus... [Read more]

civic9 25 Aug 2024 14:56

Rivets are used to hold two parts of an enclosure together. So dissasembling it is somewhat destructive. However, rivets can be drilled out quite easily and you can replace them with small screws afterward. ... [Read more]

FAQ LABEL_AI_GENERATED

TL;DR: This FAQ covers a 19 mm WiFi DIN rail breaker; expert quote: "Tasmota is a good choice" for ESP-based devices. It helps technicians flash PSF-B/ESP8285 hardware, map CSE7759B metering, and avoid unsafe mains or GPIO modifications. [#21177522] Why it matters: This compact breaker mixes ESP8285 WiFi, SC92F7351 control, CSE7759B metering, and relay-drive circuitry inside one DIN module, so safe reverse engineering matters.

Approach What the thread found Practical result
TuyaMCU-style capture Suggested early from RX/TX lines Useful only if powered safely off mains
Direct Tasmota flash Worked after breaking CSE7759B-to-RX GPIO3 can read metering as CSE7766 Rx
External ModBus use Considered for switchboard meters Needs extra separation before GPIO hookup

Key insight: The device can run Tasmota on the ESP8285 without a TuyaMCU protocol path. The critical fix was isolating the CSE7759B RX connection before flashing.

Quick Facts

  • The breaker uses a PSF-B ESP8285 WiFi module and fits a 1 unit, 19 mm DIN enclosure. [#20528974]
  • The metering IC is CSE7759/CSE7759B, and a working Tasmota setup maps it through GPIO3 as CSE7766 Rx. [#21158268]
  • The relay-area SOT23-6 device is BL8023F, identified as a 300 mA bi-direction relay driver. [#20536190]
  • Opening the enclosure is partly destructive because rivets hold the two housing parts together, but drilled rivets can be replaced by small screws. [#21203305]
  • Safe UART packet capture was advised only with the device disconnected from mains and powered by a safe alternative supply. [#20529044]

What is the PSF-B ESP8285 module used in this WiFi DIN rail circuit breaker?

The PSF-B is the ESP8285 WiFi CPU module inside the smart DIN breaker. It provides the networked control side of the device. The teardown identifies it as the main module and links it to the ESP8285 CPU. The full breaker fits into a 1 unit, 19 mm DIN package. [#20528974]

How does the SC92F7351 microcontroller work together with the ESP8285 in this smart DIN mount circuit breaker?

The SC92F7351 controls the relay path and the second red LED while the ESP8285 handles WiFi firmware. The thread later states there is no TuyaMCU protocol in the working Tasmota setup. GPIO12 from the ESP8285 connects directly into the SC92F7351 control path. This makes GPIO12 the practical relay control line. [#21158268]

What is the CSE7759 or CSE7759B energy metering chip, and what data can it provide to Tasmota?

The CSE7759B is the energy-metering chip read by Tasmota through the CSE7766 Rx driver setting. "CSE7759B is an energy-metering integrated circuit that reports electrical measurement data to the ESP UART, letting firmware display live power and counter-style energy readings when the serial line is mapped correctly." The thread shows a Tasmota status screen after this configuration. [#21202375]

How can I flash Tasmota onto a PSF-B based WiFi DIN rail circuit breaker safely?

Flash Tasmota only with the breaker removed from mains power and powered safely for serial work. Use this 3-step procedure:
  1. Disconnect the device fully from mains voltage.
  2. Isolate the CSE7759B connection to RX before flashing.
  3. Flash the ESP8285 PSF-B, then configure GPIO0, GPIO3, GPIO12, and GPIO13. One expert note says UART work must be done with the device disconnected from mains. [#20529044]

Why did breaking the CSE7759B connection to RX allow Tasmota flashing on this ESP8285 device?

Breaking the CSE7759B connection freed the ESP8285 RX line needed during flashing. The working report says Tasmota flashing succeeded only after disconnecting the CSE7759B from RX. Afterward, the same line could be configured as GPIO3 with CSE7766 Rx for metering. This is a clear serial-line conflict failure case. [#21158268]

What GPIO configuration works in Tasmota for the ESP8285 DIN circuit breaker with CSE7759B energy monitoring?

The working Tasmota configuration is GPIO0 Button 1, GPIO3 CSE7766 Rx, GPIO12 Relay 1, and GPIO13 LedLink. This setup was reported after successful flashing of the PSF-B ESP8285 device. It also matches the observation that the SC92F7351 controls the relay through GPIO12. [#21158268]

How should GPIO0, GPIO3, GPIO12, and GPIO13 be configured in Tasmota for this PSF-B smart breaker?

Configure GPIO0 as Button 1, GPIO3 as CSE7766 Rx, GPIO12 as Relay 1, and GPIO13 as LedLink. This assigns the local button, metering UART receive, relay command, and link LED functions. The configuration came from a working Tasmota flash on the ESP8285 DIN breaker. [#21158268]

What is the BL8023F SOT23-6 chip near the relay, and how is it used as a bi-directional relay driver?

The BL8023F is the SOT23-6 relay driver near the relay socket. "BL8023F is a 300 mA bi-direction relay driver that drives a latching relay coil in both directions, allowing electronic set and reset control from low-power logic circuitry." In this breaker, it sits by the relay hardware. [#20536190]

How can I identify and replace a damaged SOT23-6 relay driver transistor array in this smart circuit breaker?

Identify the damaged SOT23-6 relay driver as BL8023F, not a generic transistor matrix. The thread specifically names the chip as a BL8023F 300 mA bi-direction relay driver. Match the SOT23-6 package and relay-driver function when sourcing a replacement. This matters after tests damage the original device. [#20536190]

What Tasmota counter or energy values should appear when using the CSE7759B/CSE7766 RX configuration on this device?

Tasmota should show energy-monitoring values after GPIO3 is set to CSE7766 Rx. The thread includes a screenshot response when asked about counter values, confirming visible Tasmota metering output. The exact numeric readings are not provided in text. Use the screenshot as the thread evidence, not a fixed calibration table. [#21202375]

How destructive is opening this 19 mm DIN rail WiFi circuit breaker, and how can the riveted enclosure be reassembled?

Opening is somewhat destructive because rivets hold the two enclosure halves together. The practical method is to drill out the rivets carefully. After inspection or repair, replace the drilled rivets with small screws. This allows reassembly after accessing the 19 mm DIN breaker internals. [#21203305]

Tasmota vs TuyaMCU firmware: which approach makes more sense for an ESP8285 DIN rail breaker with SC92F7351 control?

Tasmota makes more sense once the RX conflict is solved, because the device worked without TuyaMCU protocol. The early guess was a TuyaMCU device, so UART capture was suggested. Later testing showed GPIO12 directly controls the SC92F7351 relay path. That makes direct ESP8285 Tasmota configuration practical. [#21158268]

How can I safely capture UART RX/TX packets from a Tuya-style ESP8285 device without connecting it to mains voltage?

Capture UART packets only with the device disconnected from mains and powered by a safe alternative method. The suggested lines are RX and TX on the ESP-side interface. Do not connect a USB-UART adapter while mains is present. This avoids lethal voltage exposure and damage to test equipment. [#20529044]

What safety precautions are needed when connecting an ESP GPIO from a switchboard device to external ModBus equipment?

Do not connect an ESP GPIO directly to external ModBus equipment without extra separation. The thread explicitly questions the safety of direct GPIO use from a switchboard device. Add isolation or another protection stage before linking external equipment. This is especially important inside a mains distribution board. [#21203305]

How can an ESP8285 DIN rail device be used as a ModBus gateway for multiple cascaded ModBus energy meters?

Use the ESP8285 DIN device only as a gateway after adding a safe interface between GPIO and ModBus hardware. The thread proposes connecting several cascaded ModBus devices to one GPIO path. It does not provide a verified wiring diagram. Treat direct connection as unsafe until isolation and interface hardware are added. [#21203119]
AI summary based on the discussion. May contain errors.
%}