Help me, this circuit is not working properly as expected

Thread Starter

Erebus21

Joined Nov 27, 2024
4
Screenshot 2024-11-25 105448.png
this circuit is not working properly as expected ,signal from the arduino is given to the pstart,relay stays on all the time,can any help me diagniose?????
 
Last edited by a moderator:

BobTPH

Joined Jun 5, 2013
11,463
It may not work as you expect it to, but, if the relay is on always, it works as I would expect it to.

The Arduino can output either zero or five volts. In both cases current flows from the +12V through the LED in the opto coupler to the lower voltage.
 
Last edited:

AlbertHall

Joined Jun 4, 2014
12,619
As explained above the circuit cannot work.
You could connect P_start to gnd and disconnect R6 from the 12V supply and connect it instead to the arduino output pin.
This will reverse the operation so the relay will be on when the arduino output is high.
 

BobTPH

Joined Jun 5, 2013
11,463
As explained above the circuit cannot work.
You could connect P_start to gnd and disconnect R6 from the 12V supply and connect it instead to the arduino output pin.
This will reverse the operation so the relay will be on when the arduino output is high.
And, unlike the original circuit which defeats the purpose of the opto coupler, that gives you isolation.
 
Last edited:
Top