Hey Guys,
I'm usually more of the lurker type. So this is one of my first posts.
I've been using arduinos for a while now and I'm generally fond of using them for simpler tasks.
I'm in the middle of a project that is using a couple Uno's, a MEGA, and a Yun to manage a greenhouse remotely. Unfortunately, the power is less than reliable here and I get brownout and blackout all the time. I've made my data acquisition blackout resistant using an external time chip, but occasionally the power will come back on, but the program won't restart till I hit the reset button. My Mega has 2 shields installed on it. One is an Uno shield from seeed for ethernet (don't buy it), and the other is a custom shield to interface the MEGA with a perf board sensor array.
THe problem I'm dealing with is that the reset pins a completely covered, and I don't have any room on the perf to wire a reset button. In addition, I can't always be there.
I know that the ISP does a hard reset each time you upload new code via USB. Is there a way I can emulate that with an external stimulus from my Yun (as an example)?
As an alternate strategy, I've read that there may be something wrong with my bootloader and that is why its not automatically restarting each time. Something about a bug in the factory version.
Any tips to point my research in the right direction is appreciated. I don't know a lot about the hardware in the ISP system. If I can't figure it out, then I'll make a deadman switch with a 555 timer that will administer CPR in the even of no heartbeat signal.
Thanks for the tips - MTD