Ligne 1 : |
Ligne 1 : |
| {{Adafruit Motor Shield V2-NAV}} | | {{Adafruit Motor Shield V2-NAV}} |
− |
| |
− | {{traduction}}
| |
| | | |
| == Brancher un moteur pas-à-pas == | | == Brancher un moteur pas-à-pas == |
Ligne 7 : |
Ligne 5 : |
| [[Fichier:Motor Shield V2-Logiciel-10.jpg|480px]] | | [[Fichier:Motor Shield V2-Logiciel-10.jpg|480px]] |
| | | |
− | Stepper motors are great for (semi-)precise control, perfect for many robot and CNC projects. This motor shield supports up to 2 stepper motors. The library works identically for bi-polar and uni-polar motors
| + | Les moteurs pas-à-pas sont vraiment géniaux pour un contrôle semi-précis, parfait pour de nombreux robots et projets CNC. Le shield adafruit supporte jusqu'à deux moteurs pas-à-pas. La bibliothèque fonctionne de façon identique avec les moteurs bipolaires et unipolaire. |
| + | |
| + | === Pour les moteurs unipolaires === |
| + | Pour connecter un moteur unipolaire, vous devez identifier quel fils appartient à quel bobine. |
| + | |
| + | Si votre moteur à 4 fils alors il n'a pas de contact commun entre les bobines... il se monte comme sur l'image. |
| + | |
| + | Si vous avez un moteur avec 5-fils alors il y a un fils commun pour le centre des deux bobines. [http://learn.adafruit.com/adafruit-motor-shield/resources Il y a de nombreux tutoriels pour identifier les bobines et fils des moteur pas-à-pas... nous vous proposons ce tutoriel d'Adafruit (''anglais'')]. |
| + | |
| + | Si vous avez un moteur 6-fils, alors le centre de chacune des deux deux bobines est repris sur un fils distinct. |
| + | |
| + | Le centre des bobines (5 fils) doit être connecté sur la borne GND (masse) du shield moteur. Si vous avez un connecteur 6-fils alors les centres des deux bobines doivent être connectés ensembles sur la broche GND. |
| | | |
− | For unipolar motors: to connect up the stepper, first figure out which pins connected to which coil, and which pins are the center taps. If its a 5-wire motor then there will be 1 that is the center tap for both coils. [http://learn.adafruit.com/adafruit-motor-shield/resources Theres plenty of tutorials online on how to reverse engineer the coils pinout]. The center taps should both be connected together to the GND terminal on the motor shield output block. then coil 1 should connect to one motor port (say M1 or M3) and coil 2 should connect to the other motor port (M2 or M4).
| + | Ensuite: |
| + | * La bobine 1 doit être connectés sur un port moteur (disons M1, ou M3) |
| + | * La bobine 2 doit être connectées sur l'autre port moteur correspondant (disons M2, ou M4). |
| | | |
| + | === pour les moteurs bipolaires === |
| For bipolar motors: its just like unipolar motors except theres no 5th wire to connect to ground. The code is exactly the same. | | For bipolar motors: its just like unipolar motors except theres no 5th wire to connect to ground. The code is exactly the same. |
| | | |