Newb here, i tried controlling a relay with an optocoupler (4n35), which I though was a basic task. But i came to a couple conclusions i don't understand.
- I bought http://www.ebay.com/itm/181262302398?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT It seems that when IN is LOW, the relay activates. SO when IN is LOW, i guess the coil energized in the relay and NC becomes open and NO becomes closed, thus indicated by the green light. Red light is always on signifying the relay is powered.
Idk if that logic is correct but it's what I ended up with
- How to wire the relay input to be controlled with the optocoupler. but still being powered with 5v. I have literally tried half a dozen circuits, tried my own and even when experimental (thus burning one of my IC's!) and I LITERALLY can't get the Arduino board to flawlessly control my relay through the 4n35.
I want this perfect so if something goes sour all my circuits have a layer of protection. (I know i can just connect the relays to Arduino pins)