User Tools

Site Tools


product:usb2ax:quickstart

USB2AX: Getting started

Installation

Linux

No driver needed, just plug the USB2AX in a USB port and the Status LED should light up very briefly in red then in solid green.
The USB2AX should appear as /dev/ttyACM*.

The user must be part of the dialout group to have access to the serial port!

If the Status LED stays red and the device does not appear in /dev, check that USB Modem (CDC ACM) support is enabled in the kernel. All recent desktop distributions have it enabled by default.

If you plan on using Robotis' Dynamixel SDk for Linux, have a look here!

MacOS

Same as for Linux, except the USB2AX will appear as /dev/tty.usbmodem*.

Windows 10

Based on a contribution by Sebastien MICK, thanks!

For Windows 10 Pro, Enterprise and Education, if deactivating the automated driver installation mechanism does not do the trick, you can try the following steps:

  1. If a driver has been automatically installed for the USB2AX, you need to uninstall it completely first.
    • Locate the device in the Device Manager:
      • If the USB2AX is plugged in, you should see it appear in “Ports (COM & LPT)”.
      • If the USB2AX is not currently plugged, you need to either plug it in or to show the hidden devices (View > Show hidden devices).
    • Uninstall it: Right click on the device > Uninstall device, check “Delete the driver software for this device” then click “Uninstall”.
  2. Unplug all USB2AX devices from the computer.
  3. Open the Local Group Policy Editor (gpedit.msc), signed in as Administrator.
  4. In the left panel, browse to: Local Computer Policy > User configuration > Administrative Templates > System > Driver installation > Device Installation Restrictions
  5. Enable “Allow administrators to override device installation policy”
  6. Enable “Prevent Installation of Devices not described by other policy settings”
  7. Run the Device Manager as Administrator.
  8. Plug a USB2AX. A new entry should appear in the Device Manager without triggering the automated driver install process. A warning sign should appear next to it to show that it is therefor not functional.
  9. Rigth click > Update Driver Software > Browse my computer for driver software > select the driver (.INF file).

Original French version :

Voici une procédure pour contourner l'obstacle de l'installation automatique, testée sur un système Windows 10 particulièrement tyrannique. « Normalement », désactiver l'installation automatique de périphériques, dans les paramètres système avancés, devrait suffire, mais dans mon cas ça ne changeait rien.

  1. Si un périphérique correspondant à un USB2AX est présent sur le système, le désinstaller complètement
    • Si un USB2AX est branché, un tel périphérique devrait apparaître dans la liste du Gestionnaire de périphériques (mais pas forcément dans la catégorie des ports COM & LPT)
    • S'il est débranché, il n'est présent dans cette même liste que si l'option Afficher les périphériques cachés est activée
  2. Débrancher tous les USB2AX de l'ordinateur
  3. Ouvrir le programme Éditeur de stratégie de groupe locale en mode Administrateur (programme gpedit.msc)
  4. Dans le panneau de gauche, naviguer : Stratégie Ordinateur local > Modèles d'administration > Système > Installation de périphériques > Restrictions d'installation de périphériques
  5. Activer le paramètre Autoriser les administrateurs à passer outre les stratégies de restriction d'installation de périphériques (tout en haut de la liste du panneau de droite)
  6. Activer le paramètre Empêcher l'installation de périphériques non décrits par d'autres paramètres de stratégie (tout en bas)
  7. Brancher un USB2AX. Une nouvelle entrée devrait apparaître dans la liste du Gestionnaire de périphériques, mais sans déclencher d'installation automatique de pilote. Le périphérique devrait donc apparaître comme non fonctionnel (petite icône /!\ à côté du nom).
  8. Choisir Mettre à jour le pilote (option accessible par clic droit ou dans les propriétés du périphérique, requiert les permissions Administrateur)
  9. Choisir Rechercher un pilote sur mon ordinateur
  10. Indiquer l'emplacement du pilote (fichier .INF) sur l'ordinateur puis valider

