Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3427128
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:47:56+00:00 2026-05-18T06:47:56+00:00

I have a micro-controller (Arduino) and wish to determine automatically to which port the

  • 0

I have a micro-controller (Arduino) and wish to determine automatically to which port the micro-controller locks to. The idea is not to have to correct the COM port manually for every app on every computer. Can this be done ? Thanks !

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T06:47:57+00:00Added an answer on May 18, 2026 at 6:47 am

    Do you mean:

    • Micro-controller is an external hardware device
    • User plugs the device into a random serial port (COM port)
    • You want to know which COM port it’s connected to

    ?

    Also, you are talking about an old-style COM port, are you, not a USB?

    Anyway if that is your question, the only way would be to:

    • Open each COM port on the machine and send data through it, to see (if the micro-controller sends back the expected resonse) whether it’s talking to the expected device (e.g. if the device were a modem you might try sending “AT\r” and expect a modem to respond “OK”, if there is a modem and if the modem is connected to that serial port).
    • And/or write a device driver or a service to do just this, instead of an application.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an input string which is a directory address: Example: ProgramFiles/Micro/Telephone And I
I have a filename 10.10.10.17_super-micro-100-13.txt from which I need to extract everything between _
I have an embedded board with a 32 Micro-controller, and an custom built OS,
I have large C code base for a micro-controller. I am working on a
On a micro-controller program I have a few instructions that I would like to
I'm dealing with a COM port application and we have a defined variable-length packet
I have a local server running on port 6868. Technically it's node.js-driven micro-site built
I have a code for the micro-controller in C. Basing on the examples I
Currently I am working on a project which has following setup. AVR micro-controller IDE
I am receiving messages over serial port from a micro-controller. i am using a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.