“Microduino-A4982”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
第3行: 第3行:
 
|
 
|
 
[[file:Microduino-A4982-rect.jpg|400px|thumb|right|Microduino-A4982]]
 
[[file:Microduino-A4982-rect.jpg|400px|thumb|right|Microduino-A4982]]
Microduino-A4982是一款带转换器和过流保护的 DMOS 微步驱动器,该产品可在全、半、1/4、1/8及1/16步进模式时操作双极步进电动机。
+
Microduino-A4982 is a DMOS micro-step drive with a converter and overcurrent protection. It can be used to operate bipolar steepper motors in full, half,1/4,1/8 and 1/16 step model.Widely used in control system.
  
 
|-
 
|-
 
|
 
|
==特色==
+
==Feature==
*易于控制;
+
*Easily to control;
*四个可选的步进模式:全、 1/2、1/4和1/16
+
*Four optional stepping modes:full, 1/2,1/4 and 1/16
*完善的保护机制:
+
*Perfect protection mechanisms:
**过热关闭电路、欠压锁定、交叉电流保护;
+
**Overtemperature shutdown circuit, undervoltage lockout, crossover current protection;
**接地短路保护、负载短路保护;
+
**Ground short circuit protection, load short-circuit protection;
*电位器调节电流;
+
*Use potentiometer to adjust the current;
*自动电流衰减模式检测/选择;
+
*Automatic current decay mode detection / selection;
*符合无烟无火(NSNF) 规范 (ET 封装);
+
*Compliance with smoke-free fire (NSNF) specification (ET package);
*独特的接插方式,更加节省空间。
+
*The unique plug way and more space savings.
 
 
  
 
|-
 
|-
 
|
 
|
 
==Specifications==
 
==Specifications==
*支持双极步进电动机;
+
*Support bipolar stepper motor;
 +
*Just input a pulse for the "STEP", it will drives the motor to produce micro-step. Without the need for phase sequence tables, high frequency control lines, or complex interfaces to program;
 +
*The maximum output current can be adjusted via potentiometer, resulting in higher step rate;
 +
*Four optional stepping modes:
 +
**full,1/2,1/4 and 1/16;
  
*只要在“STEP”输入中输入一个脉冲,即可驱动电动机产生微步。无须进行相位顺序表、高频率控制行或复杂的界面编程;
+
===Electrical Specifications===
 
+
*VCC voltage:
*可通过电位器调节最大电流输出,从而获得更高的步进率;
 
 
 
*四个不同的步进模式:
 
**全、1/2、1/4和1/16;
 
 
 
===电气规格===
 
*VCC电压:
 
 
**3.3~5V
 
**3.3~5V
*VMOT电压:
+
*VMOT voltage:
 
**6~25V
 
**6~25V
*最大工作电流:
+
*Maximum operating current:
 
**1.4A
 
**1.4A
*低电流休眠模式下电流小于10uA;
+
*Under the Low current sleep mode, the current less than 10uA;
*自动电流衰减模式检测/选择;
+
*Automatic current decay mode detection / selection;
*过热关闭电路、欠压锁定、交叉电流保护;
+
*Overtemperature shutdown circuit, undervoltage lockout, crossover current protection;
*接地短路保护、负载短路保护;
+
*Ground short circuit protection, load short-circuit protection;
  
  
===引脚说明===
+
===Pin Description===
 
{|class="wikitable"
 
{|class="wikitable"
! rowspan="1" | Microduino A4982芯片引脚 || Microduino引脚 || 功能
+
! rowspan="1" | Microduino A4982 Pin || Microduino Pin || function
 
|-
 
|-
| STEP|| Microduino IO口 || 脉冲使步进电机产生微步
+
| STEP|| Microduino IO port || Pulse drives the stepper motor produces micro-stepping
 
|-
 
|-
| DIR || Microduino IO口 || 控制步进电机旋转方向
+
| DIR || Microduino IO port || Control the rotation direction of the stepper motor
 
|-
 
|-
| EN  || Microduino IO口 || 开启或关闭驱动(低电平有效)
+
| EN  || Microduino IO port || Open or close the drive (active low)
 
|-
 
|-
| VMOT || 接外部电源 || 外部电源给步进电机供电
+
| VMOT || External power source || External power supply to the stepper motor
 
|}
 
|}
  
第61行: 第57行:
 
|-
 
|-
 
