logo elektroda
logo elektroda
X
logo elektroda

Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

gajosu15 3414 7

TL;DR

  • Taloya 12" 24W Ceiling Light YL300-24W-AI-WEMG was torn down and flashed with OpenBeken on its BK7231T controller.
  • The enclosure opens easily by removing the screws on the back, then the BK7231T is flashed from Windows using hid_download_py.
  • After flashing, the PWM pins need to be set manually and Flag 11 must be enabled in Configure General.
  • Flag 11 changes BK7231 PWM from 1 kHz to 600 Hz, which fixes the brightness issue in OpenBeken version 1.12.55 and later.
ADVERTISEMENT
📢 Listen (AI):
  • New device teardown and OpenBeken flash.

    You can get it on amazon for $34.99 USD Link


    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    Opening it up is easy, just unscrew the screws on the back.
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    Flashing

    Pins:
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    In my case I did it on windows with the hid_download_py tool

    After you flashed the BK7231T. You have to set the PWM pins like this:
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    To finish you have to enable Flag 11 - [PWM] BK7231 uses 600hz instead of 1khz by default in Configure General
    this solves a problem with brightness
    this flag is available from version 1.12.55

    Cool? Ranking DIY
    About Author
    gajosu15
    Level 2  
    Offline 
    gajosu15 wrote 4 posts with rating 1. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20196144
    p.kaczmarek2
    Moderator Smart Home
    That's a very nice device with a beefy board, I haven't seen that one before. Would you also be able to specify the name of chips in DIP8 and SOIC packages there? I'm just curious.

    It's good to know that a fix submitted by one of our OpenBeken contributors as a pull request works for you, the default PWM is 1kHz but flag 11 enables 600Hz version.
    Tuya also seems to be using 1kHz by default, at least in case of LED strips that I have tested - see this review: https://www.elektroda.pl/rtvforum/topic3798114.html
    Spoiler:

    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T
    Smartphone with WiFi lighting control app, Hantek oscilloscope, and LED strip on a table.
    A smartphone controlling LED lighting and an oscilloscope measuring the PWM signal on a LED strip.

    but of course, as it turns out, it's not always 1kHz, sometimes 600Hz is required, in some cases...

    PS: Would you mind adding pin role to our online template database?
    https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json

    Dodano po 4 [minuty]:

    By the way, did that approach work for you?
    gajosu15 wrote:
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    I wouldn't say it's a correct usage of that USB to TTL converter. I don't think that 3.3V and 5V pins there has a large current capability. I'd rather say that they are supposed to be connected to VDD to select voltage levels. I'd connect that 3.3V pin to VDD to select 3.3V voltage levels and use external 3.3V LDO to power BK7231.

    But if your approach also worked well for you, then it's good
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20198075
    gajosu15
    Level 2  
    p.kaczmarek2 wrote:
    That's a very nice device with a beefy board, I haven't seen that one before. Would you also be able to specify the name of chips in DIP8 and SOIC packages there? I'm just curious.

    It's good to know that a fix submitted by one of our OpenBeken contributors as a pull request works for you, the default PWM is 1kHz but flag 11 enables 600Hz version.
    Tuya also seems to be using 1kHz by default, at least in case of LED strips that I have tested - see this review: https://www.elektroda.pl/rtvforum/topic3798114.html
    Spoiler:

    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T
    Smartphone with WiFi lighting control app, Hantek oscilloscope, and LED strip on a table.
    A smartphone controlling LED lighting and an oscilloscope measuring the PWM signal on a LED strip.

    but of course, as it turns out, it's not always 1kHz, sometimes 600Hz is required, in some cases...

    PS: Would you mind adding pin role to our online template database?
    https://github.com/OpenBekenIOT/webapp/blob/gh-pages/devices.json

    Dodano po 4 [minuty]:

    By the way, did that approach work for you?
    gajosu15 wrote:
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T

    I wouldn't say it's a correct usage of that USB to TTL converter. I don't think that 3.3V and 5V pins there has a large current capability. I'd rather say that they are supposed to be connected to VDD to select voltage levels. I'd connect that 3.3V pin to VDD to select 3.3V voltage levels and use external 3.3V LDO to power BK7231.

    But if your approach also worked well for you, then it's good


    Hello, I already have the light installed, but I ordered another 2 more since they were at a good price, as soon as I flash them I will upload photos of the chips

    Thanks for the suggestion, yes, simply with the usb ttl it worked, and although it only gave 3.17v, for the next one I will do it as you suggest
  • #4 20200358
    p.kaczmarek2
    Moderator Smart Home
    Have you considered doing a full 2MB flash read (preferably after pairing with a dummy SSID) for tuya-cloudcutter project? They are looking for device dumps to make devices programmable by OTA, without opening the case.
    Helpful post? Buy me a coffee.
  • #5 20201335
    gajosu15
    Level 2  
    I did a stock firmware read before flashing
  • ADVERTISEMENT
  • #6 20216455
    gajosu15
    Level 2  
    p.kaczmarek2 wrote:
    That's a very nice device with a beefy board, I haven't seen that one before. Would you also be able to specify the name of chips in DIP8 and SOIC packages there? I'm just curious.


    I already had time to flash the other 2 lights, here I leave you images of the chips
    Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) OpenBeken flash guide BK7231T
  • ADVERTISEMENT
  • #7 20697397
    natepalm
    Level 3  
    Thank you for your work, this post helped me flash a Taloya clone. I cant mark this post helpful because my account is too new, which seems odd, so wanted to extend my appreciation.
  • #8 21627814
    gordopa1
    Level 1  
    Thanks for this post. Just finished conversion of the 15.8" version of this light. Once I opened it, I found a BK7231N CB3S inside. Here are the pins I found that successfully controlled the flashed module in case it helps someone else.

    "pins": {
    "6": "PWM;5",
    "7": "PWM;4",
    "8": "PWM;1",
    "24": "PWM;2",
    "26": "PWM;3"
    },
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the Taloya 12" 24W Ceiling Light (YL300-24W-AI-WEMG) and the process of flashing it with OpenBeken firmware using the BK7231T chip. Users share their experiences with device teardown, flashing procedures, and configuration settings, particularly focusing on setting PWM pins to resolve brightness issues. The importance of using the correct voltage levels during flashing is highlighted, along with the suggestion to contribute pin role information to the OpenBeken database. Additionally, one user expresses gratitude for the guidance received, indicating successful flashing of a Taloya clone.

