1

This question already has an answer here:

I'm developing a project (Data logger) that requires that the Arduino remains on for several weeks.

Is it okay to leave it on for about 6 weeks? Do I need to frequently reset it?

marked as duplicate by The Guy with The Hat, jfpoilpret, Anonymous Penguin Sep 7 '14 at 12:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Should be just fine. Just like you can keep your PC on for 6 weeks (webservers are on 24/7). If your code is correct it shouldn't need any resets (watchdog timers will enable you to detect if the code is hanging). – Gerben Sep 5 '14 at 19:56
1

This question has a very broad answer. As it depends upon your implementation of both hardware and software.

In very short -

That all depends on your code. The hardware should be able to be left on indefinitely, assuming it is all within spec's. Assuming that, then the biggest concern is the code running on it. Where largest problem of concern is running out of resources. Such as memory. If your code as a memory leak then it will be a problem. Or if there is a bug in the code that can cause it to get stuck. The later can be addressed by employing the WatchDog, which will reset (loose all data) if the code gets unexpectedly stuck.

Not the answer you're looking for? Browse other questions tagged or ask your own question.