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.
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.
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.
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.
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.
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.