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!
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.