12v Relay and arduino.

I want to control a smake machine with my arduino. I got a relay (PCLH-202D1S). It is 12VDC coil voltage and its maximum operating voltage is 250VAC/125VDC. If I am correct the voltage running though th smoke machine remote is 50VDC so I should have enough. Thel relay is DPDT, whatever that means. It has 8 pins. I dont know how to wire it. I have a transistor that should work with it (TIP3055). I want to know how to wire it, I cant find anything on this on the internet.

My ultimate goal is to make the smoke machine turn on when a laser shot at a photo resistor is broken. I want to use it on Halloween. That part I can do.
Any help well be greatly appreciated. Thanks!

The Playground is your friend: info on controlling relays is here.

The datasheet for your relay is supposed to be here (I didn't actually check, but Mouser's links are seldom broken).

Ran

dpdt= double pole, double throw

double pole = there are two switches that the relay controls

double throw = there is a common connection that get connected either to one contact when the relay is off (normally closed or NC) or the other contact when the relay is energised (normally open or NO)

I recommend using opto-isolator instead of transistor, at least if you are not exactly sure of the wiring. That way you will have smaller risk of driving 12V to Arduino pins. It also prevents the voltage peak that the coil generates when you switch off the relay from frying Arduino.

You may still want to use some transient supression method, e.g., a diode over the relay coil.

I recommend using opto-isolator instead of transistor,

Well just for the record I would not recommend this, there is no real need. You can just as easily screw up the wiring of an opto isolator as screw up the wiring of a transistor.

Have a look at this for relays:-
http://www.thebox.myzen.co.uk/Workshop/Motors_1.html

Okay, now what wires go where? I am confused, it doesn't say like what goes where.

it doesn't say like what goes where.

If it's my page yes it does. Those are schematics they describe where every wire goes for you to recreate the circuit.

What it does not do is to have a physical picture of one particular type of realising the schematic. We all have to grow up some time. :wink:

the relay has like 8 pins. That link doesn't say what goes where. :wink:

google on the name +pinout

you should find something

8 ins is quite normal for a dpdt

are there a A2 and A1 on the relay ?
these are from the coil... + and - doesn't really matter for most of them, but to be sure test with a multimeter.

NC = normaly closed
NC = normaly open
P = P (:smiley: sorry I'm dutch so don't know the name for it in english)

Remember Normally closed or open when in rest (no power on the coil)

maybe this helps...

greetz SaSaa

P = P (Cheesy sorry I'm dutch so don't know the name for it in english)

In English this would be a C for 'common'.

you learn something every day :wink: