Hi all. I have been wondering, would it be somehow a good idea or best practice to somehow reset my Arduino every time i move it from one project to another one? Point being, that for one project the Arduino might be outputting stuff on various pins, and this might lead to all sorts of trouble when electronic components of a new project are connected, and the Arduino starts running the old program?
Would it be a good habit to run
before connecting new components? Or am i being too careful?
No it's a good idea, especially if you have a herd of arduino boards that you tend to grap one and try out something quick and dirty. If the arduino has some prior sketch in it that uses I/O pins then bad things can happen if you wire it up to new external circuitry and just power up before loading a new proper sketch into it.
What I do rather then when finished with a project is to just load the blink sketch so that the next time I power up the board I will know that it is using only pin 13 and most likely is running the example blink sketch.