1

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?

The Guy with The Hat
  • 4,962
  • 7
  • 28
  • 51
Gabriel Brito
  • 165
  • 1
  • 2
  • 10
  • 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 05 '14 at 19:56

1 Answers1

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.

mpflaga
  • 2,443
  • 11
  • 13