Arduino IDE not recognizing clone Arduino Pro Micro at all

The IDE won't recognize my clone pro micro. I have the board selected as "Arduino Micro", however there aren't any serial ports I can select that have the typical board name in parenthesis, and I just have COM1, which will just be stuck uploading for a while and then say an error occurred.

Code:

#include <Keyboard.h>
#include <Keypad.h>
const byte ROWS = 4;
const byte COLS = 3;

char keys[ROWS][COLS] = {
  {'9', '8', '7'},
  {'6', '5', '4'},
  {'3', '2', '1'},
  {'a', 'b', '0'},
};
byte rowPins[ROWS] = {2,3,4,5};
byte colPins[COLS] ={15,14,16};

Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
void setup() {
  Serial.begin(9600);
  Keyboard.begin();
}
void sendMacroCommand(uint8_t key){
  Keyboard.press(key);
}
void loop() {
  char key = keypad.getKey();
  if (key) {
    Serial.println(key);
    switch (key) {
      case '9':
      sendMacroCommand(KEY_LEFT_CTRL);
      sendMacroCommand('c');
      break;
      case '8':
      sendMacroCommand(KEY_LEFT_CTRL);
      sendMacroCommand('v');
      break;
      case '7':
      
      break;
      case '6':
      Keyboard.press(KEY_LEFT_GUI);
      Keyboard.press('r');
      delay(150);
      Keyboard.releaseAll();
      Keyboard.print("C:\\Users\\Clark\\Desktop\\Games");
      Keyboard.press(KEY_RETURN);
      break;
      case '5':
      Keyboard.press(KEY_LEFT_GUI);
      Keyboard.press('r');
      delay(150);
      Keyboard.releaseAll();
      Keyboard.print("C:\\Users\\Clark\\Desktop\\Create");
      Keyboard.press(KEY_RETURN);
      break;
      case '0':
      break;
      case '3':
      
      break;
      case '2':
      
      break;
      case '1':
      
      break;
      case '4':
      Keyboard.press(KEY_LEFT_CTRL);
      Keyboard.press(KEY_LEFT_SHIFT);
      Keyboard.press(KEY_LEFT_ALT);
      Keyboard.press('c');
      break;
    }
    delay(100);
    Keyboard.releaseAll();
  }
}

Thanks for any help you can give.

Make sure the USB cable is completely plugged into both the Arduino board and the PC.

You may have a damaged/defective or charge-only USB cable. Try a different cable.

Either of the above can result in the power connections being made (and thus LED lights on the board), but no data connections (and thus no port for the board).

COM1 is usually the computer's built-in serial port, not the Arduino board. You can check this by unplugging the Arduino board from the computer and then opening the Arduino IDE's Tools > Port menu (make sure to first close the menu if you already have it open because the IDE only refreshes the menu after you open it). If the port still shows up even without the Arduino board connected to the computer, then you know for sure that is not the port of your Arduino board.

Tried different cables, still the same outcome.
Unplugged the arduino and everything and I can confirm COM1 isn't the arduino board.

Does anyone know of a fix? It seems like my only option is to buy another board.

In the last few weeks someone fixed it with a other USB cable and another one fixed it by burning the bootloader onto it and another one by double tapping.

Can you scroll through this: Error when uploading sketch on chinese clone
I gave it 50% chance that the problem would be solved, and it did.
This problem was solved by double tap: Help! Arduino Leonardo stuck in loop!

Can you try the double tap ? Try it a few times and see if Windows notices a new device.

If that is/was your only Arduino board, then you should get another board. Don't buy the same board from the same seller.
If you also buy a basic Arduino Uno, then you can use that as a ISP programmer to burn a bootloader into a bad Arduino board.

It might not be worth the trouble to burn the bootloader. Get a new board and forgot about the bad board and maybe, just maybe, you can try to burn the bootloader.

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