0
\$\begingroup\$

I wanted to make a smart switch with a dimmer using an arduino and a solid state relay. I was wondering if this would be possible and if their would be any problems if I tried to do so. Also, the switch would be controlling 6 light bulbs.

\$\endgroup\$
1
\$\begingroup\$

You need a random, not zero-crossing, switching SSR and you will need to get the zero crossings into your Arduino through something like an optoisolator, so you can time the delays to triggering on each half-cycle.

The latter would look something like this:

schematic

simulate this circuit – Schematic created using CircuitLab

Everything to the left of the optoisolator on the above schematic and the output terminals of the SSR are at mains potential, and proper precautions must be taken for safety. Best to have someone local have a look at it to make sure it's safe before applying mains power- you could hurt yourself or permanently damage your computer or other property.

\$\endgroup\$
0
\$\begingroup\$

Yes. You need to look for a SSR without zero crossing switching; ie one you can trigger at any point during the AC cycle.

\$\endgroup\$
2
  • \$\begingroup\$ thanks! is it more common for a ssr to have zero crossing or not? \$\endgroup\$ Mar 31 '19 at 4:48
  • 1
    \$\begingroup\$ I think they are equally common, but have not looked recently. Spehro makes a good point about a zero cross detector, but I would use one that has two LEDs back to back in it; I have seen low current SSRs that have both these elements in them \$\endgroup\$
    – EinarA
    Mar 31 '19 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.