logo elektroda
logo elektroda
X
logo elektroda

Title: [BK7231T] AP Future CCT LED Controller: Flashing & ESPHome Integration Guide

krzakx 1128 1
ADVERTISEMENT
  • #1 20385299
    krzakx
    Level 11  
    Hi!
    I am appreciate to contribute.

    Bought here https://www.aliexpress.com/item/4000080534824.html
    Was looking for 2 channel CCT LED for my DIY pendant dinner room to be integrated in HomeAssistance through ESPHome (as my favourite one) however, inside found Beken chip.

    Title: [BK7231T] AP Future CCT LED Controller: Flashing & ESPHome Integration Guide

    How should I solder in order to Flash by USB-UART?
    btw. actullay why I can't use ESPHome binaries? I mean from one hand is kind of copy ESP8266 but no? what are diffrent, where I can find comparison article?
  • ADVERTISEMENT
  • #2 20385916
    p.kaczmarek2
    Moderator Smart Home
    It's a totally different microcontroller architecture. Please solder GND, TXD1, RXD1, then use our tool:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    to read backup and flash.
    The procedure is simple:
    - start read backup and flash in tool
    - disconnect and reconnect power from the strip
    - wait for flashing to finish
    Here is a silk for WB3S bot:
    Title: [BK7231T] AP Future CCT LED Controller: Flashing & ESPHome Integration Guide
    Pin No.SymbolI/O typeFunction
    1CENILow-level reset, high-level active (internally pulled high) Docking IC-CEN
    2ADC3AIADC pin, which is connected to the P23 pin on the internal IC
    3ENInputEnabling pin, which is internally pulled up and compatible with other module design
    4P14I/OCommon GPIO, which is connected to the P14 pin on the internal IC
    5PWM5I/OGPIOP_26, which is connected to the P26 pin on the internal IC
    6PWM4I/OGPIOP_24, common GPIO, which is connected to the P24 pin on the internal IC
    7PWM0I/OGPIOP_6, which is connected to the P6 pin on the internal IC
    8VCCPPower supply pin (3.3 V)
    9GNDPPower supply reference ground pin
    10PWM1I/OGPIOP_7, which is connected to the P7 pin on the internal IC
    11TXD2I/OUART2_TXD, which is used to display the internal information of the module and connected to the P0 on the internal IC. Unavailable to customers.
    12RXD2I/OUART2_RXD, which is used to display the internal information of the module and connected to the P1 on the internal IC. Unavailable to customers.
    13PWM3I/OGPIOP_9, common GPIO, which is connected to the P9 pin on the internal IC
    14PWM2I/OGPIOP_8, which is connected to the P8 pin on the internal IC
    15RXD1I/OUART1_RXD, which is used as a user-side serial interface pin and is connected to the P10 pin on the internal IC
    16TXD1I/OUART1_TXD, which is used as a user-side serial interface pin and is connected to the P11 pin on the internal IC

    Check which PWM pins are used for which colour channels and provide information in the first post.

    Please attach some screenshots from the offer to the first post, because link will most likely expire soon.
    Helpful post? Buy me a coffee.
ADVERTISEMENT