- #1
thedash
- 20
- 0
Hi everyone! So I'm working on a little home project and could use some advice. I'm making a little thing where I have a microcontroller that sets a pin high at certain intervals. When that pin goes hi, I would like it to turn on the plugged-in lighting unit, and when the pin goes low, I would like it to turn off the plugged-in lighting unit. The plugged-in lighting unit will just be a regular desk lamp made to connect to a 120V regular AC outlet.
So my question I guess is: how do I do the switching for the lamp? A relay? Are there relays that can use like a 3.3V hi pin from a microcontroller to turn on and off, and are still robust enough to pass 120VAC from a wall outlet? If not, is 12V more reasonable/are there relays that can handle that (I'm thinking maybe outdoor 12V lighting instead)?
In case your wondering, I'm making stage lighting stuff for my band. Thanks!
So my question I guess is: how do I do the switching for the lamp? A relay? Are there relays that can use like a 3.3V hi pin from a microcontroller to turn on and off, and are still robust enough to pass 120VAC from a wall outlet? If not, is 12V more reasonable/are there relays that can handle that (I'm thinking maybe outdoor 12V lighting instead)?
In case your wondering, I'm making stage lighting stuff for my band. Thanks!