If you keep getting the error below (or a similar one) when trying to upload your sketch, read this article.
Try the troubleshooting steps below in order. If it still fails, contact us and describe what you tried (which steps).
Show verbose output of the Arduino IDE
In File > Preferences do you have the “Show verbose output during: upload” checked?
That might show more details and you can send that output to us.
Troubleshooting steps related to connection issues
After each step, check if you can upload.
- Reconnect the Arduino, connect it to a different USB port. Select the new COM-port from the Tools menu.
- If there is no value for the COM… port or none of them work, you might have to install the driver.
- Disconnect the Arduino, reboot your computer, reconnect Arduino.
- Do the lights (LED’s) on the Arduino work? There should be at least one LED turned on if the Arduino receives power via USB. If not, double-check your wiring. If there is still no light on, replace the Arduino or try step 7.
- Double-check the settings in the Tools menu: for regular Arduino, set Bootloader to
"ATmega328P (Old Bootloader)", for BLE-Nano, set it to just
"ATmega328P". Check the other settings too!
- Try an empty sketch: Save your current sketch, then restart the Arduino IDE (close all windows, then open the app with a single sketch). Create an empty sketch (File > New). Save that sketch and then try to upload the empty sketch.
- Try another Arduino: connect an Arduino directly to your computer with an USB cable, so without mounting it on a breadboard or connecting any wires or components to it. If you do not have another Arduino, remove it from the breadboard and then connect. Make sure the settings match this Arduino (do step 2 again).
- Update the driver of your COM-port. Disconnect your Arduino. Go to Windows Device Manager (type in start: ‘device manager’ or ‘apparaatbeheer’). Expand ‘Ports’ (Poorten) and notice the options in there. Now plug-in the USB of your Arduino, and watch which Port is added in this list. Right-click this one and choose ‘update driver’ and then select the option to automatically let Windows search for available drivers.
- The same as above, but instead of ‘update driver’, choose ‘remove device’ while your Arduino is connected. Then disconnect your Arduino and reconnect it again, this will force Windows to reinstall the drivers for this COM-Port. If your board uses a CH340 driver, check this page for (re)installing that driver.
Some related errors:
Not in sync "avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00"
May occur randomly, especially if you have multiple arduino sketches open. It means the port is busy and cannot be accessed at the moment. This is nothing too serious, though. Reconnecting the Arduino or restarting your computer often resolves the issue.
Can't open device "ser_open(): can't open device "\.\COM6" … "
This means the driver of this port has crashed or cannot be found. This is often caused by incorrectly disconnecting your Arduino. NEVER rewire your breadboard when the Arduino is connected to your PC. This can damage the Arduino, and more importantly, your computer!
Restarting your computer might help.
Other things to try
As a test, connect the other Arduino (our kits come with 2 of them), just the board itself, no need to mount it on a breadboard. Check that you select the proper Processor (Tools > Processor): the regular Nano needs “ATmega328P (old bootloader)”, the Nano BLE needs the regular one (ATmega328P).
If connecting the other Arduino (without being mounted on the breadboard) works, there are 2 possibilities: 1. you have a wiring problem (your wires cause the Arduino mounted on the breadboard to malfunction) 2. the Arduino mounted on the breadboard (that does not work) is defective.
In case of 1: double or triple check the wiring! In case of 2: replace the Arduino on the board with the working Arduino.