logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] Avatar ALS08L-B22 Smart Bulb Teardown and OpenBeken Flash Guide Template GPIO

Bruno23 

I bought a pack of these bulbs as they were listed as supported under Tasmota but the design seems to have changed to using the Beken BK7231N chip.
A hand holding a white Avatar smart LED bulb against a wooden surface.

The bulbs look pretty basic.
I used a pry tool to pop the plastic cover off

Top view of a disassembled LED bulb held in a hand, showing the LED and electronics board.

The easiest way to remove the led board is by prying next to the connector as shown in the image

A hand holds a disassembled LED bulb with the circuit board and LEDs visible inside; a prying tool is placed next to the board. Inside of a disassembled LED bulb held in hand, showing exposed electronic components.

We need to get the second board out and the easiest way to do this is to pry off the two small metal contacts on the bottom of the bulb. Other socket types probably come apart in different ways

Close-up of the bottom of an LED bulb with two metal pins, held in a hand. Bottom view of an E27 LED bulb held between fingers, showing one contact and a hole left after removing the second contact. Light bulb base with two holes and a black mark next to one, tools visible in the background.

When the two contacts are pried off the board just falls out. I put a small black mark on the side where the black wire connects.

A LED bulb control board with soldered wires and visible capacitors on a wooden surface. LED bulb controller PCB with soldered wires and visible electronic components. Close-up of an electronic module with a Beken BK7231N chip and wires soldered for programming. Close-up of a light bulb’s circuit board, showing a capacitor and a WiFi module marked BK7231N.

We can now inspect the WiFi board to figure out the pinout needed
Here is the pinout needed to flash the firmware

Close-up of a light bulb circuit board showing color-labeled pins for programming: transmit (purple), ground (blue), 3v3 (yellow), receive (orange).

And here is the board once some wires have been soldered to flash the firmware

Close-up of an LED bulb circuit board with yellow, white, and blue wires soldered to it.

I only soldered 3 wires as I used the ground pin on the LED board connector for my ground

Screenshot of a program window showing extracted Template/GPIO configuration in JSON format and a text description of the Tuya device settings.

When using Belkin gui flash tool the software should automatically pick up the configuration of the device from the firmware. I have included it in this guide.

Once flashed the bulbs are ready to be setup. I have done this on two bulbs so far.

About Author
Bruno23 wrote 2 posts with rating 4 . Been with us since 2023 year.

Comments

p.kaczmarek2 01 Aug 2023 07:51

Thank you, it's nice to see another device getting free from the cloud! Very well done, I can also see that my automatic GPIO importer worked well and detected SM2135 driver. Here's OBK template for... [Read more]

Bruno23 01 Aug 2023 11:23

Thank you! The GPIO detector worked perfectly, and the bulb worked right away when I imported the generated config. [Read more]

%}