Let's Make Robots!

arduino error when uploading a sketch

i just got my arduino today and when trying to upload the simple led blink code off the arduino site and an error came up saying "serial port 'com4' is allready in use , try quiting any programs that may be using it.

can anyone tell me how i can deal with this???

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I would start by checking to see if com 4 is even the correct one. 

Go to:  Start--> right-click "computer" and click "manage" --> Device manager --> com ports

Here you can see all your ports and what is plugged into them. Start by finding your arduino and noting the com port number.

If it turns out it is indeed #4, then as folks have said above, unplug/replug and restart some or all of what you got.

I've always fixed this problem by removing the USB, shutting down the IDE, plugging it back in, and opening the IDE again.

I've gotten this error before when I started to upload the sketch, remembered it was on the wrong COM port and stupidly changed the COM port whilst it was uploading. However doing the above fixed this issue.

have you had another device in the port just before the ardiuno, leave in the cable ,restart the computer, see if that helps