logo elektroda
logo elektroda
X
logo elektroda

Powerdelux RGB LED Stehlampe dimmbar Eckstehleuchte Farbwechsel

User0815 1083 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 5  
    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 5  
    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 5  
    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.
  • #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 34  
    @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
  • #13 21369667
    divadiow
    Level 34  
    Do you have pics of the device inside and out?
  • ADVERTISEMENT
  • #14 21369687
    User0815
    Level 5  
    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 5  
    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.
Summary generated by the language model.
ADVERTISEMENT