When I leave my Arduino connected to my RPi (Raspberry Pi) it will hang after a couple hours. I've had data going in and out, and then I tried it with not data going in and out at all (Empty sketch). Simply having it connected to the USB will cause the RPi to hang after some time. It never hangs instantly but takes hours.
There is a wifi adapter connected as well to the other USB. I've turned off the LogD to save SD card writes I may have to turn it back on but curious if anyone has run into this.
I have confirmed without the arduino connected the RPi can run for days with the wifi adapter.
I've tried to power the ardunio from the 5V pins of the RPi directly as well so It not sucking current from the USB, with the same issue. The Rpis and arduino will use I2C but I have the USB connected for debug reasons and it is annoying it is unstable.
The only thin I haven't tried yet is external power (not from the RPi). Is this a power issue? No servos are connected, no drains from the arduino at all. I find it odd if it is a power issue it would take so long to hang.
It is an arduino Nano and RPi model B if that matters.
Thanks for any information!