|
 
|
==文档==
+
==Document==
 
Eagle PCB '''[[File:Microduino-A4982.zip]]'''
 
Eagle PCB '''[[File:Microduino-A4982.zip]]'''
  
  
===主要元件===
+
===Main component===
* 驱动芯片:A4982 '''[[File:A4980-Datasheet.pdf]]'''
+
* Drive chip:A4982 '''[[File:A4980-Datasheet.pdf]]'''
 
 
*步进电机的驱动原理: '''[[File:步进电机的工作原理.pdf]]'''
 
  
 +
*Stepper motor driving principle: '''[[File:Working principle of the stepper motor.pdf]]'''
  
==开发==
 
===Arduino库及支持包===
 
*【AccelStepper库'''[https://github.com/adafruit/AccelStepper github下载 ]''' 】
 
*步进电机的接线: '''[[File:步进电机的接线.pdf]]'''
 
  
===步进电机的接线===
+
==Development==
*步进电机与Microduino A4982驱动连接:
+
===Arduino library and support package===
**四线二相步进电机有两组线圈a,b,每组线圈电阻很小,只有几欧。a 和b 组是绝对绝缘的,不连通的。用万用表测量,连通的是一组;
+
*【AccelStepper library'''[https://github.com/adafruit/AccelStepper github download ]''' 】
**测出后,将一组线圈接(OUT1A,OUT1B),另外一个线圈接(OUT2A,OUT2B);
+
*Stepper motor wiring: '''[[File:Stepper motor wiring.pdf]]'''
  
*通过更改MS1&MS2来改变步进模式(Microduino A4982默认是1/16步模式);
+
===Stepper motor wiring===
 +
*Stepper motor connects with Microduino A4982:
 +
**Four-wire two-phase stepper motor has two sets of coils a, b, the coil resistance is very small, only several ohms. a and b are totally insulated from the group, not communicating. Measured with a multimeter, connectivity is a set;
 +
**After measured out, a set of coils connect to OUT1A, OUT1B, another coil connects to OUT2A, OUT2B.
 +
*By changing the MS1 & MS2 to change the stepping mode (Microduino A4982 default is 1/16 step mode);
  
==应用==
+
==Application==
  
===程序下载===
+
===Program download===
测试程序:'''[[File:Program Test A4982.zip]]'''
+
Testing Program:'''[[File:Program Test A4982.zip]]'''
  
===A4982简单应用===
+
===A4982 Simple Application===
*结合Microduino核心模块与Microduino A4982的四线二相步进电机驱动:
+
*Connect the Micorduino core module,Microduino A4982 and the stepper motor.
*所需要准备的硬件有:Microduino FT232R、Microduino Core、Microduino A4982、四线二相步进电机、9V~12V电源;
+
*Prepared hardware:Microduino FT232R、Microduino Core、Microduino A4982、Four-wire two-phase stepper motor、9V~12V power;
*所需要准备的软件有:Microduino提供的测试程序(Arduino端)、Arduino IDE(1.0版本以上)、AccelStepper库,
+
*Prepared software:Microduino provides testing program(Arduino part)、Arduino IDE(1.0 release upper)、AccelStepper library,
*将下载好的库文件夹放入Arduino IDE安装文件夹内的libraries中;
+
*Put the downloaded library to the libraries folder of the Arduino IDE installation folder;
*启动Arduino IED,打开Microduino提供的测试程序,板卡选择Microduino Core (Atmega328P@16M,5V),直接下载即可;
+
*Strat Ardino IDE, open the testing program, card type chooses “Microduino Core (Atmega328P@16M,5V)”, download directly;
*按图示以洞洞板搭好电路:(蓝线在底层)
+
*Use the pegboard setting up the circuit: (blue line at the bottom),as following picture:
[[File:A4982.png|thumb|600px|center|洞洞板焊法]]
+
[[File:A4982.png|thumb|600px|center|Pegboard wiring diagram]]
  
*Microduino A4982驱动步进电机测试:[ Test_A4982]
+
*Microduino A4982 drives a stepper motor:[ Test_A4982]
**外接9V或12V电源,初始化电机不会转动;
+
**External 9V or 12V power supply, the motor does not rotate in initialization state;
**按下按键,步进电机以设定好的速度开始旋转,并且LED指示灯点亮,旋转几圈之后反转,循环反复;
+
**Press the button, the stepper motor begins to rotate as setting speed, and LED indicator lights, reverse rotation after a few laps, the cycle repeated;
**再次按下按键,关闭驱动,LED指示灯点亮熄灭。按键通过中断检测,依次开关驱动。
+
**Press the button again to close the drive, LED indicator lights off. Key detection through an interrupt, turn the switch driver.
 
