logo elektroda
logo elektroda
X
logo elektroda

[BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S

p.kaczmarek2 2100 2
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    I will show here the interior, programming, and configuration of the single-color Tuya WiFi strip controller sold under the AIP-Future (Smart Series) / SmartLife logo with the designation TY-02-1CH. The strip works on voltages DC5-24V, current (according to the manufacturer) up to 6A. By the way, we'll see what transistors are inside.
    The controller can be purchased in various places on the web, also on the Polish shipping portal, it costs PLN 40 here:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    The belt was given to me by one of our users so that I could change the batch - after programming the belt returns to the user. Thank you for providing me with the device to take tests and photos!
    Specification, types of plugs (both are classic DC Jack, dimensions below):
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    Package:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    Very poor this time. They didn't even provide double sided tape for fixing.

    A short test with the Tuya application
    The Tuya application and its automations/scenarios have already been discussed many times. I won't repeat it here. I just want to show that Tuya pairs without any problems and how the bar interface looks like in this application:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S


    Interior and programming of the TY-02-1CH
    The product does not have screws, the housing is simply held on with a latch:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    Inside is ... the WB3S module, i.e. BK7231T:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    Its derivations are well described in the Tuya documentation:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    https://developer.tuya.com/en/docs/iot/wb3s-module-datasheet?id=K9dx20n6hz5n4
    The plate is also pressed in.
    It can be removed:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    On board we have a step down converter (you can see the chip signed JWBVJ 0pA4F with a coil and Schottky diode SS24) that converts 24-5V DC to 3.3V DC for the WiFi module and three 3400 transistors working together. These transistors are directly connected to the PWM pin of the WB3S, even without a resistor.
    3400 is probably AO3400:
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    In order to program the BK7231T, I soldered TX, RX and GND. I connected a USB to UART converter to it. I used a 9V power supply anyway. I did the reboot/RESET of the system without the CEN pin, simply cutting off the power for a moment.
    [BK7231T] TY-02-1CH AIP-FUTURE WiFi single color WiFi LED strip WB3S
    In the OpenBeken panel, set:
    - P14 - Button (channel 0)
    - P8 (aka PWM2) - PWM (channel 0)
    Setup Home Assistant as usual - either manually via Yaml code or via Home Assistant Discovery.

    Slightly better setup
    We can further improve the control of this bar by using OpenBeken scripts.
    We script it so that the button can both turn it on/off and control the brightness.
    We change the role of the button to Btn_ScriptOnly, and in the Web panel, in the autoexec.bat tab, we create the script:
    
    addEventHandler OnClick 14 led_enableAll toggle
    addEventHandler OnHold 14 backlog led_enableAll 1; add_dimmer 5 1 
    


    Summary
    Once I have already described a single-color LED strip controller based on WB3S, but as it turns out, this model here has one small advantage: it uses all three transistors, and not just one, like the strip described before .
    I do not recommend letting them run too high currents anyway, but with longer LED strips it can be really important.
    Plus, it's a classic. A very simple bar that has been supported by OpenBeken for a long time. Standard connectors too. And the point is that there is a button - I have already encountered products of this type without buttons at all, controlled only by WiFi.
    The bar could, for example, be enriched with an IR receiver taken for free from an old RTV device (and then properly configured in OpenBeken through scripts) and then controlled by a remote control, but I will show it in another topic.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11949 posts with rating 9991, helped 572 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 20344202
    ditomek
    Level 22  
    Rhetorical question:
    Where does energy saving in modern installations start if the number of devices permanently connected to electricity is constantly increasing?
  • #3 20345956
    p.kaczmarek2
    Moderator Smart Home
    Unfortunately, IoT fun has its cost, it's a fact. This is one of the reasons why I have not replaced all my switches with "smart" ones so far, only those that the family considered to have the potential to use the RF remote control, which actually caught on. In general, RF remotes are the most popular for me, WiFi goes to the background. Although when leaving the house, turning everything off with the phone is convenient.

    But since it's rhetorical, I'll ask how it is - once a regular 60W light bulb was lit in the kitchen, and additionally heated up mercilessly ... now we have LED lighting, which is much more economical and heats up less, the equivalent of the old 60W bulbs are how much, 10W? So on the kitchen itself, we "gain" 50W ... so it's not that bad, is it? The electricity consumption overhead for using a "smart" device is about 0.3W without the relay turned on, a bit more with it turned on ... it's not that much, although you have to remember that it's running 24 hours a day.
    Helpful post? Buy me a coffee.
ADVERTISEMENT