Hello
I would like to make a microcontroller circuit that switches a relay to switch a 220V load on/off.
I want to add opto-isolator because previously I tried to do exactly the same with a 220V solenoid
and my Arduino received some nasty feedback and just restarted the program every now and then.
I have yet to solve it.
I just need a bit of help with the opto-isolation part of the design.
Connecting the relay ground and the ground to the PIC makes the opto- isolation useless in my opinion.
Do I need two separate power supplies or can someone help in adjusting the circuit correctly?
The second power supply would obviously go to the output side of the optocoupler and the grounds not connected.
Thus 2 separate VCC's and 2x GND.
I would like to make a microcontroller circuit that switches a relay to switch a 220V load on/off.
I want to add opto-isolator because previously I tried to do exactly the same with a 220V solenoid
and my Arduino received some nasty feedback and just restarted the program every now and then.
I have yet to solve it.
I just need a bit of help with the opto-isolation part of the design.
Connecting the relay ground and the ground to the PIC makes the opto- isolation useless in my opinion.
Do I need two separate power supplies or can someone help in adjusting the circuit correctly?
The second power supply would obviously go to the output side of the optocoupler and the grounds not connected.
Thus 2 separate VCC's and 2x GND.
Attachments
-
29 KB Views: 46