logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/CB3S] Triple touch light switch N-TS10-EU-B3 / N-TS10-B3 - OpenBeken, template, GPI

p.kaczmarek2 
Triple light switch Avatto N-TS10-EU-B3 in a cardboard box. .
Today I am presenting a firmware change and connection to Home Assistant for another product in the Avatto series. This time it will be a triple light switch based on CB3S. The situation here will be similar to the white single model - I will need to detect the GPIO configuration using the tool GPIODoctor .

Purchase N-TS10-EU-B3 .
This triple switch is available to buy for around £75:
Search results for AVATTO N-TS10-B3 light switch at Media Expert and Allegro. .
This is a relatively good price, especially as this is the triple version, i.e. with three touch buttons and three relays inside. In addition, all the time there is talk of buying from a distributor in our country.
Dimensions:
Triple Avatto N-TS10-B3 light switch with mobile app. .
Packaging, markings:
Packaging of the Avatto N-TS10-EU-B3 triple light switch with a QR code for the Smart Life app. Box with an information label about the triple WiFi touch switch. .
Instructions:
Instruction manual for Avatto WiFi touch light switch. User manual for the Avatto N-TS10-EU-B3 triple switch
Kit contents:
Box with the Avatto N-TS10-EU-B3 triple light switch. View of the Avatto N-TS10-EU-B3 triple wall switch. Avatto N-TS10-EU-B3 triple wall switch in a cardboard box. .


Interior N-TS10-EU-B3 .
The product is worth comparing with its brother version, the single, white, Avatto N-TS10-W1 which I have already described.
Avatto triple light switch circuit board with mounting elements and CB3S module visible. .
PCB designation:
EU_CBL_CB_SV2
T=1.6MM
20220409
There are some pads visible - maybe for programming?
Interior of the Avatto N-TS10-EU-B3 triple light switch with visible PCB and springs. .
Relay and power supply board - the power supply is based on a DP2525, as in similar products in this series. You can also see a 3.3V LDO regulator and three transistors (designation J3Y, a classic).
PCB inside the Avatto N-TS10-EU-B3 triple switch enclosure. .
The relays are three pieces of JY32FN-S-DC5V-A:
Circuit board with three JY32FN-S-DC5V-A relays and capacitors. .
Yes, here is already a small flyback power supply. There is no non-isolated step-down converter here as in other products of this type. Overview diagram of the power supply:
Application circuit schematic with component labels. .
Close-up of a circuit board with JY32FN-S-DC5V-A relays and capacitors. .
PCB designation of the power supply/relays: YD3L_WF_DV5 20220412.
Close-up of a green PCB with various electronic components. .
There are four LEDs inside - one per relay and an additional LED from WiFi/steaming status:
View of the interior of the triple wall switch N-TS10-EU-B3 with blue LED lights and circuit components on the PCB. A circuit board with visible blue LEDs and text on the surface.


Change firmware N-TS10-EU-B3 .
OpenBeken upload:
https://github.com/openshwprojects/OpenBK7231T_App
According to the flasher instructions:
https://github.com/openshwprojects/BK7231GUIFlashTool
You can also watch videos on the Elektroda com channel:
https://www.youtube.com/@elektrodacom
The CB3S/WB3S leads are online, I soldered the leads to GND, 3.3V, RX1 and TX1:
Close-up of a CB3S module with soldered wires. .
This time my Flasher did not import the Tuya JSON configuration correctly.
Here are the manually specified GPIO roles:

P6 - Rel 1
P8 - Rel 2
P9 - Rel 3
P26 - Green LED
P7 - Btn 1
P10 - Btn 2
P24 - Btn 3
.
The LEDs are together with the relays on the same pins.
Code: JSON
Log in, to see the code
.

Summary
The firmware change went without any problems. Slightly worse was the configuration. This time it failed to extract the JSON Tuya configuration batch from the 2MB copy so I had to guess it manually using the GPIODoctor tool. Fortunately, this only needs to be done once, and I've already done it for you, so if you want to flash such a product, you can copy the template from me.
On the other hand, what to do next after flashing is already shown to you by, among others, our Youtube channel Elektroda com:
https://www.youtube.com/playlist?list=PLzbXEc2ebpH0I8m_Cfbqv1MTlQuBKYvlx
If you have any problems or questions, please write, I will try to help you.

About Author
p.kaczmarek2
p.kaczmarek2 wrote 11885 posts with rating 9963 , helped 569 times. Been with us since 2014 year.

Comments