I have interfaced the electro-mechanical relay with the controller and also used the optoisolator. The diode is also connected across the relay. When I run the circuit with out any load, the circuit works perfectly. But when I connect the AC load ( Solenoid Valve - 230 V, 2A), I found some problems. The problems are
1. LCD displays some garbage value
2. Program restarts ( It restarts from while loop !!!! )
I have tried the decoupling capacitors on power supply section. Please suggest me to solve this problem
1. LCD displays some garbage value
2. Program restarts ( It restarts from while loop !!!! )
I have tried the decoupling capacitors on power supply section. Please suggest me to solve this problem