logo elektroda
logo elektroda
X
logo elektroda

[BK7231N - CBU] TONGOU TO-Q-SY1-JWT Din Rail Wifi Switch with power metering

valeklubomir 
DIN Rail WiFi switch from aliexpress


Chipset BK7231N module model CBU

EDIT: Power metering uses BL0942 chip.

Pin Assignments:
P9 - RELAY Status LED
P15 - Wifi LED
P17 - Button
P24 - Bridge FORWARD
P26 - Bridge REVERSE

Switch uses Magnetic Polarized Relay:

This relay must be driven with bridge driver.
Forward direction closes contact, Reserve direction opens contact.
Relay need to be powered only for changing contact position.
Pulse from length 100-200 ms is requirred to change position.
Then relay holds last position without power.
Relay Driver IC MD7620 (Shanghai-Mingda-Microelectronics)

Operation modes:


Firmware:
https://github.com/openshwprojects/OpenBK7231T_App

The firmware do not support the bridge driver MD7620 yet, but the work is in progress.

About Author
valeklubomir wrote 5 posts with rating 13 . Been with us since 2022 year.

Comments

gulson 20 Nov 2022 09:56

Thank you so much presentation! I would like to send you free elektroda.com gadgets, could you provide your address in the Private Message? [Read more]

maxcoff 11 Feb 2023 15:37

"The firmware do not support the bridge driver MD7620 yet, but the work is in progress." Hi! Any screw? [Read more]

p.kaczmarek2 11 Feb 2023 17:51

I think @valeklubomir has it implemented on his branch, but the pull request wasn't created yet. [Read more]

p.kaczmarek2 12 Feb 2023 08:45

Valek submitted PR, driver will be added today! Thank you! [Read more]

thealphahelix 20 Feb 2023 00:40

Hey, I'm new to the forums and I have one of these I'm trying to configure. I've flashed the firmware over and it's working fine, but I'm now trying to work out the pin configuration... Is there a procedure... [Read more]

valeklubomir 20 Feb 2023 02:05

Hello For the basic functionality it is enough just to setup pins. Bridge driver will start automatically after reboot. https://obrazki.elektroda.pl/2975965200_1676854866_thumb.jpg BridgeFWD... [Read more]

thealphahelix 21 Feb 2023 01:00

Heroic! Thanks so much, I got this working today :) I can't believe how smooth this process was. [Read more]

p.kaczmarek2 21 Feb 2023 01:49

Valek did very good job with the driver. Btw @thealphahelix , have you tried "startDriver SSDP"? Device will show up in Windows: https://obrazki.elektroda.pl/2386696800_1676940525_thumb.jpg btw2... [Read more]

thealphahelix 23 Feb 2023 14:58

What? That's awesome! I'll be trying that too :) Thanks so much for the platform and all the help. [Read more]

romanfarki 07 Mar 2023 17:19

i have sucesfuly flash to this device but the relay dont switch https://prnt.sc/mz2QWHowVvMA https://obrazki.elektroda.pl/4923590600_1678210948_thumb.jpg here is config : somthing i need to... [Read more]

p.kaczmarek2 07 Mar 2023 18:44

You have attached images incorrectly. External links will expire over time. Please use our image hosting. I have already fixed your post, but keep it in mind. Why do you have a Rel_n configured? Are... [Read more]

romanfarki 07 Mar 2023 19:31

i will only let know what was my problem : i solved it right now be desoldering the chip i have brake P24 pad also i connected it now - i have change to P6 (PWM0) it was near and soldered with... [Read more]

p.kaczmarek2 07 Mar 2023 20:18

What kind of desoldering method did you use? We will be publishing a hot air tutorial for IoT hacking soon. Please subscribe to our channel so you can see how to easily desolder the module. https:... [Read more]

romanfarki 07 Mar 2023 21:12

i have used a hot gun, but not much practice, like you see :) now is second done, but why the programer needs 100 atempts to write sucesfully ? https://obrazki.elektroda.pl/3475865100_1678219261_thumb.jpg... [Read more]

p.kaczmarek2 07 Mar 2023 21:41

What kind of USB to UART converter do you have? For me it works good. Maybe not enough flux when soldering? Did you first add Pb solder to make joints melting point lower? [Read more]

romanfarki 07 Mar 2023 21:49

i use this one https://obrazki.elektroda.pl/3877858800_1678222004_thumb.jpg no i used only gun temperature 330 Celsius but second i have make on board , i solder there only 5 wires _... [Read more]

p.kaczmarek2 07 Mar 2023 22:08

I don't know this board, it may be low quality or something, or more sensitive to noise. Using just hot gun for desoldering makes the job very hard. I think you should first apply flux, then apply Pb... [Read more]

thealphahelix 08 Mar 2023 14:45

To check in on this thread, we had an issue where the module kept turning itself off - not sure what was causing that. We were using it to run a solar inverter output through to measure it, so that may... [Read more]

romanfarki 08 Mar 2023 19:40

today i have flashed 2 more cb2s chips but not work on first time at all see picture :) https://obrazki.elektroda.pl/2412173500_1678299971_thumb.jpg https://obrazki.elektroda.pl/2984459100_1678299975_thumb.jpg... [Read more]