Go Down

Topic: pin 13 blinking on reset (Read 684 times) previous topic - next topic

bob800

Hello,

Every time I reset my Arduino, the little yellow LED next to pin 13 flashes a few times... it's not that I mind the blinking, but pin 13 is directly connected to a shield I built and the initial pulsing is messing up my circuit. Is there a way to stop this? I can post my code if needed, but I don't think it's the problem (this happens regardless of the uploaded sketch).

Thanks!

James C4S

It's a function of the bootloader.  You would need to modify the bootloader to stop the behavior.
Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

The LeD on pin 13 flashes 3 times to indicate successful loading of the bootloader.

robtillaart

An option might be to program the Arduino through ICSP - and have no bootloader.
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Nick Gammon

You could tweak the fuses to stop it using the bootloader. That would require an external programmer (eg. another Uno). Then it instantly goes into your sketch. The relevant fuse is the BOOTRST fuse.

And of course, you could no longer use the bootloader to upload your improvements. It could be a viable option if you are sure you don't need to change it for a while.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up