I have a fairly large sketch that I'm trying to run on the Yun. When connected to my machine via USB, I can upload the sketch, the bootloader resets and everything runs as expected.
When I try to run the Yun on an independent power source using the Micro-usb source, the script doesn't run.
However, I am able to upload the Basic Blink sketch and this is retained.
The feedback I get from the Arduino software when trying to upload the problematic sketch doesn't suggest there has been any problems.
Sketch uses 19,740 bytes (68%) of program storage space. Maximum is 28,672 bytes. Global variables use 845 bytes (33%) of dynamic memory, leaving 1,715 bytes for local variables. Maximum is 2,560 bytes.
The problematic sketch uses a 3rd party library for the DHT22 sensor, HttpClient and Bridge.
Any help would be most welcome, whilst I still have hair left on my head!