Hi,
Below is my journey to free up the Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light from the Tuya cloud.
Part 1 - Preparation
AliExpress device link: Link
Some pictures of the device:
Below are some pictures of the actual device. Both the white LEDs and the RGB ones are very bright (a bit hard to tell from the pictures but they are).
Opening the device is very easy - a few screws and then the lid can come off.
After taking the cover off (be careful not break the wires when taking off the cover) this is what we find inside:
- White LEDs:
- RGB LEDs:
Below is a picture with an overview of the circuit board:
Also some closeup pictures of the components on the circuit board:
The Tuya CB3S module - there are no markings on the CB3S Module at all. In the second picture you can notice that I have gently pushed the capacitor (assume it is a capacitor
) a little bit out of the way to expose the CB3S module connections.
Since the Tuya module has been identified as a Tuya CB3S module the device will need to be flashed with BK7231N
Below are some pictures from a test module that I had which further strengthen the case that it is a Tuya CB3S module:
I have added the light to Tuya Smart Life. Below are some screenshots of what options the device has in the Tuya app:
Through Tuya IoT I was able to get the DP IDs for the light (but I am not sure if Tuya MCU is actually used on this device):
These are the "tools" that I will use to flash OBK to this device:
1. UART 3.3V and 5V (selectable)
2. Arduino Uno R3 - I have used a starter kit with mains power supply
Below are some pics on how I put the UART and Arduino Uno together:
Some notes for beginners like me
on the above setup:
- had to use additional power source as UART will not provide sufficient power
- I tried intially to get power from the 5V pin on UART and use a 3.3V LDO but that did not work for me. So I got the Arduino Uno R3 kit that is powered with a mains external power supply
- Ground had to be connected from the Arduino Uno to the chip and the UART
3. BL7231 Easy UART Flasher
I will be using used version 1.1.1 on a Windows PC
Stay tuned for Part 2 - the OBK flashing process.
Added after 10 [hours] 15 [minutes]:
Part 2 - Flashing OBK
As you can see in the picture below the Tuya CB3S module actually has some holes on the side.
So instead of taking the whole PCB out and solder wires I have decided to leave it in place and use the Arduino wires to push them slightly in, just enough that they stay put in the holes and don't actually come out.
In the picture below everything is connected and powered up.
Next I start BK7231 Easy UART Flasher on my Windows PC
Started to do a read/write test (and in the process I had to quickly short the CEN wire to the Ground wire). The test completed successfuly.
Next step was to select the Do firmware backup (read) only in BK7231 Easy UART Flasher. Original Tuya backup completed successfully. Backup file is attached below.
Next I have selected Do firmware write (no backup) to flash the device with OpenBK7231N_QIO_1.17.244.bin file. The flash was successful.
I have then removed all the wires from the device and put its cover back and tightened the screws. Next I have connected power to the device.
I saw its AP, connected to it and added the WIFI configuration. After the reboot the device was on my network and I could connect to it web interface
Stay tuned for Part 3 - Device Configuration.
Below is my journey to free up the Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light from the Tuya cloud.
Part 1 - Preparation
AliExpress device link: Link
Some pictures of the device:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7530222900_1694671271_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/5414346700_1694671271_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/3452417700_1694671272_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/4537874800_1694671272_thumb.jpg)
Below are some pictures of the actual device. Both the white LEDs and the RGB ones are very bright (a bit hard to tell from the pictures but they are).
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9955624800_1694671416_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8768019200_1694671416_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1868789200_1694671416_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8955254800_1694671417_thumb.jpg)
Opening the device is very easy - a few screws and then the lid can come off.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/6393737700_1694671515_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9600525400_1694671516_thumb.jpg)
After taking the cover off (be careful not break the wires when taking off the cover) this is what we find inside:
- White LEDs:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8998185100_1694671567_thumb.jpg)
- RGB LEDs:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/2765009700_1694671595_thumb.jpg)
Below is a picture with an overview of the circuit board:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8874706200_1694671674_thumb.jpg)
Also some closeup pictures of the components on the circuit board:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/3111821400_1694671730_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1777826100_1694671730_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/3217577100_1694671730_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8026006700_1694671731_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7642681700_1694671731_thumb.jpg)
The Tuya CB3S module - there are no markings on the CB3S Module at all. In the second picture you can notice that I have gently pushed the capacitor (assume it is a capacitor

![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/4073671300_1694671777_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9477362400_1694671777_thumb.jpg)
Since the Tuya module has been identified as a Tuya CB3S module the device will need to be flashed with BK7231N
Below are some pictures from a test module that I had which further strengthen the case that it is a Tuya CB3S module:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8310085100_1694672001_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/4020699600_1694672001_thumb.jpg)
I have added the light to Tuya Smart Life. Below are some screenshots of what options the device has in the Tuya app:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/2926447300_1694672115_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/5532993000_1694672115_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/3339146200_1694672115_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7203572900_1694672116_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9668955100_1694672116_thumb.jpg)
Through Tuya IoT I was able to get the DP IDs for the light (but I am not sure if Tuya MCU is actually used on this device):
{
"result": {
"properties": [
{
"code": "switch_led",
"custom_name": "",
"dp_id": 20,
"time": 1694525805773,
"value": true
},
{
"code": "work_mode",
"custom_name": "",
"dp_id": 21,
"time": 1694524999630,
"value": "white"
},
{
"code": "bright_value",
"custom_name": "",
"dp_id": 22,
"time": 1694524999630,
"value": 1000
},
{
"code": "temp_value",
"custom_name": "",
"dp_id": 23,
"time": 1694524999630,
"value": 1000
},
{
"code": "colour_data",
"custom_name": "",
"dp_id": 24,
"time": 1694524999630,
"value": "000003e803e8"
},
{
"code": "scene_data",
"custom_name": "",
"dp_id": 25,
"time": 1694524999630,
"value": "000e0d0000000000000000c803e8"
},
{
"code": "countdown",
"custom_name": "",
"dp_id": 26,
"time": 1694524999630,
"value": 0
},
{
"code": "music_data",
"custom_name": "",
"dp_id": 27,
"time": 1694524996077,
"value": ""
},
{
"code": "control_data",
"custom_name": "",
"dp_id": 28,
"time": 1694524996077,
"value": ""
},
{
"code": "mix_rgbcw",
"custom_name": "",
"dp_id": 51,
"time": 1694525805471,
"value": "AAUAAAPoA+gD6AOE"
}
]
},
"success": true,
"t": 1694526329122,
"tid": "a2946995517211eeb3f09e6a0abc163a"
}
These are the "tools" that I will use to flash OBK to this device:
1. UART 3.3V and 5V (selectable)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/6828676100_1694672548_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7594088800_1694672547_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7943617500_1694672548_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/5344616200_1694672550_thumb.jpg)
2. Arduino Uno R3 - I have used a starter kit with mains power supply
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1489404700_1694672738_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1797371300_1694672738_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/7998261900_1694672738_thumb.jpg)
Below are some pics on how I put the UART and Arduino Uno together:
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1649611500_1694672782_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/2216619900_1694672783_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8016835400_1694672783_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/3888380100_1694672783_thumb.jpg)
Some notes for beginners like me

