Connecting a solid state relay

Hello!

I just purchased an SSR which I'll be using to control an outlet (240v), however I'm not sure how to connect the relay up to my Arduino Mega, or if I even have the correct relay?

This is the relay I purchased.
http://www.ebay.co.uk/itm/271040872607?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT

Help is appreciated :slight_smile:

Found a schematic at the sainsmart site.
You have to bring over +5 because each IN has a transistor that turns on the SSR and the associated pilot LED.

This will test your "electricianing" skills.

IMG_1776.jpg

Ah, so IN1 and IN2 to digital out pins, GND to arduino GND, and VCC to 5v+?

Ja, das ist es!

That's only for on/off - not the thing for dimming (if you were leading up to that.)

So, go get an extension cord and some wire nuts, and so on.