Can you hook up a 120v LED strip to arduino uno

I have an LED strip that has a 120v power supply and I am wondering if i use a relay, can i cut the power supply and hook it up to my arduino?

Of course you can. A relay is just a switch and the Arduino can control that and turn the supply to the LEDs on and off as required

I hope that it goes without saying that the 120V is not connected to the Arduino in any way

1 Like

Beware that 120V can give you a serious shock - if you need to ask the question, it would be safer to stick to low-voltage stuff.

Thats what I thought because the relay can handle up to 250vac so I should be able to. I am still new to all this so I am wondering exactly how to do it. I have the relay and understand the basics but how would YOU do it

Also do you think there is a way to use a rp2040 and control it through the cloud?

I imagine something like this would work

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.