<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
		<id>http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_38--Microduino_Stepper_Motor_Drive</id>
		<title>Lesson 38--Microduino Stepper Motor Drive - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="http:///https//wiki.microduino.cn/index.php?action=history&amp;feed=atom&amp;title=Lesson_38--Microduino_Stepper_Motor_Drive"/>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_38--Microduino_Stepper_Motor_Drive&amp;action=history"/>
		<updated>2026-04-21T09:48:35Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https//wiki.microduino.cn/index.php?title=Lesson_38--Microduino_Stepper_Motor_Drive&amp;diff=1642&amp;oldid=prev</id>
		<title>Jasonsheng：Created page with &quot;{{Language|第三十八课--Microduino 步进电机驱动}} {| style=&quot;width: 800px;&quot; |- | ==Objective== This lesson will show you how to control the stepper motor by Microduin...&quot;</title>
		<link rel="alternate" type="text/html" href="https//wiki.microduino.cn/index.php?title=Lesson_38--Microduino_Stepper_Motor_Drive&amp;diff=1642&amp;oldid=prev"/>
				<updated>2014-03-28T07:22:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Language|第三十八课--Microduino 步进电机驱动}} {| style=&amp;quot;width: 800px;&amp;quot; |- | ==Objective== This lesson will show you how to control the stepper motor by Microduin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Language|第三十八课--Microduino 步进电机驱动}}&lt;br /&gt;
{| style=&amp;quot;width: 800px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
==Objective==&lt;br /&gt;
This lesson will show you how to control the stepper motor by Microduino A4982 module, and welding the step motor control board.&lt;br /&gt;
==Equipment==&lt;br /&gt;
*'''[[Microduino-Core]]'''&lt;br /&gt;
*'''[[Microduino-FT232R]]'''&lt;br /&gt;
*'''[[Microduino-A4982]]'''&lt;br /&gt;
*Other equipments:&lt;br /&gt;
**USB cable    &lt;br /&gt;
**Pegboard&lt;br /&gt;
**Studs, screws&lt;br /&gt;
*Welding tools：&lt;br /&gt;
**Electric iron&lt;br /&gt;
**Solder&lt;br /&gt;
**Wire&lt;br /&gt;
**Forceps&lt;br /&gt;
&lt;br /&gt;
==Stepper motor==&lt;br /&gt;
*Connection method for stepper motor：&lt;br /&gt;
Connect the stepper motor to Microduino A4982 module:&lt;br /&gt;
**Four wire two phase stepper motor has two sets of coil A and B, each group coil's resistance is very small, only a few ohm. A and B group is absolutely insulation and disconnected. Measured with a multimeter, connected is a set;&lt;br /&gt;
**After measured group A and B, connect one group coil to OUT1A and OUT1B, the other group coil connects to OUT2A and OUT2B;&lt;br /&gt;
**By changing the MS1 &amp;amp; MS2 to change the stepping mode (Microduino A4982 default uses 1/16 step mode).&lt;br /&gt;
&lt;br /&gt;
*Angle calculation：&lt;br /&gt;
Stepper motor parameters：1.8deg/slep, that is stepper motor moves one step turned every 1.8°.&lt;br /&gt;
&lt;br /&gt;
**Step number=360/1.8*16=3200 step&lt;br /&gt;
Multiplied by 16 because Microduino A4982 default use 1/16 step mode.&lt;br /&gt;
&lt;br /&gt;
[[File:Stepper_motor_deg.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Schematic==&lt;br /&gt;
&lt;br /&gt;
[[File:Stepper_motor.jpg|600px|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
==Debug==&lt;br /&gt;
*Step 1：Crop the pegboard as specified size；&lt;br /&gt;
&lt;br /&gt;
*Step 2：Determine the Microduino's base position, then welding the circuit according to the schematics:&lt;br /&gt;
[[File:A4982.png|thumb|600px|center|洞洞板焊法]]&lt;br /&gt;
[[File:A4982_Stepper_motor-t.jpg|thumb|600px|center|正面]]&lt;br /&gt;
[[File:A4982_Stepper_motor-b.jpg|thumb|600px|center|反面]]&lt;br /&gt;
*Set up circuit&lt;br /&gt;
[[File:A4982_Stepper_motor-ok.jpg|thumb|600px|center|ok]]&lt;br /&gt;
&lt;br /&gt;
==Program==&lt;br /&gt;
*Used library：【AccelStepper library'''[https://github.com/adafruit/AccelStepper github下载 ]''' 】&lt;br /&gt;
*Downlaod test program：'''[[File:Program Test A4982.zip]]'''&lt;br /&gt;
*Compile it and select the correct board type to download.&lt;br /&gt;
*Test&lt;br /&gt;
**Connect power (6-25V), the motor won't move in initial state;&lt;br /&gt;
**Press the button, the stepper motor will rotate as setted pace, and LED indicator lights, reverse rotation after a few laps, the cycle repeated;&lt;br /&gt;
**Press the button again, close the drive, LED indicator turn off.&lt;br /&gt;
&lt;br /&gt;
==Result==&lt;br /&gt;
We can control the four wire two phase stepper motor successfully by Microduino A4982 module.&lt;br /&gt;
==Video==&lt;br /&gt;
http://v.youku.com/v_show/id_XNjg5MTcwOTA0.html&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Jasonsheng</name></author>	</entry>

	</feed>