Hi, for some reason my arduino sometimes just hangs and doesn't loop anymore. I'm suspecting it might be the way i handle the get data from the ethernet shield.
Before i start debugging, i was thinking about sacrificing one I/O pin to automatically reset the arduino, if it doesn't loop for some time.
My basic idea was to hook up a capacitor to the reset pin and trickle charge it constantly. Every loop, i would then drain it via one of the pins.
If it doesn't loop the charge would build up and reset the arduino.
Has anyone ever done this or any ideas or tips on how to build something like this?