Une autre version du process, proposée aussi par Sebastien, en Decembre 2018:

  1. Installer le pilote sans périphérique
    1. Dans le gestionnaire de périphériques, menu Action > Ajouter un matériel d'ancienne génération. Une fenêtre d'assistant Ajout de matériel devrait s'ouvrir
    2. Dans cet assistant, choisir Installer le matériel que je sélectionne manuellement dans la liste
    3. Choisir le type de matériel Ports (COM et LPT)
    4. Plutôt que de choisir un fabricant et un modèle dans la liste proposée par Windows, cliquer sur Disque fourni… Une fenêtre Installer à partir du disque devrait s'ouvrir
    5. Cliquer sur Parcourir… et sélectionner le dossier dans lequel se situe le fichier USB2AX.INF (si possible, un dossier qui ne contient que ce fichier)
    6. Cliquer sur Suivant jusqu'à l'installation du pilote
    7. Sur la page de l'assistant faisant le bilan de l'installation, un avertissement devrait indiquer que « Le périphérique pourrait ne pas fonctionner correctement ». Et c'est normal, puisqu'on a installé un pilote sans l'associer à un matériel réel !
    8. Fermer l'assistant. Dans le gestionnaire de périphériques, une nouvelle entrée devrait figurer dans la catégorie Ports (COM et LPT) sous le nom USB2AX et avec une icône /!\ avertissant d'un problème de fonctionnement
    9. Désinstaller cette entrée sans cocher la case Supprimer le pilote pour ce périphérique
  2. Remplacer le pilote générique
    1. Brancher l'USB2AX et laisser le pilote générique s'installer automatiquement. Une nouvelle entrée, différente de celle créée précédemment, devrait figurer dans la catégorie Ports (COM et LPT) sous un nom générique tel que Périphérique série USB
    2. Ouvrir le menu Propriétés de ce périphériques
    3. Dans le volet Pilote, cliquer sur Mettre à jour le pilote. Une fenêtre Mettre à jour les pilotes devrait s'ouvrir
    4. Cliquer sur Parcourir mon ordinateur à la recherche du logiciel du pilote
    5. Cliquer sur Choisir parmi une liste de pilotes disponibles sur mon ordinateur
    6. Dans la liste des pilotes détectés comme compatibles avec le périphérique, une entrée USB2AX devrait figurer. Choisir cette entrée et cliquer sur Suivant… jusqu'à la mise à jour du pilote.

Et là normalement, c'est bon.

End of French version

Windows XP, Vista, 7, 8, 8.1

Before the first use, you will need to install the USB2AX.inf driver file (Right click > Save as… to download it).

For Windows 8 and 8.1, you need to follow the procedure to disable driver signature enforcement before you can install the driver (ENG / FR).

The installation is similar to the one for the Arduino Uno (step-by-step under XP).

  1. Plug the USB2AX into a USB port. The Status LED should light up red and Windows might start looking for a driver [Vista, 7]. You can cancel the search, the driver is not on Microsoft's servers.
  2. Open the Device Manager. (Start Menu > Control panel > System and Security > System > Device Manager).
  3. In the Ports (COM & LPT) section, you should see a “USB2AX” device with a little exclamation mark. Right click > Update Driver Software > Browse my computer for Driver software
  4. Here, navigate to and select the USB2AX.inf driver file.
  5. Windows will do the rest. If it raises concerns because the driver is not signed, continue.

Once installation is complete, the Status LED should turn solid green.

Example of use

This part explains how to connect the USB2AX and make a Dynamixel servo move using RoboPlus Dynamixel Manager, on Windows.

usb2axv3.1_connected_s.jpg

1) Gather the required parts

  • USB2AX
  • a compatible Dynamixel servo (AX-12A for example)
  • Dynamixel cable(s)
  • a way to power the servo (see Q: How to power the servos)
  • a computer running Windows

2) Installation

Install the driver of the USB2AX, and the latest version of RoboPlus.

3) Make the servo move!

  • Plug the 3-wire dynamixel cable between the USB2AX and the first servo, and wire-up all other servos.
  • Plug the USB2AX in the USB port, it should appear as a Virtual COM port.
  • Apply power to the servos.
  • Run RoboPlus Dynamixel Wizard, open the corresponding COM port and run “Search” (DXL1.0).
  • You should be able to make the servos move by changing the “Target Position” value.
product/usb2ax/quickstart.txt · Last modified: 2019/03/10 01:23 by xevel