Ce site contient essentiellement des notes de travail. Le contenu est en constante évolution, et loin d'être achevé. (+ d'infos)
La plupart des documentations informatiques sont orientées Debian / Ubuntu.

Electronique/Hardware/Moteurs/Allegro A3967 - EasyDriver

De Ordinoscope.net
Sauter à la navigation Sauter à la recherche


Minuscule contrôleur de moteur pas-à-pas supportant un courant réglable jusqu'à 750mA.


  • le chip devient très vite brûlant, même avec une faible consommation. Radiateur obligatoire et ventilation conseillée.
  • le potentiomètre peut être positionné de telle manière que le chip ne régule plus le courant - dans ce cas, le chip brûle instantanément. Il est souhaitable de faire les premiers réglages sur une alimentation de laboratoire avec une limitation du courant (ex. 500 mA), quelque soit la tension.
  • la pin 5V est une sortie, et non pas une entrée - le circuit s'alimente depuis le circuit de puissance, et un pontage du 5V sur l'Arduino déjà alimenté peut engendrer des problèmes, voire l'endommager.


V3 V4.3
Chip Allegro A3967
Moteurs Bipolaires
Microstepping 1/8 permanent 1/1, 1/2, 1/4, 1/8
Courant max 750 mA / phase (réglable)
Tension 6 ~ 30V


GND There are three GND (Ground) pins on the Easy Driver. They are all connected together inside the board. Connect the negative side of your power supply, as well as from any other boards you are using to drive the Easy Driver to one or more of the GND pins.

M+ : This is the power input to the Easy Driver. Connect this to the positive power supply lead. This should be a 6V to 30V, 2A (or more) power supply that is clean (low ripple).

A and B (four pins) These are the motor connections. See below diagrams for how to hook these up. A and B are the two coils of the motor, and can swap the two wires for a given coil (it will just reverse the direction of the motor). Make CERTAIN that this connection to the motor is solid, and NOT through a connector that has any chance of intermittent contact (which will fry the motor driver chip).
STEP This needs to be a 0V to 5V (or 0V to 3.3V if you've set your Easy Driver that way) digital signal. Each rising edge of this signal will cause one step (or microstep) to be taken.
DIR (Direction) This needs to be a 0V to 5V (or 0V to 3.3V if you've set your Easy Driver up that way) digital signal. The level if this signal (high/low) is sampled on each rising edge of STEP to determine which direction to take the step (or microstep).
MS1/MS2 These digital inputs control the microstepping mode. Possible settings are (MS1/MS2) : full step (0,0), half step (1,0), 1/4 step (0,1), and 1/8 step (1,1 : default).
RST (reset) This normally high input signal will reset the internal translator and disable all output drivers when pulled low.
SLP (sleep) This normally high input signal will minimize power consumption by disabling internal circuitry and the output drivers when pulled low.
ENABLE This normally low input signal will disable all outputs when pulled high.
PFD This one is complicated - please see the datasheet for more information. We default it to slow decay mode, but you can override with your own voltage on this pin. (or by populating R17)
5V This is an OUTPUT pin that will provide either 5V (default) or 3.3V from the voltage regulator, at a small amount of current (say 50mA - depends on input voltage) to power a circuit that you may need powered.


EasyDriver v4


EasyDriver v3