Arduino pro micro problem

Hello, this is my first time using the arduino pro micro and i got this error message, i am sure its not the code because i got it off a tutorial. If anyone could help me it would be fantastic.

Specs:
Arduino pro micro 5v 16 mhz

Error code com4:
avrdude: ser_open(): can't open device "\.\COM4": The semaphore timeout period has expired.

Failed uploading: uploading error: exit status 1

Error code com5:
avrdude: ser_open(): can't open device "\.\COM5": Access is denied.

Failed uploading: uploading error: exit status 1

Have you selected the correct processor in the tools menu?
Have you selected the right serial port?

I suggest that you google a bit for arduino The semaphore timeout period has expired - Google Search. there are plenty topics but not all have a solution.

This might be a driver issue. Did you install SparkFun's AVR board package?
It might also be that bluetooth is interfering.

I dont know what proccesor i should select
and the device is not popping up in one of the ports

Can you show a photo of your Pro Micro board or give a link to where you bought it ?
Which Operating System do you use ?
Did you install a driver ? From where did you download it ?

The Pro Micro is not an official Arduino board. I use them as a "Arduino Leonardo" board. In the Arduino IDE 2, that is under the "Arduino AVR Boards".
I have a list of pins that I can use.
This will be alright, if you have the right bootloader in it. It is probably the right bootloader, but you can't be sure when you buy it from a unknown seller.

image
I use windows 11
and i did not download drivers.

It should show as a com port.
If you are in luck, then it has a good bootloader and a wrong sketch. Try pressing the reset button when trying to connect or try pressing the reset button twice.
If you have bad luck, then the bootloader is wrong. You can burn a new bootloader or send it back.

If Bluetooth isnt on there are no com ports, and there is no reset switch only a RST pin
And how do i burn a new bootloader in it?

That means that your Pro Micro is not on the com port that you selected. Did you ever manage to upload to it?

You need to connect a button between the reset pin and GND yourself (or use a piece of wire).

Once you have done that, what does windows device manager think of your board when you double tap the reset? You should aer a bootloadet entry undet ports for approx. 8 seconds.

I did not manage to upload anything to it yet

I will try to connect a switch/wire to it today, but if that works what do i do then?
I am a complete noob in this type of stuff, sorry

That picture you posted is a mirror image of the board, which to say the least is curious.

So have you got a link to where you bought it from?

What voltage are you using to power it? There is a link on the top right that is open or closed (with a solder blob) to select the correct voltage.

This is the pinout I have for the board:-

Note the maximum output current from each pin is 10mA with a recommendation that you don't drive it harder than 5mA, which is considerably lower than an Arduino, with its 40mA absolute drive and recommended valur of 20mA. So be careful what you drive from the pins.

Note that the pinout will appere in higher resolution when you click it.

Its sometimes hard to see which port an arduino is connected to. USBTreeView shows all your usb ports and connections.

Sorry for the late response I have selected the right proccesor, but there are no com ports that pop up in arduino IDE

Everyone Thans for your help, i have found the problem, it was the cable that wasnt working. I thought it was a data cable, but i was wrong when i plugged in a data cable it worked perfectly fine. Regardless Thanks so much for the help everybody.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.