Designing ammeter for an external ATX power supply adapter
You could use an ACS712 Hall-effect sensor - the sensor output is electrically isolated from the circuit being measured.  Available from Sparkfun, mounted on a small PC board.