Modifications

Sauter à la navigation Sauter à la recherche
Ligne 5 : 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 ===
 
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).
 
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).
    +
=== 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.
  
29 917

modifications

Menu de navigation