- had to use additional power source as UART will not provide sufficient power
- I tried intially to get power from the 5V pin on UART and use a 3.3V LDO but that did not work for me. So I got the Arduino Uno R3 kit that is powered with a mains external power supply
- Ground had to be connected from the Arduino Uno to the chip and the UART
3. BL7231 Easy UART Flasher
I will be using used version 1.1.1 on a Windows PC
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9489156900_1694673011_thumb.jpg)
Stay tuned for Part 2 - the OBK flashing process.
Added after 10 [hours] 15 [minutes]:
Part 2 - Flashing OBK
As you can see in the picture below the Tuya CB3S module actually has some holes on the side.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/4840454200_1694709150_thumb.jpg)
So instead of taking the whole PCB out and solder wires I have decided to leave it in place and use the Arduino wires to push them slightly in, just enough that they stay put in the holes and don't actually come out.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9031105200_1694709287_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8987227900_1694709287_thumb.jpg)
In the picture below everything is connected and powered up.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/6797370300_1694709340_thumb.jpg)
Next I start BK7231 Easy UART Flasher on my Windows PC
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9581428700_1694709451_thumb.jpg)
Started to do a read/write test (and in the process I had to quickly short the CEN wire to the Ground wire). The test completed successfuly.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1585386200_1694709523_thumb.jpg)
Next step was to select the Do firmware backup (read) only in BK7231 Easy UART Flasher. Original Tuya backup completed successfully. Backup file is attached below.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/6969102900_1694709664_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/9795896300_1694709664_thumb.jpg)
Next I have selected Do firmware write (no backup) to flash the device with OpenBK7231N_QIO_1.17.244.bin file. The flash was successful.
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/4181794700_1694709942_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/1952658500_1694709943_thumb.jpg)
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/5931027800_1694709943_thumb.jpg)
I have then removed all the wires from the device and put its cover back and tightened the screws. Next I have connected power to the device.
I saw its AP, connected to it and added the WIFI configuration. After the reboot the device was on my network and I could connect to it web interface
![[BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light [BK7231N] Teardown of Zemismart TUYA WiFi Ceiling Lamp 34W with CCT RGB Colorful Back Light](https://obrazki.elektroda.pl/8385091500_1694710082_thumb.jpg)
Stay tuned for Part 3 - Device Configuration.