logo elektroda
logo elektroda
X
logo elektroda

Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]

p.kaczmarek2 3549 7
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Here I will show the interior, the programming procedure and the configuration of the LED lamp leads Kanlux S A60 11.5W E27 RGBCW based on the CB3L module, i.e. the BK7231N chip. This is another lamp that came to me from one of the users in order to download the firmware from it for the tuya-cloudcutter project to allow the programming of other such products (from the same series) remotely and recognizing the roles of its WiFi module pins.
    From what I can see, such an LED (colloquially called "bulb", although it is incorrect) costs less than PLN 30:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Product packaging, with model information and QR codes for the application:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]

    A short test with the Tuya application
    There is an indication on the package that it is for the SmartLife application, but it seems that Tuya also detects this product - no wonder, it's basically one environment, just sold under different names.
    Pairing mode is activated as standard - turning the lamp on and off five times.
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Tuya sees the lamp as "Kanlux S A60 11.5WE27 RGB ..."

    Kanlux S A60 interior
    I got the lamp open from a friend from the forum.
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Here is the board with LEDs, it has the BP5778 driver:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    But BP5778 only supports two channels, and we have five (RGB + CW) ...
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Well, a board with a power supply / WiFi module and also with additional transistors for RGB:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    The CB3L module is based on the BK7231N.
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    In this case, pins RX and TX are easily accessible. You do not need to desolder the module.
    Bottom of the plate:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    I haven't analyzed it that thoroughly anymore.

    Uploading OpenBeken
    I have already described the topic many times:
    Light switch from the USA - Gosund Smart Switch SW5-A-V2.1 - BK7231T
    Garden Tuya CCWFIO232PK Double Relay - BK7231T - Programming
    For this device, I chose the method without CEN.
    I soldered 4 wires:
    - 3.3V
    - mass
    - RX
    - TX
    I have prepared a USB to UART converter in 3.3V mode and a 3.3V LDO regulator TC1264.
    I reset the system by cutting off its power (I cut off 3.3V from the WiFi module). He managed to upload his batch via bkWriter 1.60, even though it is BK7231N. After all, there is also a way to z hid_download_py .
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    The rest as usual - WiFi configuration, MQTT ...


    Pinout for OpenBeken
    It is an RGBCW lamp, so it uses five PWM channels. Sequence as in the name - R, G, B, C and W. Below is the final PWM configuration:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    This is enough to control the color and color of light from the OBK level - as well as their brightness.
    This is how the OBK panel for RGBCW looks like:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    (It is true that this is a screenshot from my table-test lamp with an uptime of 22 days, not from Kanlux, but this panel looks the same for each RGBCW ...)


    Pairing with Home Assistant
    As with other RGBCW.
    https://www.elektroda.pl/rtvforum/topic3918447.html

    Effects
    A few pics with different colors:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N] Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]

    Summary
    Simple and easy to program lamp - there were no problems with getting to the TX / RX pads. Everything is convenient.
    I ripped the batch and sent it to the authors of tuya-cloudcutter, hoping that they would add support for this product as well.
    I also put the lamp together, although it came to me with bent pins.
    And this is how 2 out of 4 lamps from the user are presented - the other two you will see soon, here is a small sneak peak:
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    The next two lamps (visible in the photo) will be interesting because they will have a previously unknown WiFi module with BK7231N. Very small module - the size of a fingernail. Then I will also examine its outputs and see how the module with 4 derived paths (including two for power supply and VDD) controls as many as five LED colors (RGBCW) - yes, via SM2135 ...

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11966 posts with rating 9996, helped 572 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 20196568
    Mateusz_konstruktor
    Level 36  
    Show off the way you reassembled these components together.
  • ADVERTISEMENT
  • #3 20200268
    p.kaczmarek2
    Moderator Smart Home
    Forgive the slow answer. You can see the assembly of the lamp in its entirety in our video:



    The only thing that is not shown in the video, and sometimes it is worth doing it, is an additional catch of the dome and, if necessary, the thread with a trace of a "drop" type glue, but when we glue it, it is important that both surfaces stick to each other.

    More or less from this moment there is action. Note that, for example, the two protruding wires must be properly positioned, one is "bent" around the housing and the other is pulled through the hole at the bottom of the thread (then the "cotter pin" is put there).
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    Kanlux S A60 LED lamp 11.5W E27 RGBCW [CB3L / BK7231N]
    The wire must protrude slightly from it.


    In the Tuya products that I have met so far, these wires have never been soldered to the thread. Everything is removable
    Helpful post? Buy me a coffee.
  • #4 20200963
    Mateusz_konstruktor
    Level 36  
    Several times in this way I tried to merge the thread element with the body and in my opinion re-making this connection without a new thread and a specialized machine gives a poor effect. This is a thin plate that deforms too easily.
    When screwing in the bulb, it is often deflected and blocked, the lack of a solid connection leads to a situation of rotation of the body with the rest being blocked in an exemplary chandelier.
  • #5 20208120
    p.kaczmarek2
    Moderator Smart Home
    And do you mean Tuya lamps now or some other?
    Mateusz_konstruktor wrote:
    the situation of turning the body with blocking the rest in the exemplary chandelier.

    I solved this with a tiny amount of precisely applied glue, but it was not always necessary.

    As for the moment, all the E14 and E26 that I remake are alive and screwing well, although here I must point out that I screw them in with feeling and when I screw them into place, they stay there, not that I unscrew and screw them in 10 times as far as they will go.

    The worse problem is when the wire is soldered to the thread.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #6 21305566
    chtr
    Level 11  
    Hi, I have this bulb, but with new pcb version, theres is on wifi standalone wifi module soledered to pcb, but everything is on same board. I tried flash this bulb with bk7231 flasher, but I'm getting error:

    "Writing sector 0xE2000... Writing sector 925696 failed!
    Writing file data to chip failed."
    and when tool is trying to extrack config from backup, this is what I get:

    "{
    "abi":"0",
    "id":"null",
    "swv":"1.5.21",
    "bv":"40.00",
    "pv":"2.3",
    "lpv":"3.5",
    "pk":"key8u54q9dtru5jw",
    "firmk":"key8u54q9dtru5jw",
    "cadv":"1.0.5",
    "cdv":"1.0.0",
    "dev_swv":"1.5.21",
    "s_id":"null",
    "dtp":"0",
    "sync":"0",
    "attr_num":"1",
    "mst_tp_0":"9",
    "mst_ver_0":"1.5.21",
    "mst_md5_0":"null",
    "mst_tp_1":"0",
    "mst_ver_1":"null",
    "mst_md5_1":"null",
    "mst_tp_2":"0",
    "mst_ver_2":"null",
    "mst_md5_2":"null",
    "mst_tp_3":"0",
    "mst_ver_3":"null",
    "mst_md5_3":"null",
    "mst_tp_4":"0",
    "mst_ver_4":"null",
    "mst_md5_4":"null",
    "mst_tp_5":"0",
    "mst_ver_5":"null",
    "mst_md5_5":"null",
    "mst_tp_6":"0",
    "mst_ver_6":"null",
    "mst_md5_6":"null",
    "mst_tp_7":"0",
    "mst_ver_7":"null",
    "mst_md5_7":"null",
    "mst_tp_8":"0",
    "mst_ver_8":"null",
    "mst_md5_8":"null",
    "mst_tp_9":"0",
    "mst_ver_9":"null",
    "mst_md5_9":"null "
    }
    "
    "Sorry, no meaningful pins data found. This device may be TuyaMCU or a custom one with no Tuya config data.
    No module information found.
    And the Tuya section starts, as usual, at 2023424"
  • ADVERTISEMENT
  • #7 21305765
    p.kaczmarek2
    Moderator Smart Home
    Try lower baud speed, maybe?
    How do you connect it?
    You need a reliable power supply in order to flash Beken modules easily. Powering from 3.3V pin of USB to UART converter may not work, I use external LDO for that.
    Helpful post? Buy me a coffee.
  • #8 21306206
    chtr
    Level 11  
    I'm powering board from external regulated supply, and connecting to pc with FT232 converter. This error always occur at the same flash area, and only when writing (backup was created successfully) This error also occur with 115200 uart speed.

Topic summary

The discussion revolves around the Kanlux S A60 LED lamp (11.5W, E27, RGBCW) utilizing the CB3L module with the BK7231N chip. The user shares insights on the programming procedure and configuration of the lamp, aiming to extract firmware for the tuya-cloudcutter project. Responses include assembly tips, highlighting the importance of proper wire positioning and the potential issues with the connection between the thread and the lamp body. Some users mention using glue to secure components, while others express concerns about the durability of the connection when reassembling the lamp.
Summary generated by the language model.
ADVERTISEMENT