Program works only with USB and not direct connection

Yes, i've checked it, when i program the BLINK code in it and run using an external source it works, but not the program which i wanted to run. And again yes, when i connect two servos and one Ultrasonic sensor it gets disconnected every second from the system,still the bot moves, but when i use it using Adapter, it slightly turns and doesn't move at all.
My project is a Robot Insect.
Very similar to this project:
Imgur