Hi all,
I have a project and am using an Arduino (Atmega328P). Everything is flawless except for 1 thing. I have a relay connected to pin 13 and when I switch on the Arduino, for just a few milli seconds this relay is turned on.
I programmed THE VERY FIRST LINE to take pin 13 to LOW but apparently this is not enough. Do you have other options? I was thinking of actually making a 555 timer simply to delay by 1 second but this is obviously not the correct solution. I think a 350 - 500mS delay is more then enough for the Arduino to power on and execute the first line of code.
Attached is the circuit I am talking about.
Also as you can see I have a connector for a key switch and at the moment I am using it to switch on the relay manually after just 1 second but again this is not the correct solution.
D13 in the Diagram is connected directly to the micro controller.
Thanks all
X
I have a project and am using an Arduino (Atmega328P). Everything is flawless except for 1 thing. I have a relay connected to pin 13 and when I switch on the Arduino, for just a few milli seconds this relay is turned on.
I programmed THE VERY FIRST LINE to take pin 13 to LOW but apparently this is not enough. Do you have other options? I was thinking of actually making a 555 timer simply to delay by 1 second but this is obviously not the correct solution. I think a 350 - 500mS delay is more then enough for the Arduino to power on and execute the first line of code.
Attached is the circuit I am talking about.
Also as you can see I have a connector for a key switch and at the moment I am using it to switch on the relay manually after just 1 second but again this is not the correct solution.
D13 in the Diagram is connected directly to the micro controller.
Thanks all
X
Attachments
Last edited: