logo elektroda
logo elektroda
X
logo elektroda

[BK7231N/CB2L] Lumary 5/6 Inch Downlight - OpenBeken driver for KP18058esp LED controller

swpharis  Cool? (+2)
Remove diffusing filter.
Undo 3 screws.
Unplug ribbon cable from LED board.
Gently pry off back cover with small flat tool. Plastic is very soft/brittle.
CB2L module is soldered to power board.


About Author
swpharis wrote 18 posts with rating 8 , helped 1 times. Been with us since 2023 year.

Comments

p.kaczmarek2 21 Jun 2023 15:34

I haven't seen such mounting of CB2L module yet. Do you have a configuration for this device? Or maybe at least a flash dump, so I can extract GPIOs? [Read more]

swpharis 25 Jun 2023 03:12

Best way to dump flash on OSX? I was able to build the BK GUI Flash tool in mono with errors, but it crashes when launched. [Read more]

p.kaczmarek2 25 Jun 2023 09:32

I don't know this system much. Maybe Python's hid_download_py can work. You can see CB2S (very similar to CB2L) dumping in this video: https://www.youtube.com/watch?v=PKkiqDNFIx8 [Read more]

swpharis 25 Jun 2023 16:00

Python does work - someone posted earlier - https://www.elektroda.com/rtvforum/topic3984791.html Issue was with forms. System.Windows.Forms.dll "The Carbon driver has not been ported to 64bits,... [Read more]

swpharis 28 Jun 2023 21:32

Just got a single pack of one of these and it uses a different module. There isn't consistency. Configuration values are the same. Module firmware from Lumary before flashing was 2.3.x in the Tuya app.... [Read more]

p.kaczmarek2 28 Jun 2023 23:39

Can you post Tuya Config? So you got BK7231T version that time? [Read more]

swpharis 29 Jun 2023 03:19

https://obrazki.elektroda.pl/4901648200_1687996097_thumb.jpg Already flashed it. Yes it was WB2L with newer firmware. Manufacturer date was sept. 21. Manf date on others was Dec. 21 Added... [Read more]

p.kaczmarek2 29 Jun 2023 09:27

There are PWM-SDA and PWM-SCL markings on the board. This indicates a "I2C-like" LED driver such as BP5758, SM2135, etc. Please see where are the SDA/SCL signals going. What is the name of the chip? It... [Read more]

swpharis 29 Jun 2023 16:57

It’s a KP18058esp. https://obrazki.elektroda.pl/9598941000_1688044204_thumb.jpg Added after 1 [hours] 45 [minutes]: Pinned it out. https://obrazki.elektroda.pl/2822231400_16880506... [Read more]

p.kaczmarek2 29 Jun 2023 17:13

Can you check if any of existing LED IC drivers works with that chip? [Read more]

swpharis 29 Jun 2023 17:32

Can you explain more what you are asking please? [Read more]

p.kaczmarek2 29 Jun 2023 18:42

KP18058 looks like one of those "I2C-like" LED driver chips, where only two digital lines (SDA and SCL) are used to control 5 channels of LEDs. The problem is, KP18058 doesn't seem to be well known. ... [Read more]

swpharis 29 Jun 2023 19:54

More info on this setup - (third revision with SDA). I had a wiring issue in original read. Read @ 115200 Write @ 921600 Other rates fail. I corrected and the results of read are below: { "rstnum":"3", "rstcor":"c", "Jsonver":"1.0.0", "brightmin":"5", "gmwb":"75", "title20":"1", "deftemp":"100", "gmwg":"70", "bleonoff":"1", "kp58ccur":"13", "wfcfg":"spcl_auto", "colormin":"10", "pmemory":"1", "gmkb":"60", "iicb":"0", "cmod":"rgbcw", "mixway":"0", "kp58rgb_mode":"0", "iicscl":"7", "wt":"20", "prodagain":"0", "rstbr":"50", "remdmode":"0", "colormax":"100", "kp58wcur":"30", "cagt":"20", "iicw":"4", "notdisturb":"1", "module":"CB2L", "colorpfun":"0", "iicsda":"8", "kp58comps_lv":"0", "cwmaxp":"100", "dmod":"9", "gmwr":"100", "iicc":"3", "rgbt":"10", "gmkg":"60", "onoffmode":"1", "brightmax":"100", "iicg":"2", "wfct":"3", "rsttemp":"100", "category":"0505", "gmkr":"80", "defcolor":"c", "iicr":"1", "defbright":"100", "crc":"93", "}Ihlp%Agw_diJ(Aastro_timerbv":"40.00", "pv":"2.2", "lpv":"3.4", "pk":"key8u54q9dtru5jw", "firmk":"key8u54q9dtru5jw", "cadv":"_id", "wx_uuid":"null", "dy_tls_m":"2", "cloud_cap":"1025", "psk21_key":"null... [Read more]

p.kaczmarek2 29 Jun 2023 20:03

Thanks, this is also helpful, but we still need an insight into the two wire protocol of that device. Can you tell us where it was bought? I've spoken to @dedamraz and he seems to be eager to buy... [Read more]

swpharis 29 Jun 2023 20:29

Amazon https://www.amazon.com/gp/product/B09Y5RPSF4/ref=ppx_yo_dt_b_asin_title_o09_s00?ie=UTF8&psc=1 Be aware there are different listings for what seem to be the same light. This listing is the one... [Read more]

DeDaMrAz 29 Jun 2023 21:02

Thank you @swpharis for the links, ordered placed we will have them by July 11 to analyze and try to support it. [Read more]

p.kaczmarek2 29 Jun 2023 21:59

Please stand by @swpharis , we will need your help with testing once @dedamraz does packets capture. I wonder how the protocol looks like. Some such LED drivers are using 8 bits per channel, giving us... [Read more]

swpharis 29 Jun 2023 23:09

I think it's going to be 1024 Google translated from Chinese.: KP18058 is a high-precision five-channel full-pressure LED linear constant current moderation chip, which can be independently set by... [Read more]

DeDaMrAz 06 Jul 2023 17:49

I received one light type but unfortunately it has TYWE2S module and no KP LED controller :/ awaiting for the other one to arrive. [Read more]

%}