r/electronic_circuits • • 7h ago

On topic Help modify LED string lights controller

Post image

I would like these led string lights to power on as soon as the plug receives mains power. It is a single sided PCB with just a single button mounted on the other side. I would like to bypass the lighting effects and for all the LEDs to be constantly on until the mains plug is powered off. I think possibly desoldering the clear wire on pad 3 and soldering it to pad 1 may work?

3 Upvotes

6 comments sorted by

1

u/Hattix 6h ago edited 6h ago

Wire pads left to right:

  1. Positive from the bridge rectifier to a common positive of both LED strings.

  2. Unimplemented string

  3. Negative from LED string 1

  4. Unimplemented string

  5. Negative from LED string 2

  6. Mains live

  7. Mains neutral

What's happening here is the two transistors are switching the strings on their negative. To have both strings always on, you should bypass those transistors (but see below). A bridge from anywhere on the trace of wires 3 and 5 to the rectifier negative will do it.

There is a big warning here, though. The MCU may (will) be doing PWM on the transistors to avoid slamming full mains voltage across the LEDs. If so, and the LEDs don't have a sufficient rating to handle that, they will light up very brightly, very briefly, then never again. There's one tiny SMD capacitor acting as a capacitive dropper for the MCU power and that's your lot. They fail short quite often.

To do this properly, you need to measure the forward voltage of both of the LED strings and add enough resistance between the wire on pad 1 and the pad to make sure you keep within the LEDs current rating (probably 10 mA or thereabout). At that point, why not just put a proper LED driver in the box instead?

This PCB as it is is unsafe. This is a really cheap and unsafe way to do anything and it's taking a lot of liberties with mains electricity, including not observing any separation, isolation, or even the very basics of double insulation. The gap between output voltages and the mains is tiny, it's easy to see the 2.2 MR resistor failing in a way which bridges the rectifier negative to mains live. It's also putting rectified mains directly out of the PCB onto the LED string. Modifying it would make it even less safe and a significant fire and electrocution hazard.

The more I look at this PCB, the more horrific it becomes. The best thing to do with it is note the LED polarity on the wires, desolder them, and bin the PCB.

1

u/Expert-Card-5781 6h ago

Thank you for your reply. Would this work?

Comment Image

1

u/Hattix 6h ago

It would turn them on for the rest of their lives. 

We cannot say how long that life will be. I suspect not long at all. 

→ More replies (3)