lloydi12345
Member
Hi, I have a project which controls a pressure valve. I'm using PIC18F4620 to control it. The problem is that everytime I activate the relay through an optoisolator the microcontroller restarts.
View attachment 65410
The opto isolator just acts like a transistor since I haven't found any transistor here yet. I'm controlling the relay with 31Vdc, a rectified voltage from 24Vac. Everything uses the same power source. The relay used was MY4N from OMRON.
Everything works fine when the solenoid is not connected to the relay so I guess it's with the solenoid.
By any means do you think I could clean out EMF produced by solenoid?
Regards,
lloyd
View attachment 65410
The opto isolator just acts like a transistor since I haven't found any transistor here yet. I'm controlling the relay with 31Vdc, a rectified voltage from 24Vac. Everything uses the same power source. The relay used was MY4N from OMRON.
Everything works fine when the solenoid is not connected to the relay so I guess it's with the solenoid.
By any means do you think I could clean out EMF produced by solenoid?
Regards,
lloyd