Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

ArduScan is a windows program that passively scans the COM ports on a system looking for ones that are likely to be Arduinos

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ArduScan.cpp
Octocat-spinner-32 README
README
ArduScan
Sept 2011 by Bill Westfield ("WestfW")

Scan a windows system and try to figure out which COM ports
look like they might be Arduinos.

This is based on the article here:
  http://www.codeproject.com/KB/system/serial_portsenum_fifo.aspx
by Vladimir Afanasyev, which explains how to use the device manager
API to enumerate all the COM ports on a system, and
these forum entries:
  http://www.microchip.com/forums/tm.aspx?high=&m=559736&mpage=1#560699
  http://www.microchip.com/forums/tm.aspx?high=&m=364903&mpage=1#365029
Which explain how to get the USB Vendor/Product info from the same api.

Currently this is set up to run in a CMD or other shell window, and
writes its findings to stdout.


It should compile fine under cygwin, including mingw versions:

  g++ -mno-cygwin ArduScan.cpp -lsetupapi -o ArduScan.exe
Something went wrong with that request. Please try again.