User Tools

Site Tools


product:usb2ax:quickstart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
product:usb2ax:quickstart [2013/04/02 19:28]
xevel created
product:usb2ax:quickstart [2019/03/10 01:23]
xevel [Installation]
Line 1: Line 1:
 ===== USB2AX: Getting started ===== ===== USB2AX: Getting started =====
  
-//This document explains how to connect the USB2AX and make a Dynamixel servo  move using RoboPlus Dynamixel Manager, on Windows.//+==== 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*//​.
  
-**For Linux or MacOS users:** no driver needed, just plug the USB2AX and the Status LED should light up very briefly in red then in solid green. You're good to go!+The user must be part of the **dialout** group to have access to the serial port!
  
-FIXME+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.
  
-==== 1) Gather the needed parts ====+If you plan on using Robotis'​ Dynamixel SDk for Linux, have a look [[product:​usb2ax:​faq#​qdynamixel_sdkhow_do_i_use_it_with_the_usb2ax|here]]!
  
-  * USB2AX 
-  * a compatible Dynamixel servo (AX-12A for example) 
-  * Dynamixel cable(s) 
-  * a way to power the servo (see [[product:​usb2ax:​faq:​Q:​ How to power the servos?]]) 
-  * a computer running Windows with [[http://​support.robotis.com/​en/​software/​roboplus_main.htm|RoboPlus]] installed 
  
-==== 2) Install the driver ====+=== MacOS === 
 +Same as for Linux, except the USB2AX will appear as /​dev/​tty.usbmodem*****.
  
 +=== Windows 10 ===
 +//Based on a contribution by Sebastien MICK, thanks!//
  
-==== 3)   ====+For Windows 10 Pro, Enterprise and Education, if [[https://​www.laptopmag.com/​articles/​disable-automatic-driver-downloads-on-windows-10|deactivating the automated driver installation mechanism]] does not do the trick, you can try the following steps:
  
 +  - 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"​.
 +  - Unplug all USB2AX devices from the computer.
 +  - Open the [[https://​www.tenforums.com/​tutorials/​79976-open-local-group-policy-editor-windows-10-a.html|Local Group Policy Editor]] (gpedit.msc),​ signed in as Administrator.
 +  - In the left panel, browse to: //Local Computer Policy// > //User configuration//​ > //​Administrative Templates// > //System// > //Driver installation//​ > //Device Installation Restrictions//​
 +  - Enable "Allow administrators to override device installation policy"​
 +  - Enable "​Prevent Installation of Devices not described by other policy settings"​
 +  - Run the Device Manager as Administrator.
 +  - 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.
 +  - Rigth click > //Update Driver Software// > // Browse my computer for driver software// > select the driver (.INF file).
  
-Windows: +// Original French version : // 
-  * get the [[https://paranoidstudio.assembla.com/code/paranoidstudio/​git/​node/​blob/master/usb2ax/soft/​lufa_usb2ax/​USB2AX.inf|driver]] ​and install ​it. + 
-  * plug the 3-wire dynamixel cable between ​the USB2AX and the first servo, and wire-up all other servos +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. 
-  ​* plug the USB2AX ​in the USB port, it should ​appear as Virtual COM port+ 
-  ​* apply power to the servos +  - Si un périphérique correspondant à un USB2AX est présent sur le système, le désinstaller complètement 
-  ​* run RoboPlus Dynamixel Wizard, open the corresponding ​COM port and run Search +    * 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) 
-  ​* You should ​be able to make the servos ​move by changing the "​Target Position"​ value.+    * 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 
 +  - Débrancher tous les USB2AX de l'​ordinateur 
 +  - Ouvrir le programme Éditeur de stratégie de groupe locale en mode Administrateur (programme gpedit.msc) 
 +  - 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 
 +  ​- 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) 
 +  - 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) 
 +  - 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). 
 +  - Choisir Mettre à jour le pilote (option accessible par clic droit ou dans les propriétés du périphérique,​ requiert les permissions Administrateur) 
 +  - Choisir Rechercher un pilote sur mon ordinateur 
 +  - 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: 
 + 
 +  - Installer le pilote ​**sans périphérique** 
 +    - 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 
 +    - Dans cet assistant, choisir Installer le matériel que je sélectionne manuellement dans la liste 
 +    - Choisir le type de matériel Ports (COM et LPT) 
 +    - 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 
 +    - 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) 
 +    - Cliquer sur Suivant jusqu'​à l'​installation du pilote 
 +    - 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 !** 
 +    - 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 
 +    - Désinstaller cette entrée sans cocher la case Supprimer le pilote pour ce périphérique 
 +  - Remplacer le pilote générique 
 +    - 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 
 +    - Ouvrir le menu Propriétés de ce périphériques 
 +    - Dans le volet Pilote, cliquer sur Mettre à jour le pilote. Une fenêtre Mettre à jour les pilotes devrait s'​ouvrir 
 +    - Cliquer sur Parcourir mon ordinateur à la recherche du logiciel du pilote 
 +    - Cliquer sur Choisir parmi une liste de pilotes disponibles sur mon ordinateur 
 +    - 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 [[https://raw.github.com/Xevel/usb2ax/master/firmware/​lufa_usb2ax/​USB2AX.inf|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 ([[http://​www.howtogeek.com/​167723/​how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/​|ENG]] / [[http://​wiki.cybedroid.net/​index.php?​title=D%C3%A9sactivation_de_signature_de_pilotes|FR]]). 
 + 
 + 
 +The installation is similar to the one for [[http://​arduino.cc/​en/​Guide/​Windows#​toc4|the Arduino Uno]] ([[http://​arduino.cc/​en/​Guide/​UnoDriversWindowsXP|step-by-step under XP]]). 
 + 
 +  ​- Plug the USB2AX ​into a USB port. The Status LED should ​light up red and Windows might start looking for driver [Vista, 7]. You can cancel the search, the driver is not on Microsoft'​s servers
 +  ​- Open the Device Manager. (//Start Menu > Control panel > System and Security > System > Device Manager//). 
 +  ​- 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//​ 
 +  - Here, navigate to and select the //​USB2AX.inf//​ driver file. 
 +  ​- 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.//
  
-Linux: 
-  * 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 /​dev/​ttyACMx. 
-  * apply power to the servos 
-  * run your application... 
-  ​ 
 {{product:​usb2ax:​usb2axv3.1_connected_s.jpg}} {{product:​usb2ax:​usb2axv3.1_connected_s.jpg}}
  
-==== To go further... ​==== +=== 1) Gather the required parts ===
-More information for everyone: +
-  * [[product:​usb2ax:​FAQ]] +
-  * [[product:​usb2ax:​specs|Detailed specifications]] +
-  * [[product:​usb2ax:​faq#​Q:​ How to power the servos?|How to power the servos?]]+
  
-Some more stuff for power-users: +  * USB2AX 
-  * [[product:​usb2ax:​advanced_instructions|Advanced instructions:​ sync_read, etc...]] +  * a compatible Dynamixel servo (AX-12A for example) 
-  * [[product:usb2ax:​firmware_update|How To update ​the firmware?]] +  * Dynamixel cable(s) 
-  * [[product:​usb2ax:​low_latency_guide|A tentative guide on achieving low latency with the USB2AX]] +  * a way to power the servo (see [[faq#Q: How to power the servos?]]) 
-   ​+  * a computer running Windows 
 + 
 +=== 2) Installation === 
 + 
 +[[#Windows XP, Vista, 7|Install the driver of the USB2AX]], and the latest version of [[http://​support.robotis.com/​en/​software/​roboplus_main.htm|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