Hello, openciruit74 here and I recently tried to upload a program to my Arduino nano. I have a Windows 10 computer and was never able to upload a program on my computer, but was able to on another one. I think the problem is that I cannot change the COM port. Here is the link to the upload code and a picture of the problem. Link- C:\Owen\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Owen\A - Pastebin.com
Which IDE worked ?
What was the OS on the other computer ?
Is it a true arduino or a clone ? (if unsure post a picture or link to where you got it or both)
Do you have any additional circuitry attached when uploading ? (if yes post a decent picture of the connections)
Do you connect directly to your comnputer with the Arduino ?
Did you search the forum for other windows 10 related issues similar to yours ?
Your pic shows simply that no com ports are listed so give everyone a fighting chance with extra detail.
The chip on the bottom of the nano is the USB to serial chip. The clone Nanos have the CH340 chip, you need to download and install the driver for this chip from http://www.wch.cn/download/CH341SER_EXE.html.
Another common cause of this issue is using a bad or power only(charging) USB cable so try a different cable if the cable you're using now works on a different computer then that's probably not the issue.
Ballscrewbob:
A little more information would be great.
Which IDE worked ?
What was the OS on the other computer ?
Is it a true arduino or a clone ? (if unsure post a picture or link to where you got it or both)
Do you have any additional circuitry attached when uploading ? (if yes post a decent picture of the connections)
Do you connect directly to your comnputer with the Arduino ?
Did you search the forum for other windows 10 related issues similar to yours ?
Your pic shows simply that no com ports are listed so give everyone a fighting chance with extra detail.
The IDE that worked before was the same one I am using now, just the windows installer. The other computer also had a Windows 10 operating system. It is a true Arduino, and there is a lot of additional circuitry attached. I have an 8.5v power supply attached to Vin and GND, A PIR sensor attached to pins D8, 5V and GND, a 5mW laser attached to D9 and GND, a small speaker attached to pins D6 and GND, and a servo attached to pins D7, 5V, and GND. I am not able to access the bottom of the nano as it is soldered to a circuit board and I do not have the tools to remove it. I have also tried 2 different cables and both of them do not work. One was a power cable and the other was a data cable.
I have looked around on Google and on the forum and have not seen posts related to this problem. All the troubleshooting page says is to access the COM port page in the "tools" tab and you can go from there.
OK no answer on which IDE which may have been useful. ?
Are you connecting DIRECTLY to each computer (NO USB HUB) ?
Win 10 on both, any particular flavour of 10 home/pro/enterprise etc ?
Are you logged in as Administrator (not a regular user account) ?
Will take your word on being a true Arduino but there are so many clones out there and we don't really care in here btw if its real or not.
Fact that it works on one computer and not another would be a first rate indicator of a computer issue and not a NANO one.
Power only cables will never work for programming.
Is by chance either of them a laptop ?
Are you by any chance using USB3 as there does seem to be a common thread regarding things (not just Arduinos) not working on USB3 ?
The other common issue seems to be Win 10 as there are lots of issues it seems with people trying to use win 10 and Arduinos. Maybe search the forum for "windows 10" (see the box right up at the top right) and you may find a few clues that may help. I only use Win 7 as win 10 is so insecure so my answers are going to be slightly limited.
If it's a real Arduino then the drivers for it(FTDI FT232RL) are in the drivers subfolder of the Arduino IDE installation folder. Note that just because a board says Arduino on it doesn't mean it's actually an official Arduino, there are lots of counterfeits but you can probably get it working either way. It's interesting that the Arduino product page says it's retired but then if you go to gravitech.us, the Arduino licensed manufacturer of the Nano, they say it's still in stock.
Try this:
Plug in the Nano
Open Device Manager
Look in the Other Devices section. If Windows didn't find a driver for the Nano then it should be shown there.
Double click it.
Update Driver... > Browse my computer for driver software > Select the drivers subfolder of the Arduino IDE installation folder > Next - Windows should find and install the driver.
After installing the driver a COM port should appear in the Arduino IDE Tools > Port menu
The IDE I am using is the Arduino 1.6.9 windows download.
I am connecting directly to each computer using a usb 3.0 port. For the computer that did not work, it is running on a Home windows 10 and the computer that did work was running on enterprise. The computer that worked was a laptop and the one that did not work was a desktop, but I also tried to upload a program on a windows 10 home laptop and it did not work. For the windows 10 home computers I am logged in as an Administrator and for the enterprise computer I was logged in as a user.
When I plugged in the NANO and opened device manager, there was no mention of an arduino device in "other devices".
Ballscrewbob:
Are you sure those items are listed under "COM" ports ?
Did you try Perts solution ?
The picture I added was what I saw when I opened device manager and plugged the Arduino in. I did try pert's solution but found no Arduino to update the drivers.
Pert's solution does not require the Arduino plugged in to update the drivers as it is a "stand alone" driver.
Install it. Re-boot, Then plug in the Arduino.
If that type of Arduino needs those drivers you will then see it come up on screen telling you it is then updating / has found something etc.
That picture wasn't in the COM PORTS section and was just a "general hardware" view.
Win 10 will allow you to be more specific at what you want to look at hardware wise.
Ballscrewbob:
Pert's solution does not require the Arduino plugged in to update the drivers as it is a "stand alone" driver.
Install it. Re-boot, Then plug in the Arduino.
If that type of Arduino needs those drivers you will then see it come up on screen telling you it is then updating / has found something etc.
That picture wasn't in the COM PORTS section and was just a "general hardware" view.
Win 10 will allow you to be more specific at what you want to look at hardware wise.
I could not find the particular driver that @pert was talking about, but I found something else that may be affecting it. After I tried many different cables, I came across one that identified it as a new device. (yay!) When I went to upload, it let me change the COM port to COM3 and it gave me an entirely new error message. Here is the link to the new error message. C:\Owen\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Owen\A - Pastebin.com I'm not sure what that means, so I hope you can help. Thanks for everything so far! I am now using a usb 2.0 port instead of the 3.
Also a lot of the "turret" sketches and programs that I have come across are pretty old and don't always compile will under the newer IDE's especially many of the object tracking ones.
Hopefully you have found a newer source.
Ballscrewbob:
Do you have VERBOSE switched on in the IDE.
Also a lot of the "turret" sketches and programs that I have come across are pretty old and don't always compile will under the newer IDE's especially many of the object tracking ones.
Hopefully you have found a newer source.
Is there any way to tell is VERBOSE is switched? also, I combined 4 programs to make my turret program including a PIR sense program, a blinking LED program, a servo program, and a sound program. I made some modifications to all of them and put them together to make a turret program. It is still under development and I need to work out the kinks for it to work properly. Would the program affect the Arduino's ability to upload?
To check if VERBOSE is on simply goto FILE, PREFERENCES, under SETTINGS you should see a line saying
"Show verbose output during" There should be two boxes in IDE 1.6.9 and to turn them off simply untick both boxes.
Just below that is another option "Compiler warnings" I have it set to NONE
I personally only use those if I am trying new boards.
There is no reason for a sketch to not upload so long as it compiles OK
You are not alone I often cut and paste code from more than one source to build a sketch.
Why re-invent the wheel LOL
Ballscrewbob:
To check if VERBOSE is on simply goto FILE, PREFERENCES, under SETTINGS you should see a line saying
"Show verbose output during" There should be two boxes in IDE 1.6.9 and to turn them off simply untick both boxes.
Just below that is another option "Compiler warnings" I have it set to NONE
I personally only use those if I am trying new boards.
There is no reason for a sketch to not upload so long as it compiles OK
You are not alone I often cut and paste code from more than one source to build a sketch.
Why re-invent the wheel LOL
Thanks for everything! Once I tried to upload it it uploaded just fine.