r/electronic_circuits • • 3d 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?

10 Upvotes

9 comments sorted by

3

u/Hattix 3d ago edited 3d 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.

3

u/Expert-Card-5781 3d ago

Thank you for your reply. Would this work?

2

u/Hattix 3d 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. 

1

u/Expert-Card-5781 3d ago

Would bridging those transistors;

Make this PCB more unsafe than it already is?

Reduce life of this PCB?

When you say you suspect it won't last long, is that because of the crappy PCB design or being jumping the transistors will decrease its life?

1

u/Hattix 3d ago

Please reread my first comment for the first question.

The second, no, the PCB would probably be fine.

The third, you'd likely be overloading the LEDs.

1

u/Thymernol 3d ago

this us probably true, as a large quantity of series leds on the strip would be required such that there forward voltages sum to about 170V (120v rms = aprox 170v peak)

asumeing they have a forward voltage of about 3v, that would be almost 57 leds

1

u/Expert-Card-5781 3d ago

There are over 100 LEDs

1

u/ci139 3d ago

i have rectified constantly on led string that is constantly plugged to AC wall outlet for an ambient night light - for about a year + more as occasional use before - it has significantly dimmed of what it was just after purchase = the LED's have an half life = the time it takes for the complex semiconductor junction and phosphors to degrade for the led to loose it's brightness by a factor of 50% - the time may be a half a year usually longer if LED-s are operated at recommended power levels (well below their factory specified upper limit) . . . . . . . . . all this is mostly happening due thermal load on LED junctions = if your LED-s are PWM-d and(also)/or blinking the LED-s have some time to cool down resulting at the way lower avg. junction temperature - hence the question ? why did you buy LED gizmo you don't like ? = waste it as it's trash anyway & buy a constant on light chain . . . . other options

hold your breath and you may be able to work out a cheap unknown brand for LED-s they use at your thing . . . then hold your breath once more and hope you find a tech. spec.-s or d/s for that LED type

then convert this into or buy a suitable supply with pwm option . . . and hold your breath 3-rd time . . . on - that your pwm setting is still sufficient for your LED-s not to reach/pass their half-life point too early

1

u/Rumlino 2d ago

you may try this, if you want to keep the pcb as is. additional jumper wire from bridge rectifier is just to allow more current if that seems not required, you can omit that too.

if not just place a bridge rectifier between mains and the string lights, which will be same as shorting the line on pcb. its just that there won't be need for pcb.