Hello,
I have uploaded a code to Arduino Uno r3 and it works while it is plugged into my laptop, but when I unplug it and power it using my external power source, the code doesn't work as if it wasn't saved.
Please help me.
Hello,
I have uploaded a code to Arduino Uno r3 and it works while it is plugged into my laptop, but when I unplug it and power it using my external power source, the code doesn't work as if it wasn't saved.
Please help me.
It sounds like your Arduino Uno is not properly saving the code to its memory when it's being powered by the external power source. Here are some steps you can try to troubleshoot the issue:
If none of these steps work, you may need to replace the Arduino board or seek further assistance from the manufacturer or a technical support forum.
Does it work again immediately you plug it back into USB ?
yes it does
it does
How exactly do you connect it to your external power source and what voltage does it supply ?
I have mounted a microcontroller(L293D) and connected 4x1.5V batteries to +M and GND. The microcontroller and Arduino turn on (their LEDs) when I turn on the external power source.
The L293D is a motor controller, not a microcontroller. Presumably the +M connection is on the L293D board but where does it connect to on the Arduino ?
My bad, you are correct. I am still very new to this and I'm doing robotics for the first time for a school project. Yes, the +M connection is on the L293D board but I don't know where it connects on the Arduino because I have mounted the male pins under the motor controller on the digital pins and power pins.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.