prerna123
Newbie level 6
Hi,
I am using PIC16F877A to drive a solenoid valve it switches it on/off as programmed for specified duration. when i simulated on proteus and on PCB with LED connected instead of LOAD, it worked fine. The on/off cycle continues as desired. But when i connect 12VDc solenoid valve , the PIC resets. could you please help me solve this problem? I have diodes across the relay but it does not help.
I am using PIC16F877A to drive a solenoid valve it switches it on/off as programmed for specified duration. when i simulated on proteus and on PCB with LED connected instead of LOAD, it worked fine. The on/off cycle continues as desired. But when i connect 12VDc solenoid valve , the PIC resets. could you please help me solve this problem? I have diodes across the relay but it does not help.