Am using a microcontroller to switch a relay . I have made sure the transistor gets enough bias current to switch the relay . A flywheel diode is properly connected across the relay .The microcontroller is programmed in such a way that it triggers a relay after 20 seconds of receiving an input signal . I am using an assembly language and used a " set bit " command to trigger the relay .
My problem is , after receiving the signal for 20 seconds , the relay switches and stays on only for 2 seconds . this relay is supposed to be on infinitely until the input signal is removed .
What do I do to make it stay
My problem is , after receiving the signal for 20 seconds , the relay switches and stays on only for 2 seconds . this relay is supposed to be on infinitely until the input signal is removed .
What do I do to make it stay