logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel

User0815 1506 17
ADVERTISEMENT
  • ADVERTISEMENT
  • #2 20564295
    p.kaczmarek2
    Moderator Smart Home
    Hello,
    removing the metal shielding with hot air would be very, very helpful. Do you have equipment and skills to do it?

    Otherwise you can power the device with 12V and use multimeter to check which pads are ground and which are 3.3V. That can help, please mark GND and 3.3V on the photo.

    It reminds me LM1 but has a bit too much pins on right and left side:
    Spoiler:

    LM1 electronic module with metal screen and pin diagram.

    but the 4 pin header locations seems similar...
    Helpful post? Buy me a coffee.
  • #3 20564907
    User0815
    Level 6  
    Hallo p.kaczmarek2

    Danke für ihre Nachricht, leider habe ich keine Heißluftlötstation. Nehme die Lampe nochmal auseinander. Was ich aber schon sagen kann, dass ich bei Tuja auf der Seite kein Chipdesin gefunden habe mit 7 Pins links, 7 Pins rechts und 8 Pins unten. Was ich auch schon sagen kann, 3,3 Volt liegen rechts unterer Pin. Und Masse liegt links unterster Pin, also seitenverkehrt als üblich. Was die 4 Anschlüsse (Stiftleiste) unter den Chip angeht, könnten die eventuell für mich interessant sein?
    Gruß und Danke
  • #4 20567291
    p.kaczmarek2
    Moderator Smart Home
    User0815 wrote:
    Was ich auch schon sagen kann , 3,3 volt liegen rechts unterer Pin. Und Masse liegt links unterster Pin, also Seitenverkehrt als üblich.

    Hm, please mark it on the photo if you can.

    User0815 wrote:
    Was die 4 Anschlüsse (Stiftleiste) unter den Chip angeht , könnten die eventuell für mich interessant sein?

    Yes, they may be:
    - RX (for flashing)
    - TX (for flashing)
    - GPIO0 (to enter bootloader/flashing mode)

    You would need to take USB to UART converter in 3.3V mode, and try every of this pins, connecting it to RX of USB to UART.
    That way you can maybe find TX pin, which would be used for log transmit.

    Then you will have to find RX and GPIO0 somehow, but I have no idea how to do it without removing the metal case. You would need to guess...

    Remember, in order to flash ESP8266, you need to first connect GPIO0 to ground, then connect power (so it boots with GPIO0 on low state), and then use esptool.py, connecting to ESP via RX and TX (UART).

    It is very possible that this module is ESP, but you need to either guess or check pinout to know where is GPIO0, where is RX and TX.
    Helpful post? Buy me a coffee.
  • #5 20567451
    User0815
    Level 6  
    Hallo p.kaczmarek2

    Danke für Ihre Nachricht.
    Ich habe mir eine Heißluftlötstation bestellt, wird in Laufe der nächsten Woche bei mir eintreffen.
    Dann nehme ich den Chip mal runter und wenn ich es schaffe, nehme ich auch die Verkleidung runter.
    Solange muss ich mich leider gedulden.
    Ich glaube nicht, dass es ein ESP-Chip ist, sondern nach einigem Suchen fand ich einen ähnlichen Fall und da war ein BK7231T verbaut.

    Hier ist der Link, was ich gefunden habe.

    github.com/arendst/Tasmota/discussions/14506

    Der sieht bis auf die Beschriftung genauso aus wie meiner.

    Gruß
  • ADVERTISEMENT
  • #6 20567479
    p.kaczmarek2
    Moderator Smart Home
    Wait, so it's LM35 module? I know that one!
    Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel
    Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel
    Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel
    Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel
    Here is pinout:
    Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel

    You can easily flash it with OpenBeken with this tool:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Here is our teardowns list:
    https://openbekeniot.github.io/webapp/devicesList.html
    Here is our tutorials channel:
    https://www.youtube.com/@elektrodacom

    but first double check if your module is the same as mine. To be sure.. take care.
    Helpful post? Buy me a coffee.
  • #7 20574048
    User0815
    Level 6  
    Hallo

    Ich habe den Chip runtergenommen es ist ein LMA35 Chip AUG. 19-20, habe GND VCC U1TX U1RX GND1 verbunden und es lässt sich trotzdem nicht flashen, was kann ich noch versuchen? Als Anmerkung eine 3,3V Zuleitung separat von 5V runter auf 3,3V fertige Platine. TX ist am RX am Flasher und RX ist an TX Flasher. Flasher ist ein USB TO TTL FT232RL, leider komme ich nicht weiter. Muss ich jetzt wirklich die Abschirmung runter nehmen? Den Link den ich vorher geschickt habe ist der selbe Chip, danke für Hilfe.

    Gruß

    Close-up of an electronic module featuring a BEKEN BK7231 integrated circuit. Close-up of an LMA35 chip with AUG. 19-20 marking. Printed circuit board with LMA35 chip and connected wires Close-up of an electronic module with a prominently visible LMA35 chip.
  • #8 20574093
    p.kaczmarek2
    Moderator Smart Home
    Sorry, I am not sure if I understand. Do you have desoldered module?

    This tool should work for flashing:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Be sure to follow the instruction of BK7231GUIFlashTool. If you get any errors, please post a screenshot.

    You can try:
    1. maybe swap RX with TX to be sure? Maybe.
    2. Make sure you are doing power off/on cycle by disconnecting power from chip while tool is waiting for "Getting bus"
    3. There's also one small trick that may help: if you can't get it to reboot into flashing normally, try first starting flash procedure, then disconnecting 3.3V cable from BK7231, then, temporary, connect the VDD of BK7231 to ground, and then connect back VDD of BK7231 to 3.3V. This worked for me several times, it was most likely required because BK7231 was still somehow getting power through UART lines (because it has input protection diodes between GPIO and VDD)
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 21364990
    danielberglund1977
    Level 2  
    >>20567479
    Hi,
    Sorry to cut in this thread. But I think I have the same switch as this. It is a 1-channel dimmer, if I'm correct. My chip/module is marked with LMA35. I have successfully flashed this one with OpenBeken and chip BK7231T. But I have trouble with configuring it. I was unsuccessful in reading the OBK before the flash. I think it was read protected.
    Do you have any more information about this dimmer or how I would go on with the config? Any help is highly appreciated!

    /Daniel
  • ADVERTISEMENT
  • #11 21365048
    danielberglund1977
    Level 2  
    >>21364999
    Yes, there is no problem connecting to it and getting into the web app and setting it up for my network.
    I guess it uses tuyaMcu. I'm not sure how to set up the pins
  • #12 21369631
    divadiow
    Level 38  
    @danielberglund1977 thanks for the firmware backup. I attach a copy that's been used with test network. The storage area in there does not contain pin assignments for extraction. Here's some bits that may or may not help, but it adds to the picture.

    uart boot log

    Code: Text
    Log in, to see the code


    storage:

    Code: JSON
    Log in, to see the code
    Attachments:
    • TESTAP_readResult_BK7231T_QIO__Malmbergs_9919037_LMA35_2024-27-12-18-38-25.bin (2 MB) You must be logged in to download this attachment.
  • #13 21369667
    divadiow
    Level 38  
    Do you have pics of the device inside and out?
  • #14 21369687
    User0815
    Level 6  
    Hallo,
    ja so geht es mir auch, seit ich das Thema letztes Jahr erstellt habe.
    Ich finde die Pins für die Stehlampe leider auch nicht.
  • #15 21369813
    danielberglund1977
    Level 2  
    Hi,
    Here are some pics and some of my findings.
    Luckily I have two of these devices, so I desoldered one of them.

    First LMA35
    LMA35 electronic module with visible pins on a wooden surface.
    LMA35 electronic module with a metal casing on a wooden surface.

    Top board
    Image of an electronic circuit board with electronic components. Printed circuit board with integrated circuit, markings, and pins. Desoldered LMA35 circuit board held by a clamp.

    Bottom board
    Close-up of a printed circuit board of an electronic device with visible components. PCB with various components and connectors.

    My Findings
    Pins on LMA35 that are in use are: VCC, GND, PWM0, U1_TX
    U1_RX goes to the unpopulated area (I guess this is for RF), and is not in use.

    The IC on the underside of this card, I found to be 8S003F3P6 and is some kind of processor.

    TX pin on LMA35 is connected to 8S003F3P6 pin RX (on the underside)
    PWM0 is connected to 8S003F3P6 on pin 8 (VDD) and through the pin header to bottom board. There it is connected via some resistor and a transistor to the switch input.

    PWM1 seems to be used when there are two dimmers.

    I did some trace on the pin header that goes between the two boards (from the top):
    Pin1=GND
    Pin2=VDD(on IC on the underside)
    Pin3=PC3 (on the unpopulated spot underside)
    Pin4=PC3 (on 8S003F3P6)
    Pin5=Q1(transistor marked P1 on the underside)
    Pin6=PWM0
    Pin7=PWM1
    I only traced I did on the bottom board is PWM0 to the switch

    My conclusion is that it somehow seems to only use TX to send data. And use PWM0 as an input. The device knows if it is on or off, so some data must be sent back to the LMA35. This is well above my knowledge, and I have no idea how this could work.
    I have flashed LMA35 as a bk7231T and tried the web app to do some testing with no result. I also flashed with esphome and tried some TuyaMcu code but no result, so now I am back to openbeken again.

    I'm all out of ideas and appreciate any possible info.

    /Daniel
  • #16 21369904
    p.kaczmarek2
    Moderator Smart Home
    I know this device. I recognize it now.
    I've reverse engineered it already.
    Full writeup here: WXDM2 dual dimmer - reverse engineering - strange UART protocol
    Helpful post? Buy me a coffee.
  • #17 21370569
    User0815
    Level 6  
    Hallo,
    ich habe zwar OpenBeken drauf, aber ich bekomme es nicht mit den Pins angesprochen.
    Ich habe auch eure Beiträge gelesen und probiert, aber es geht da mit auch nicht
    Pin6=PWM0 Pin7=PWM1 anzusprechen.

    Ich wünsche allen einen guten Rutsch ins neue Jahr.
  • #18 21371375
    danielberglund1977
    Level 2  
    Thank you!
    I note that one has another IC hope it still works. I will try it out!

    Daniel

