Atmega 328 standalone

CrossRoads:
Why not make it foolproof? Put in a MAX1811 & LiPO battery, have them connect to a USB port for charging.

Your way sounds less expensive tho. Diode wouldn't hurt.

Cheap is good.