Hello everyone,
I am trying to design a circuit that controls the state of a 12v relay using a microcontroller, the relay is operating using different source than the microcontroller, i've used an opto-coupler as an interface between input and output signal, but, the problem is that the opto-coupler is not transmitting the 12v needed for the relay to operate.
In the attachments there is a schematic of the circuit,View attachment opto.zip
Note: the optocoupler used is PC817
Thanks in advance,
z3ngew
I am trying to design a circuit that controls the state of a 12v relay using a microcontroller, the relay is operating using different source than the microcontroller, i've used an opto-coupler as an interface between input and output signal, but, the problem is that the opto-coupler is not transmitting the 12v needed for the relay to operate.
In the attachments there is a schematic of the circuit,View attachment opto.zip
Note: the optocoupler used is PC817
Thanks in advance,
z3ngew