logo elektroda
logo elektroda
X
logo elektroda

Which RGB ribbon controller for Home Assistant? EC79901 WiFi module firmware change

p.kaczmarek2 147 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Which RGB ribbon controller for Home Assistant? EC79901 WiFi module firmware change .
    Here's another LED lighting controller offering control via WiFi. This time I'm also changing its firmware at the request of a reader - I'm reprogramming the WiFi module so that this controller can be connected to Home Assistant and controlled locally without the cloud.

    The controller shown here is commercially available under the name EC79901 and is designed for RGB tapes, but after changing the firmware, it can also control three separate single-colour tapes or CW tape (shades of white). It's all up to us.

    So let's start with the kit's markings and contents. The manufacturer promises 12-24V DC operation at up to 15A.
    EC79901 LED controller with open case showing PCB, CB3S WiFi module, and XL1509 3.3V converter. EC79901 LED controller with CB3S WiFi module installed, internal view showing electronics and XL1509 3.3V converter. .
    A double-sided adhesive strip for mounting the controller is included.
    EC79901 LED controller with exposed electronics, showing the CB3S WiFi module and mounting elements. Close-up of LED controller EC79901 board with visible CB3S WiFi module, XL1509 converter, and electronic components on PCB. .
    The manual is in Polish and English:
    LED lighting controller circuit board with visible CB3S WiFi module and electronic components. EC79901 LED controller with open case, showing internal electronics, CB3S WiFi module, and XL1509 converter. .
    Pairing with Tuya I skip. Time to change the batch.

    The case is snap-on, it's easy to look inside.
    LED controller EC79901 with exposed PCB and WiFi module CB3S after opening the housing. LED controller EC79901 with open case, showing internal components including CB3S WiFi module. .
    The first thing that caught my eye was that through-hole resistor - could it be some quick fixes at the factory?
    LED controller EC79901 opened, showing electronic components and CB3S WiFi module on the PCB. .
    The construction of the controller is fairly typical. Inside we have a step-down inverter converting these 12V inputs to 3.3V for the WiFi module. I can also see a microphone nearby.
    EC79901 LED controller with open case showing PCB, WiFi module CB3S, and electronic components. Which RGB ribbon controller for Home Assistant? EC79901 WiFi module firmware change .
    The inverter used here is the XL1509 3.3 - as the name suggests, 3.3V:
    Which RGB ribbon controller for Home Assistant? EC79901 WiFi module firmware change .
    The WiFi module itself is CB3S - you can upload a Polish OpenBeken .
    LED controller EC79901 with visible PCB and integrated CB3S WiFi module. .
    PCB designation: AP-M01-3CH-RF-V2 20210925 This RF stands for radio communication, which is not implemented here - the PCB lacks radio components.
    The transistors remain:
    EC79901 LED controller with its case opened, showing electronic components including the CB3S WiFi module and XL1509 converter. .
    CMD3090L, controlled directly from the GPIO:
    EC79901 LED controller with open case showing internal electronics and CB3S WiFi module. .
    EC79901 LED controller with open case showing electronic components and CB3S WiFi module. .
    These are indeed better transistors than what I usually find in such products. The drain current is also large and the resistance in the open state is small.

    Now it's time to change the firmware .
    According to our flasher's instructions, all you need is a USB to UART converter:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    I took the 3.3V from the LDO on my board, although you could just as well feed from the input from the LED strip.
    EC79901 LED controller with open case, showing CB3S WiFi module, through-hole resistor, and XL1509 converter. LED controller EC79901 with CB3S WiFi module, interior view with visible electronic components. .
    Flasher has correctly detected the configurations:
    EC79901 LED controller with open case, visible electronic components and WiFi CB3S module. .
    Verbal description:
    
    Device configuration, as extracted from Tuya: 
    - Microphone (TODO) on P23
    - LED Blue (Channel 3) on P26
    - LED Green (Channel 2) on P24
    - PWM Frequency 1000
    - LED Red (Channel 1) on P8
    Device seems to be using CBU module, which is using BK7231N.
    And the Tuya section starts, as usual, at 2023424
    
    .
    It is also interesting to note that according to the JSON from Tuya, this module identifies itself as a CBU:
    Code: JSON
    Log in, to see the code
    .
    OBK template:
    Code: JSON
    Log in, to see the code
    .
    From now on, you can control the device locally and connect it to the Home Assistant:





    In summary , this was another easily reprogrammable device from China. This time, however, I don't think the rework is complete, as the pushbutton is still missing - fortunately it can be soldered to any free GPIO and OpenBeken will take care of the rest. The pull up resistor is programmable on the CB3S, so just a microswitch between ground and the selected pin is enough and you can already control the device physically too, without WiFi.
    Something similar was shown here: https://www.youtube.com/watch?v=KU0tDwtjfjw
    That's it for today, but which LED strip controllers do you guys use? Would you choose to use a controller as the manufacturer gave it here, i.e. without a button on the housing, fully controlled only by WiFi?

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 12314 posts with rating 10200, helped 583 times. Been with us since 2014 year.
  • ADVERTISEMENT
📢 Listen (AI):
ADVERTISEMENT