Control rice lights at mains voltage with arduino

I want to control LED rice lights (series config) with arduino using PWM function. I know that low voltage DC it's possible but can we do it with serial string lights at 220VAC?

I searched in the internet and they say one can use a relay or a triac but these can only switch them on and off instead of using analog PWM fading function.

Is it possible to fading of breathing program for mains voltage rice lights?

Edit: I have a full bridge rectifier in series before the mains plug

  • Suggest you forget 220V dimming and get one of those low voltage light strings.
1 Like

Look at SSR for AC 220.

1 Like

I think SSR cannot do PWM dimming

That's what I think so. But there are arduino mains voltage bulbs dimming in youtube.

Why?

1 Like

You can use a TRIAC to dim but it does not use PWM.

Interference between the PWM frequency and mains frequency might need some extra handling.

In a modell railroad club we used a variable transformer to lower the spotlights to simulate darkness and night. It was "a bit bigger" than Arduino devices....

It came with the product. I guess to make it DC maybe. Most of the LED rice lights comes with that bridge rectifier.

Edit: Photo

AC 220v fading video

This look okay. The author says " zero cross detection circuit and trigger circuits for triac to achieve this effect."

There are some dimmer boards I seen on Amazon and Alibaba but I have never used one.

Fair enough. I understand that it's not worth for the effort and I'll use alternative options. Thanks everyone for the advice.

I think I'll make my own rice lights with parallel connection so that it's easier to control with DC.

I think they have a chinese module for this with SCR.

Chaser Video

It seems they have an arduino module for this PWM with example code

PWM AC Light Dimmer Module

Try it.

Are "rice lights" incandescent ?

Depends if they are brown or white rice.

I want to, but it's not available in my country.

LOC or white?