I recently was trying to do a few things with a Pi3, and it consistently hung when I tried to update the system (sudo apt-get update/upgrade). It did everything else well enough, so I wonder if that's power related, with the upgrade making the WiFi work extra hard - maybe not, but I thought I'd look into it.
I've also noticed that my older Pi1 will hang once in a while (every few months), and that's a bit of an issue now that I'm using it as my sprinkler controller - reliability has become much more important.
While searching for help online, I noticed Robert Peter Oakes did some research and made a nice blog entry explaining the role the USB cables have in the power issues. (Thanks Peter!)
In a nutshell, some cables cause a voltage drop that puts the supply too far below the ideal 5v voltage level for the Pi.
The problem is that once in a while the Pi draws enough power to make the voltage dip into the danger zone.
(Some places sell adapters with a higher voltage to compensate. AdaFruit, for example sells a 5.25v adapter for the RPi, and notes that 5.25v is still within the specifications for USB, so even with a perfect no-loss USB cable that should be safe.)
One notable item, to me, was that the Pi has some serious power dips on a regular basis, regardless of the cables - just that the better supplies+cables start with higher levels at the Pi and the dips don't take it down too far.
So here's my thought - capacitors are supposed to help against dips and spikes, right?
Is there a way to add some really big capacitor at the Pi side to help avoid such dips (and maybe spikes too) ?
I'm thinking VIN-GND with a 1,000+ uF cap? I have one rated 1,000 at 10v, also I see 1,800 at 16v, both should handle 5v-ish well.
Otherwise, maybe splice a USB cable to add the large cap near the micro-USB plug end?
Will that cause trouble? Will it help at all?
Thanks!
-Nico