Topic summary

✨ The discussion revolves around the flashing process of the Powerdelux RGB LED Stehlampe, specifically focusing on identifying the chip and pin configuration for successful programming. Users share insights on the LMA35 chip, with some suggesting it may be a BK7231T based on similar cases. Techniques for accessing the chip include removing metal shielding and using a multimeter to identify ground and voltage pins. Various users report challenges in flashing the device, with recommendations to use a USB to UART converter and specific pin connections for RX, TX, and GPIO0. Some users have successfully flashed their devices with OpenBeken, while others seek assistance with configuration and pin assignments.

FAQ

TL;DR: Trying to flash or configure the Powerdelux RGB LED Stehlampe? The 4‑pin header is key, and "the 4 pin header locations seems similar..." Use UART and OpenBeken to access the LMA35/BK7231T module. [Elektroda, p.kaczmarek2, post #20564295]

Why it matters: This FAQ helps owners identify pins, flash firmware, and configure OpenBeken on LMA35/BK7231T dimmer hardware without guesswork.

Quick Facts

What chip is inside this lamp—ESP or BK7231T?

It’s a Tuya design based on bk7231t. The boot log explicitly shows “bk7231t” along with Tuya IOT SDK v2.3.0 and product metadata, confirming the SoC identity and Tuya stack. [Elektroda, divadiow, post #21369631]

What is the LMA35 module in this device?

Community units labeled LMA35 have been successfully flashed as BK7231T and brought up with OpenBeken. If your board says LMA35, treat it as a BK7231T module for flashing and configuration. [Elektroda, danielberglund1977, post #21364990]

Is this device Tuya‑based?

Yes. The boot log shows Tuya BLE/Wi‑Fi stack init, a Tuya product key, and Tuya cloud endpoints, confirming a Tuya ecosystem device. [Elektroda, divadiow, post #21369631]

Do I need to remove the RF shield to find the pins?

Removing the metal shielding with hot air makes identification straightforward. If you can’t, power the board and use a multimeter to locate GND and 3.3V rails, then trace the 4‑pin header. [Elektroda, p.kaczmarek2, post #20564295]

How do I flash the LMA35/BK7231T with OpenBeken? (3 steps)

  1. Connect 3.3V, GND, and UART (USB‑to‑UART in 3.3V mode). Swap RX/TX if needed.
  2. Start BK7231GUIFlashTool and begin flashing. When it waits at “Getting bus,” power‑cycle 3.3V.
  3. If still stuck, briefly connect VDD to GND to discharge, then re‑apply 3.3V and retry. [Elektroda, p.kaczmarek2, post #20574093]

Flashing fails with FT232RL even with VCC, GND, U1TX, U1RX connected—what now?

Confirm 3.3V mode, swap RX/TX, and isolate from any 5V rail. Power‑cycle when the tool says “Getting bus.” If the chip back‑feeds via UART, use the VDD‑to‑GND discharge trick, then retry the flash. [Elektroda, p.kaczmarek2, post #20574093]

Which header pins control dimming on this board?

On the inter‑board header: Pin6 = PWM0 and Pin7 = PWM1. PWM0 routes via a resistor and transistor to the switch input. PWM1 is present for a second dimmer channel on dual variants. [Elektroda, danielberglund1977, post #21369813]

Is U1_RX actually used on this lamp?

Tracing shows U1_RX goes to an unpopulated RF area and is unused; U1_TX from the module connects to the secondary MCU. This suggests one‑way UART signaling from Wi‑Fi to MCU here. [Elektroda, danielberglund1977, post #21369813]

Does this use standard TuyaMCU, or something custom?

It uses a custom, non‑standard UART protocol between the BK7231T module and a local MCU. See the reverse‑engineering write‑up for the WXDM2‑style dimmer behavior and framing. [Elektroda, p.kaczmarek2, post #21369904]

OpenBeken AP shows up, but mapping PWM0/PWM1 doesn’t control the load—why?

Because the dimmer logic sits in the secondary MCU, it expects a specific UART protocol. Direct PWM mapping alone won’t control output on this board without the expected serial commands. [Elektroda, danielberglund1977, post #21369813]

Can I read back the original OBK or firmware before flashing?

Some units appear read‑protected. One user could not read back the OpenBeken storage prior to flashing, indicating protection on the original image. [Elektroda, danielberglund1977, post #21364990]

What Tuya datapoints are present in stock firmware?

Observed DP IDs are 1 (switch), 2 and 3 (values, 10–1000), 6 (timer, 0–86400), and 14 (enum: off/on/memory). That’s five datapoints in total. [Elektroda, divadiow, post #21369631]

Which tools help most for this project?

Use BK7231GUIFlashTool and a 3.3V USB‑to‑UART adapter for flashing. “You can easily flash it with OpenBeken with this tool,” as noted by an expert. Their device list and videos help too. [Elektroda, p.kaczmarek2, post #20567479]

Pads look mirrored—how do I identify 3.3V and GND safely?

Verify with a multimeter. One user found 3.3V on the lower‑right pad and GND on the lower‑left, opposite of their usual expectation. Always confirm before wiring. [Elektroda, User0815, post #20564907]

What known aliases or references match this dimmer design?

It matches a community‑documented dimmer often referred to alongside the WXDM2 dual dimmer reverse‑engineering notes, which describes a “strange UART protocol.” [Elektroda, p.kaczmarek2, post #21369904]
ADVERTISEMENT