logo elektroda
logo elektroda
X
logo elektroda

[CB3S/BK7231N] Appio 9620 roller blinds/curtains controller - firmware change and GPIO export from T

p.kaczmarek2 1584 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Appio 9620 curtain controller touch plate with packaging
    Today we are changing the firmware of the Appio 9620 curtain controller; OpenBeken I`m uploading it here not for myself, but at the reader`s request, I don`t even have motorized curtains yet, but maybe someday... we`ll also check whether automatic GPIO configuration/detection can handle the roller shutter controller.

    Purchase Appio 9620
    The product was purchased in our country from a distributor, it is much faster, we often get it in our hands literally within 2 days:
    Offer of shutter switches on an online store page.
    The product is not that expensive, the price is similar to ordinary triple switches, it is only PLN 80. Specification:
    Table with parameters of the Lumenix switch.
    Appio 9620 curtain control panel with leaflet and packaging.
    Description of calibration in Tuya, but this does not apply to us because we will change the load:
    Installation and calibration instructions for a Tuya curtain switch.
    Actual packaging including leaflet and kit contents:
    Box of Appio 9620 touch controller on wooden background Appio 9620 touch switch packaging on a wooden table Installation instruction leaflet for curtain controller on a wooden surface. Installation guide for Appio 9620 shutter controller on a wooden background
    Appio 9620 controller panel on a wooden surface with four touch buttons.


    Appio 9620 interior
    You just need to pry the front:
    View of Appio 9620 WiFi Wall Light Switch with a yellow screwdriver beside it. Open Appio 9620 shutter controller showing PCB and buttons.
    You can already see that it is inside CB3S . It`s also interesting that we have a buzzer here, but no RF system... maybe we can use it somehow?
    CB3S module on a circuit board Interior of Appio 9620 curtain controller showing CB3S module. Close-up of CB3S module on the circuit board of Appio 9620 controller Close-up of a PCB with a CB3S module. Close-up of a PCB with a CB3S module. Close-up of a PCB with CB3S module.
    Out of curiosity, let`s take a look at the board with the power supply and relays:
    Circuit board inside Appio 9620 curtain controller Appio 9620 curtain controller housing with visible interior.
    To remove the PCB, you need to unscrew the screws from the PCB and the screws from fastening the cables:
    Interior of the Appio 9620 curtain controller with visible electronic components. Interior of the Appio 9620 controller showing electronic components.
    We have two JY32FNH-SH-DC5V-A relays for 10A each and a simple flyback power supply:
    Close-up of the Appio 9620 controller circuit board Interior of Appio 9620 curtain controller with relays and capacitor. Interior of the Appio 9620 curtain controller showing electronic components. Close-up of the interior of the Appio 9620 controller with visible relays and a capacitor. Interior of the Appio 9620 curtain controller showing electronic components, including JY32FNH-SH-DC5V-A relays. Interior of the Appio 9620 controller showing a PCB with relays and capacitors.
    The power supply is based on DP1801:
    DP1801B specification sheet.
    Below is an example application:
    Typical application circuit of DP1801 chip
    A classic layout in IoT devices. I see it everywhere, almost as often as the non-isolated buck converter, which is almost as popular in other "smart" products.

    Appio 9620 firmware change
    According to the flasher instructions:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    If you have any questions, you can also visit our YT channel:
    https://www.youtube.com/@elektrodacom
    We solder RX, TX, GND and 3.3V:
    Experimental connection with Appio 9620 controller.
    After a power cycle, the flasher detects configurations:
    Screenshot showing Tuya device configuration in JSON format.
    JSON Tuya detected by flasher:
    Code: JSON
    Log in, to see the code

    OBK configuration generated by the importer: https://openbekeniot.github.io/webapp/templateImporter.html
    Code: JSON
    Log in, to see the code

    Verbal description:
    
    Device seems to be using CB3S module, which is BK7231N chip.
    - Relay (channel 1) on P6
    - Relay (channel 3) on P8
    - WiFi LED on P14
    - Button (channel 1) on P24
    - Button (channel 2) on P7
    - Button (channel 3) on P26
    

    Unfortunately, I don`t have roller blinds myself, so I`ll have to refer them to another thread for the final configuration. Please refer to: Teardown of a Smart Life Curtain (Shutter) switch, Flashing, Configuring and setting up with HA

    Summary
    Firmware upgrade was fully successful a our flasher correctly decoded the Tuya configuration and showed us what GPIOs the relays, buttons and LEDs are on. I did not perform any further configuration and installation of the curtains, so the topic is not closed yet, but at most this will be done by the target recipient of the device and perhaps then we will also report on the forum as a separate topic.
    This does not change the fact that I am satisfied with the flashing itself. In the times of Tuya, for only ESP8266 GPIO, I had to guess manually...

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 11967 posts with rating 9997, helped 572 times. Been with us since 2014 year.
  • ADVERTISEMENT
ADVERTISEMENT