External supply at 5v pin

I think that the diode throught the regulator is a good solution. Thanks CrossRoads.
I put a 1N4001 from 5Vpin to 12Vpin.