Arduino ide problem with the ports

hello, I don't know if I chose correctly, it's the first time I'm here, I have in the past (a week ago) arduino ide installed on the PC, everything went well for 2 days now, I'm struggling to understand what it has in more detail when I started windows I started arduino ide I noticed that any kind of board I connect is not seen in arduino ide I reinstalled windows from the beginning I also tried with CH341 nothing seems to work instead if I disconnect the PC from the internet it appears if I connect it to the internet back my port disappears, I mention that I checked in the device manager and it is ok there it appears correctly but not in the arduino software, can someone help me?

The IDE relies on information from the operating system which ports are available. So a first check would be to check a windows device manager what happens with the ports when you connect to the internet. It's not 100% clear to me if you checked that.

Please tell us which Arduino product you're trying to connect. Is this an Uno or Nano clone, or something else? It may or may not matter, but let others decide.

When i coneect it. In device manager ports ( COM & LTP) appears as USB-SERIAL CH340 ( COM3)
but in the arduino i have only
Unknown COM1

I have several boards. Like mega2560, plusivo , jade mega groundstudio , nodemcu, raspbery pi . All this boards worked until one week ago .

1 Like

That information all by itself is instrumental in finding out what's going on. And now all don't work? Does your USB port work for other things, like a memory dongle?
Did you change cables? We often see cable problems. I threw out a USB port expander last week, bad contacts made it intermittent.
Just guessing, but these things happen.

Do you maybe have the STM32duino core installed?

Their latest version is not compatible with IDE1.x, so you need to downgrade to the 2.7.1 version. It made all my COM ports disappear in my IDE 1.8.19.

1 Like

Yes the port works. The cable are good. I think its a problem with my motherboard :person_facepalming: i just checked with an laptop from 2010 and works fine :person_facepalming: i don't understand how's this posible

I have download the 2.3.3 but still not works. I believe its a motherboard problem :person_facepalming: and i don't know how to fix it the motherboard :person_facepalming:

I've installed the 1.8 and when plug in the usb to mega2560 stop working

Hi @lucian_9116.

I'm not so sure. If it was caused by a problem with the motherboard, then we would expect the problem to also occur in Windows Device Manager. But you say that Device Manager is able to recognize the serial port of the Arduino board:

This indicates that the problem is not at the hardware or operating system level, but instead with Arduino IDE (or with the helper tools used by Arduino IDE). It is strange that both Arduino IDE 1.x and 2.x have the same problem since Arduino IDE 2.x is a complete rewrite of the application, which shares very little with Arduino IDE 1.x, but it is still possible that the problem is with some commonality between the two.


I'm going to ask you to provide some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Connect an Arduino board to your computer with a USB cable.
  2. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  3. Start Windows "File Explorer".
  4. Open the Arduino IDE 2.3.3 installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  5. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
    A context menu will open.
  6. Select "Open PowerShell window here" from the menu.
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  7. Type the following command:
    & ".\Arduino IDE"
    
  8. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  9. Wait for Arduino IDE 2.3.3 to finish starting.
  10. Select Tools > Port from the Arduino IDE menus.
  11. Verify that the port of the Arduino board is not shown in the menu.
  12. Switch back to the PowerShell window.
  13. Press the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  14. Press the Ctrl+C keyboard shortcut.
    This will copy the contents of the PowerShell window to the clipboard.
  15. Open a forum reply here by clicking the "Reply" button.
  16. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
  17. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  18. Move the cursor outside of the code block markup before you add any additional text to your reply.
  19. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

hello i havent been online for a while. the situation is solved. ive restarted my router now all works perfectly. i dont understand where is the conection betwen my router and arduino but all works now

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