logo elektroda
logo elektroda
X
logo elektroda

OpenBeken Driver Connection Issues with RGBIC SM15155E and BK7231N in Smart Wall Lamp

HalliHallo  Cool? (+1)
I have a "Smart Wall Light" with
* Wifi
* 5CH RGB+CCT

Modern wall light in a cuboid shape with WiFi support and RGB+CCT control.
Technical specifications of a smart wall light with WiFi function on a yellow background.

Advertisement for an LED lamp with smartphone and voice assistant control features, showcasing colorful home lighting.
https://www.amazon.de/gp/aw/d/B09N77KL7M


Tuya_App Informatik:
Main&MCU v1.1.8

After flashing with OpenBeken, no function.
Profile: Tuya Generic - Smart Wall Light v1. 1.8

I disassembled a lot of the Lamp.

View of a disassembled smart lamp with visible LED diodes and electronic components.

I found a
1x BK7231N
8x 5in1 CH RGB+CCT (all parallel connected)
1x SM15155E

BK7231N direct by the LED on very small PCB
Image of the interior of a PCB with the BK7231N chip.
Close-up of electronic component SM15155E on a PCB.


BK7231N Pinout on the golden Pins:
From left to right:
1: Ground
2: 3.3V
3: PIN16 on BK7231N
4:
5:
6:
7:
8:


With OpenBeken Driver "SM16073_DIN" first "connection" to the SM15155E.
But only one shot and only green light.
Reboot required after one shot.


I am happy to assist and help to make this device working together.

Tuya 2MB dump_flash available.

Some information in Firmware strings:
farylink-soc-hzs-5-light-15155-1.1.8-sdk-2.3.1-40.00

EDIT:
https://wap-linkage-cn.translate.goog/hangyez...l=auto&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=wapp

About Author
HalliHallo wrote 21 posts with rating 3 . Been with us since 2023 year.

Comments

p.kaczmarek2 21 Oct 2023 00:54

Welcome to Elektroda @hallihallo , thank you for submitting teardown. From a brief glance, it seems that it is another individually addressable LEDs controller like SM16073, but with different timing,... [Read more]

HalliHallo 21 Oct 2023 10:56

Hey, All 8 LEDs are in parallel. All LEDs have the same "brightness" and color. No individual LED control for each of the 8. All the same. All 8 LEDs are working. Original Tuya control: On, off, cold... [Read more]

p.kaczmarek2 21 Oct 2023 11:05

Hm okay so I think we have basically two options. 1. Do you have a 2MB flash dump for this device? Maybe I could try flashing it to BK7231N and using my Rigol to see the waveform on the P16, but I dont... [Read more]

HalliHallo 21 Oct 2023 11:20

1. Do you have a 2MB flash dump for this device? Yes, I have a full original 2MB flash dump. No, I have no more information than I provided. I am an absolute beginner and that chip is so tiny... I need... [Read more]

p.kaczmarek2 21 Oct 2023 11:31

Ah wait, I think I understood what's going on here! Look: https://obrazki.elektroda.pl/7259463400_1697880626_thumb.jpg This chip has 8 pins. So if it has 5 channels, then we have 3 pins left.... [Read more]

HalliHallo 21 Oct 2023 11:37

You see in my first post detailed photos... That is all what this lamp has... No button, sorry. I only attached ".zip" to the binary file, NOT zipped. That is the original tuya firmware. I have it dumped... [Read more]

HalliHallo 21 Oct 2023 16:26

OpenBeken autoexec.bat But, not every boot are "identically". Today morning, it starts with red light. After reboot, green as 95% boots. 50% that brightness setting works. autoexec.bat: delay_s... [Read more]

HalliHallo 24 Oct 2023 22:36

Can I get a local development and create my own OTA files for testing? 800 kb/s = timing? 8-bit for leveling 5 ch... Can I start with that and try the sm16073 driver? [Read more]

p.kaczmarek2 25 Oct 2023 00:33

Thanks for the info. You can fork our repository and open a pull request, the binary files will be created automatically. You don't need local setup for that. I will also try to look into that soon,... [Read more]

HalliHallo 25 Oct 2023 20:45

Have you seen the short Datasheet in the previous answer attachment? Is that enough information or did you need more detailed information, how the data is transfered? Than I will try to contact the... [Read more]

p.kaczmarek2 25 Oct 2023 21:09

The attached datasheet reads: Data transmission using return-to-zero code protocol Return-to-zero code data rate:800Kbps It indeed seems to provide some basic information, but I would like... [Read more]

HalliHallo 28 Oct 2023 12:29

I found a simple documentation on tuya doveloper page: https://developer.tuya.com/en/docs/iot/CBxxSerialModuleSPI?id=Kbfgyjm6qdljd [Read more]

p.kaczmarek2 28 Oct 2023 18:38

The following document seems to describe the SPI transmission, which is not used in case of your device. I know that we are internally using SPI MOSI pin to drive SM16703, but that's a different thing. ... [Read more]

p.kaczmarek2 28 Oct 2023 19:20

Better resolution timings check: https://obrazki.elektroda.pl/5722032200_1698513538_thumb.jpg https://obrazki.elektroda.pl/2337750500_1698513562_thumb.jpg [Read more]

DeDaMrAz 28 Oct 2023 19:25

@pkaczmarek2 Confirmation form the scope as well. https://obrazki.elektroda.pl/1712294100_1698513941_thumb.jpg https://obrazki.elektroda.pl/3213246300_1698513941_thumb.jpg https://... [Read more]

p.kaczmarek2 28 Oct 2023 19:51

340ns and 1160ns ... or rather 350ns and 1150ns I would say. Here are WS2812B specs: https://obrazki.elektroda.pl/5520578400_1698515438_thumb.jpg Kinda close... Here is SM16703P: https://obrazki.elektroda.pl/9410175600_1698515471_thumb.jpg... [Read more]

p.kaczmarek2 29 Oct 2023 18:08

PulseView decoder work.... https://obrazki.elektroda.pl/4440373900_1698599301_thumb.jpg I have ported WS2812 one to SM15155E ## ## This file is part of the libsigrokdecode project. ## ##... [Read more]

DeDaMrAz 29 Oct 2023 18:14

Here are some of the captures taken at 8MHz. [Read more]

HalliHallo 01 Nov 2023 22:59

Wow, so much informations. I will try to understand, but I am no eletrican... SM15155E = 5ch RGBCY (RGB +WW +CW) SM15153E = 3ch RGB I can try your code, I can only ota-update the light. [Read more]

%}