logo elektroda
logo elektroda
X
logo elektroda

[W302] Set with RGB LED strip, WiFi controller, remote control and LXU405 power supply

p.kaczmarek2 2310 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Complete LED set with power supply, remote control, and cables in a cardboard box.
    Today I am presenting a full set with an RGB LED strip, a controller based on the W302 WiFi microcontroller, a 12V JKY0918-1201500E power supply and a remote control. In this topic I will show both the inside of the controller (I will also download its input from the memory chip via SPI) and the power supply.

    Purchase of the LXU405 kit
    The set was purchased from a Polish distributor for PLN 125:
    Label of the LED RGB strip set LXU405. Packaging of the LED RGB Strip Set LXU405.
    This is quite a high price, but the set includes a power supply and a strap, not only the controller and remote control:
    White power supply with European plug, model JKY0918-1201500E. LED RGB kit with power adapter and manual in a box RGB LED kit with power adapter, controller, and remote in the box.
    Instruction:
    Smart LED strip user manual with connection diagrams. Instruction manual for an RGB LED strip set with remote and controller. LED strip installation guide with diagrams and notes. RGB LED strip setup and configuration guide with microcontroller.
    I`m skipping tests with the application, it has been discussed many times.


    LXU405 interior
    As usual, on the hooks:
    LED controller on wooden surface WiFi LED controller on wooden background. White plastic LED strip controller on a wooden surface.
    Only inside there is a small surprise waiting for us. It is neither ESP8266 nor BK7231:
    Interior of the controller with W302 microcontroller after opening the casing. Interior of RGB controller with W302 chip and SPI memory. Interior of an LED RGB controller with visible electronic components. Close-up of the interior of the LED set controller showing the W302 chip.
    Inside you can see a step down converter converting 12V into 3.3V based on 8HMP, three 340S transistors (one per color), a microphone and the most interesting - the W302 chip with SPI memory, where the program probably resides. Could it be some Chinese ESP clone again?
    Bottom - maybe programming pads? I also see room for AMS1117-3.3V:
    View of a circuit board from an LED set labeled XLX-D with trace markings.
    I don`t know yet how to change the input of this system, so maybe I`ll start by copying the memory...

    Memory ripping
    For this purpose I use a programmer based on CH341, although regarding it I recommend reading on the Internet about converting its power supply to 3.3V. Anyway, I desoldered the memory and soldered it to the socket. I have a brace, but I don`t trust it, it`s not always possible to read the memory in the system.
    A printed circuit board with mounted electronic components, including a SOP16/8-DIP8 REV4 module.
    Operation performed:
    Electronic components of the LED RGB set on a wooden surface, including a controller board with attached cables and a programmer adapter.
    On the computer side, I use NeoProgrammer 2.2.0.10, the program immediately recognized the chip as ZB25VQ16, 16 Mbits, type SPI_NOR:
    Screenshot of NeoProgrammer 2.2.0.10 showing detected ZB25VQ16 memory.
    There was a tutorial about it on the English-language Elektroda channel:



    In the 2MB batch I downloaded, I see mentions of Tuya:
    Screenshot of memory content in a hex editor.
    Fragments from the batch prove that the RTL8711B SDK was used:
    Screenshot of memory code from LED controller.
    It is possible that W302 is some variation or version of this Realtek.
    Additionally, you can read about W302 on the Tuya website:
    https://developer.tuya.com/en/docs/iot/tyauxj-module-datasheet?id=K9kj97si9y5an
    Quote:

    The Wi-Fi Module consists of a highly integrated wireless radio chip W302 1119VP1 and some extra flash that has been programmed with Wi-Fi network protocol and plenty of software examples. TYAUX_J includes ARM CM4F, WLAN MAC, 1T1R WLAN, maximum frequency reaches 125MHz, 256K SRAM, 2M byte flash, and various peripheral resources.

    Unfortunately, I don`t see any more specifics there.

    The inside of the power supply
    It would be a shame not to take this opportunity and check how low quality the power supply we received:
    White power supply model JKY0918-1201500E with a cable on a wooden background.
    If we question it, we can immediately see the "ingenious" connection of the plug to the board:
    Open power supply with visible internal electronics.
    PCB, designation: JKY02-18W-X02:
    Interior of JKY02-18W-X02 power supply showing PCB. Interior of an LED RGB power supply with visible PCB components.
    Let`s take out the PCB:
    Close-up of a circuit board with electronic components.
    Do I see correctly? Is there a fuse or even an NTC at the input that limits the starting current? Or even a simple filter with a choke and two capacitors... for China, it`s quite rich, but there is only an empty space after the varistor.
    Close-up of a PCB with electronic components Close-up of the JKY0218-12V power supply PCB with electronic components. Close-up of a power supply PCB showing capacitors, coils, and protective components. PCB of power supply JKY0218-12V with electronic components. Close-up of a PCB board with capacitors and electronic components covered in white paste.
    Close-up of a power supply interior showing electronic components on a PCB. Close-up of the interior components of a power supply, including capacitors and a resistor.
    Both capacitors - CX and CY - are also available.
    Output filtering is also nice:
    Close-up of the internal components of a power supply labeled PCB JKY02-18W-X02. PCB board of JKY0918-1201500E power supply with electronic components.
    This power supply is not that bad, I have seen products of much lower quality.

    Summary
    If we want to buy this strap to use the manufacturer`s application, I have no major complaints, it`s worse if we want to change the firmware. At the moment I don`t see such an option. I haven`t seen the W302 system before and this RTL is new to me. I will only try to connect from UART to this controller. Anyway, a copy of the original post is here:
    https://github.com/openshwprojects/FlashDumps/commit/d5c4823b9ce9b0f5db35cf2bb4e507e6a015648e
    Recently I managed to "free the system from the cloud". LN882H , so maybe it will work here soon too? We`ll see, for now I need to find the SDK... I will update the topic if necessary.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11883 posts with rating 9960, helped 569 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 20963788
    artin.bruyen
    Level 17  
    What annoys me is that there are photos on the boxes and each LED lights up in a different color. Such as those from the WS series... and it turns out that they are ordinary RGB. Clearly misleading the customer...
  • ADVERTISEMENT
  • #3 20964336
    p.kaczmarek2
    Moderator Smart Home
    This is a common problem and I don`t like it very much either. Supposedly, the sellers explain that these colors are intended to illustrate the fact that the strip can glow in different colors, but it is not possible to choose several colors simultaneously . It would be better to show several photos of the strap in different colors on the packaging, it would be more understandable.

    Added after 51 [minutes]:

    I searched a bit more and found this:
    2ANDL-TYA..-J.pdf Download (836.05 kB)
    It looks like it is not RTL8711B. This is RTL8710BN:
    Datasheet page of TuyaSmart Wi-Fi Module detailing technical specifications and applications.
    Quote:

    TYAUX_J is a low power consumption module with built-in Wi-Fi connectivitysolution designed by Hangzhou Tuya Information Technology Co., Ltd. for serial communication between 12V level and 3.3V level. The Wi-Fi Module consists of a highly integrated wireless radio chip RTL8710BN and some extra flash that has been programmed with Wi-Fi network protocol and plenty of software examples. TYAUX_J in cludea ARM CM4F, WLAN MAC, 1T1R WLAN, maximum frequency reaches 125MHz, 256K SRAM, 2M byte flash and various peripheral resources.

    I have an SDK for this:
    https://github.com/openshwprojects/OpenRTL8710BN
    so we will flash soon.
    Helpful post? Buy me a coffee.
  • #4 21384029
    divadiow
    Level 34  
    additional info from firmware v1.0.6 backup flashed to RTL8710BN test module (T112_V1.1)

    UART boot log for paired v1.0.6

    Code: Text
    Log in, to see the code


    v1.0.6 firmware offers update to v1.0.7 which is from https://images.tuyaeu.com/smart/firmware/upgr...620-rtlbn_rgbcw_keymenctfd4sd3yq_ug_1.0.7.bin

    1.0.6, 1.0.7 full backups and 1.0.7 UG OTA update binary here: https://github.com/openshwprojects/FlashDumps/tree/main/IoT/RTL8710BN

    Device update screen showing available version V1.0.7. Device update screen with firmware version 1.0.7 information. App screen with a Smart Music Strip Light device successfully added and a Done button.
ADVERTISEMENT