
Andy Roid
USA
Asked
— Edited
There has been much confusion on how to add a relay to an Ezb. There are three style relays, relay only, relay with a built in transistor circuit, and a relay with an opto-couple circuit. I have the relay with an opto-couple circuit. (817C) ?
This relay requires a 10 K resistor placed in series with the digital output. It is programmed by using a digital output, and "Set Digital". The issue is when the signal sent is "On" the relay is turned off. When the signal is sent "Off" the relay turns on.
This operation needs to be accounted for in your design so relay do not come on during a start up.
No LOL .....It is a learning question. I was curious about the circuit. I now know what a NPN transistor circuit (also a PNP circuit) is and how to use it. Also how the optical isolator works. Next time I order relays I will know what I need and what to look for, "not just a relay on a board". I ordered a converter like you mentioned and will experiment with that. (Was cheap). Thanks,
Thanks to all that helped with this and @MazeHorizonTech 's thread on relays also. I think it is a lot clearer now on what relay boards to buy and how to make them work.
Ron