==Pictures==
 
==Pictures==
 
[[file:Microduino-A4982-t.jpg|thumb|600px|center|Microduino A4982 Front]]
 
[[file:Microduino-A4982-t.jpg|thumb|600px|center|Microduino A4982 Front]]

2014年2月3日 (一) 07:20的版本

Microduino-A4982 is a DMOS micro-step drive with a converter and overcurrent protection. It can be used to operate bipolar steepper motors in full, half,1/4,1/8 and 1/16 step model.Widely used in control system.

Feature

  • Easily to control;
  • Four optional stepping modes:full, 1/2,1/4 and 1/16
  • Perfect protection mechanisms:
    • Overtemperature shutdown circuit, undervoltage lockout, crossover current protection;
    • Ground short circuit protection, load short-circuit protection;
  • Use potentiometer to adjust the current;
  • Automatic current decay mode detection / selection;
  • Compliance with smoke-free fire (NSNF) specification (ET package);
  • The unique plug way and more space savings.

Specifications

  • Support bipolar stepper motor;
  • Just input a pulse for the "STEP", it will drives the motor to produce micro-step. Without the need for phase sequence tables, high frequency control lines, or complex interfaces to program;
  • The maximum output current can be adjusted via potentiometer, resulting in higher step rate;
  • Four optional stepping modes:
    • full,1/2,1/4 and 1/16;

Electrical Specifications

  • VCC voltage:
    • 3.3~5V
  • VMOT voltage:
    • 6~25V
  • Maximum operating current:
    • 1.4A
  • Under the Low current sleep mode, the current less than 10uA;
  • Automatic current decay mode detection / selection;
  • Overtemperature shutdown circuit, undervoltage lockout, crossover current protection;
  • Ground short circuit protection, load short-circuit protection;


Pin Description

Microduino A4982 Pin Microduino Pin function
STEP Microduino IO port Pulse drives the stepper motor produces micro-stepping
DIR Microduino IO port Control the rotation direction of the stepper motor
EN Microduino IO port Open or close the drive (active low)
VMOT External power source External power supply to the stepper motor
文件:A4982-Pinout-2.jpg
Microduino-A4982-Pinout

Document

Eagle PCB 文件:Microduino-A4982.zip


Main component


Development

Arduino library and support package

Stepper motor wiring

  • Stepper motor connects with Microduino A4982:
    • Four-wire two-phase stepper motor has two sets of coils a, b, the coil resistance is very small, only several ohms. a and b are totally insulated from the group, not communicating. Measured with a multimeter, connectivity is a set;
    • After measured out, a set of coils connect to OUT1A, OUT1B, another coil connects to OUT2A, OUT2B.
  • By changing the MS1 & MS2 to change the stepping mode (Microduino A4982 default is 1/16 step mode);

Application

Program download

Testing Program:文件:Program Test A4982.zip

A4982 Simple Application

  • Connect the Micorduino core module,Microduino A4982 and the stepper motor.
  • Prepared hardware:Microduino FT232R、Microduino Core、Microduino A4982、Four-wire two-phase stepper motor、9V~12V power;
  • Prepared software:Microduino provides testing program(Arduino part)、Arduino IDE(1.0 release upper)、AccelStepper library,
  • Put the downloaded library to the libraries folder of the Arduino IDE installation folder;
  • Strat Ardino IDE, open the testing program, card type chooses “Microduino Core (Atmega328P@16M,5V)”, download directly;
  • Use the pegboard setting up the circuit: (blue line at the bottom),as following picture:
Pegboard wiring diagram
  • Microduino A4982 drives a stepper motor:[ Test_A4982]
    • External 9V or 12V power supply, the motor does not rotate in initialization state;
    • Press the button, the stepper motor begins to rotate as setting speed, and LED indicator lights, reverse rotation after a few laps, the cycle repeated;
    • Press the button again to close the drive, LED indicator lights off. Key detection through an interrupt, turn the switch driver.

Pictures

Microduino A4982 Front
Microduino A4982 Back
Microduino A4982 Erection