Works fine powered from USB works bad powered externally

I think that we need a schematic of the project showing all components, their part numbers and/or values and all power supplies.

What are the specifications of the external power supply (output voltage, maximum current capability)?