I've been running a Uno for years in a dedicated location (garage door open detection). In the last few days it has failed repeatedly. I swapped over the processor board (the Uno) with no effect. Then I tested the power pack which supplies 9 V to the power-in jack. With AC coupling the input looks like this:
Those spikes look a bit of a worry? Or not? That's about 360 mV every 285 µs. Does that look normal? Or not?
I've plugged it into a USB charger plug-pack-thing instead - using the USB input. That's probably better than giving it 9 V and having it turn 4 V into heat day in and day out. So far it's been OK, but it has taken a few hours to fail in the past few days.
A common problem is el cheapo switch mode power supplies is dodgy electrolytic capacitors which go hi ESR over time, and stop acting like capacitors.
That voltage spike in the waveform is a sign of a hi esr capacitor.
Sometimes you can physically spot them as they start to bulge.
Dont skimp and get cheep power supplies, especially not mains ones, I've seen some
dangerously unsafe units emanating from China with 4mm clearance between 240V and
low voltage side (some idiot routed a trace under the opto-isolator reducing the clearance
from 12mm...)
MarkT:
Don’t skimp and get cheep power supplies, especially not mains ones, I've seen some dangerously unsafe units emanating from China with 4mm clearance between 240V and low voltage side (some idiot routed a trace under the opto-isolator reducing the clearance from 12mm...)
I would be equally concerned about what sort of insulation is in the transformer that you cannot see.
Actually I think that is the second such power pack that has basically disintegrated. It's a bit of a worry because if you pulled it out of a live power point, and the case just crumbled, then your fingers could touch 240 V mains.
[quote author=Nick Gammon link=msg=2329344 date=1437777431]
Actually I think that is the second such power pack that has basically disintegrated. It's a bit of a worry because if you pulled it out of a live power point, and the case just crumbled, then your fingers could touch 240 V mains.
[/quote]Seriously, please report it to your supplier, stressing that it is a serious safety issue. I can't be certain just from the picture but this sort of plastic moulding usually consists of ABS with a talc + carbon filler. The filler improves the strength but if too much is used (to save cost) it becomes brittle.