Hi, I'm new to Arduino and I have a pretty simple question.
After I download my code onto my Arduino, can I diconnect the computer and will it still run? Every time I disconnect my computer while my Arduino is running, it immediately stops. How can I solve this problem?
So far I've only been running my Arduino while it was connected to the computer, so the power has been coming from the computer. And no, I don't use serial code.
sach:
After I download my code onto my Arduino, can I diconnect the computer and will it still run? Every time I disconnect my computer while my Arduino is running, it immediately stops. How can I solve this problem?
You have to provide electric power to the Arduino board.
Two possibilities are:
Use a 5V USB charger and connect using an USB cable to the Arduino board.
Use a 7.5V to 9V DC power adapter and connect with external power jack.