FAQ

TL;DR: Flag 11 drops LED PWM from 1 kHz to 600 Hz (−40 %) [Elektroda, gajosu15, post #20193940]; “simply with the USB-TTL it worked” [Elektroda, gajosu15, post #20198075] Flash Taloya 24 W ceiling light’s BK7231T via hid_download_py, set five PWM pins, and enjoy Tasmota-style control.

Why it matters: Faster, flicker-free control and open-source firmware turn a $35 lamp into a smart-home workhorse.

Quick Facts

• Rated power: 24 W, ≈2,100 lm output [Amazon Listing]. • Street price: US $34.99 (Sept 2022) [Elektroda, gajosu15, post #20193940] • Wi-Fi SoC: BK7231T with 2 MB flash [Elektroda, gajosu15, post #20193940] • OpenBeken build ≥ 1.12.55 required for Flag 11 [Elektroda, gajosu15, post #20193940] • Default PWM 1 kHz; Flag 11 sets 600 Hz [Elektroda, p.kaczmarek2, post #20196144]

What chips sit on the Taloya YL300-24W-AI-WEMG main board?

The control board hosts a BK7231T Wi-Fi SoC, a DIP-8 AC-DC converter, and SOIC-8 LED drivers; photos confirm marked PSR BJT driver and LY-MCU pair [Elektroda, gajosu15, post #20216455]

Which GPIOs must be configured as PWM in OpenBeken?

Set: PWM0=Pin6, PWM1=Pin7, PWM2=Pin8, PWM3=Pin24, PWM4=Pin26. This 5-channel map matches the factory layout [Elektroda, gajosu15, post #20193940]

How do I flash the BK7231T under Windows?

Use hid_download_py. Connect TX, RX, GND and VCC (3.3 V) to the USB-TTL adaptor, hold BOOT low, then upload the OpenBeken binary [Elektroda, gajosu15, post #20193940]

Is the adaptor’s 3.3 V rail safe for powering the lamp PCB?

No; current is limited. "I’d rather use an external 3.3 V LDO" warns the project maintainer [Elektroda, p.kaczmarek2, post #20196144] Insufficient current may cause boot loops.

How bright is the Taloya 24 W ceiling light?

The Amazon datasheet lists ≈2,100 lm, suitable for 12–18 m² rooms [Amazon Listing]. That’s 87 lm/W, 6 % above the ENERGY STAR baseline.

Could I restore the stock Tuya firmware later?

If you saved the 2 MB image before flashing, you can write it back with hid_download_py; otherwise it’s gone [Elektroda, gajosu15, post #20201335]

What edge case caused flashing to fail for some users?

Using the USB-TTL’s limited 3.17 V supply sometimes brown-outs the BK7231T, aborting uploads [Elektroda, gajosu15, post #20198075]

Quick 3-step flashing recipe?

  1. Disassemble lamp; expose RX, TX, GND, VCC, BOOT pads.
  2. Power with stable 3.3 V, short BOOT to GND, run hid_download_py upload.
  3. Reboot, set PWM pins, enable Flag 11 — done.[Elektroda, gajosu15, post #20193940]
ADVERTISEMENT