markdem
Member level 3
pic relay
Hi All, i am tring to turn on a fluro light for my aquarium with pic using a relay. I have got a MCP32016 driving a ULN2803 darlington array, which is then connected to the relay. I have a 1N4004 diode installed across the relay. When i was building my device, i was testing it with just a normal light bulb, but now i have connected my aquarium lights, it looks like the MCP32016 is locking up when it turns the relay on, eg as soon as the fluro arcs for the first time, the relay will turn off, and nothing else will happen untill i reset the system. The PIC still works ok, as i also have a lcd conected, and it will keep updating.
I am guessing this has somthing to do with inrush current, but the relays a 10A, and i am not too sure why it would be effecting the MCP32016 but not the PIC. Both are very close too each other on the board.
Should i have some resistors between the MCP32016 and the darlington array?
Anyone have any idea why this could be happening??
Thank you,
Mark
Hi All, i am tring to turn on a fluro light for my aquarium with pic using a relay. I have got a MCP32016 driving a ULN2803 darlington array, which is then connected to the relay. I have a 1N4004 diode installed across the relay. When i was building my device, i was testing it with just a normal light bulb, but now i have connected my aquarium lights, it looks like the MCP32016 is locking up when it turns the relay on, eg as soon as the fluro arcs for the first time, the relay will turn off, and nothing else will happen untill i reset the system. The PIC still works ok, as i also have a lcd conected, and it will keep updating.
I am guessing this has somthing to do with inrush current, but the relays a 10A, and i am not too sure why it would be effecting the MCP32016 but not the PIC. Both are very close too each other on the board.
Should i have some resistors between the MCP32016 and the darlington array?
Anyone have any idea why this could be happening??
Thank you,
Mark