The problem I'm encountering involves powering the Arduino without it being connected to the computer. The sketch runs smoothly when the USB is plugged into the computer, but once I disconnect the USB and power the Arduino with an AC adapter, it doesn't seem to execute the sketch. The AC adapter provides power, as indicated by the ON LED being lit. (The adapter has an output of 9 volts and 700mA)
I've attempted a blink test, and it also encounters the same issue. It seems like the code isn't saving on the Arduino. Any solutions?
When you've loaded the blink sketch, and it works with USB power, and then doesn't work when supplied with external power, what happens if you disconnect external power and plug the USB back in? Does the LED start blinking again?
No problem with that code. If the code successfully uploads, then it is stored in the Arduino.
Some other problem is preventing it from running on external power. Please post a close up, focused photo of your setup, showing how external power is connected.
Then whew, the sketch is being saved. There just seems to be something preventing it from running from external power. Which, if the power LED is on... is still very odd.
Yeah sorry I was just lazy and didn't take the wires out for the picture, the wires are for the main project. The blink sketch still doesn't work without the wires in.