Hi friends,
I am driving 5V relays using ULN2803 conncected to a microcontroller 89c51 controller. when switching on the power all the realys are getting switched on and off with in a fraction of secons, since 89c51 initializes all the ports as output ports(i.e high). To avoid this i am trying to make all the port pins as 0's (low), though i am getting the same problem as before. Could anyone suggest me how to rectify this problem by using software logic, since my PCB has been already developed.
Waiting for your suggestion,
with regards,
Chandu,
I am driving 5V relays using ULN2803 conncected to a microcontroller 89c51 controller. when switching on the power all the realys are getting switched on and off with in a fraction of secons, since 89c51 initializes all the ports as output ports(i.e high). To avoid this i am trying to make all the port pins as 0's (low), though i am getting the same problem as before. Could anyone suggest me how to rectify this problem by using software logic, since my PCB has been already developed.
Waiting for your suggestion,
with regards,
Chandu,