Dear sir / Madam,
I am Driving MCPS2317 (GPIO expander ,SPI interface ) using PIC18F45K22 and the GPIO pins of GPIO expander has been interfaced with ULN2803a which is connected with 24VDC coil Relay. Successfully interfaced with PIC microcontroller and MCP23s17 module. Every thing is working fine.
GPIOA and GPIOB are connected to two different ULN IC and it drives relays. The relays are connected to 24VDC solenoid vale, to control cylinder, and 24VDC indicators.
The problem is when switching off the solenoid valve the microcontroller goes reset means the all system goes to reset when switching off valve. And if continue again with cycle, ON and OFF valve by commanding from microcontroller , MCP23S17 module gets damaged after some cycle.
I did not used any other active or passive components in from microcontroller to GPIO expander to ULN and to RELAY Module. (Relay Module has diode, SHAVISON Make relay module, RELAY is Omron Make).
ULN directly drives relay as described in datasheet.
Solenoid valve details :-
MAKE : JANATICS
TYPE : DC36W
VOLTS : 24VDC
POWER : 2.5W
DUTY : 100%
Solenoid valve details :-
MAKE : JANATICS
MODEL : E12612W
VOLTS : 24VDC
POWER : 8W
DUTY : 100%
Why it is happening ? Did i made any wrong ? i read in data sheet can able to drive relay using ULN and it s current is 500ma for channel.
Regards,
Nikhil v v