<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>8051 Trainer Kit | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/8051-trainer-kit/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sat, 12 Mar 2022 17:02:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Interface stepper motor with 8051 Trainer Kit parallel port</title>
		<link>https://studentprojects.in/electronics/microcontroller/microcontroller-codes/interface-stepper-motor-with-8051-trainer-kit-parallel-port/</link>
					<comments>https://studentprojects.in/electronics/microcontroller/microcontroller-codes/interface-stepper-motor-with-8051-trainer-kit-parallel-port/#respond</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Sat, 12 Mar 2022 17:02:09 +0000</pubDate>
				<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Stepper motor]]></category>
		<category><![CDATA[8051 Trainer Kit]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=8687</guid>

					<description><![CDATA[<p>AIM: To interface stepper motor with 8051 parallel port and to vary speed of motor, direction of motor. APPARATUS REQUIRED: 8051 Trainer Kit Stepper Motor Interface Board THEORY: A motor in which the rotor is able to assume only discrete stationary angular position is a stepper motor. The rotor motion occurs in a stepwise manner</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontroller/microcontroller-codes/interface-stepper-motor-with-8051-trainer-kit-parallel-port/">Interface stepper motor with 8051 Trainer Kit parallel port</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>AIM:</strong> To interface stepper motor with 8051 parallel port and to vary speed of motor, direction of motor.</p>



<p><strong>APPARATUS REQUIRED:</strong></p>



<ul><li>8051 Trainer Kit</li><li>Stepper Motor Interface Board</li></ul>



<p><strong>THEORY:</strong></p>



<p>A motor in which the rotor is able to assume only discrete stationary angular position is a stepper motor. The rotor motion occurs in a stepwise manner from one equilibrium position to next.</p>



<p>The motor under our consideration uses 2 – phase scheme of operation. In this scheme, any two adjacent stator windings are energized. The switching condition for the above said scheme is shown in Table.</p>



<p><strong>Clockwise</strong></p>



<figure class="wp-block-table"><table><tbody><tr><td>A1</td><td>B1</td><td>A2</td><td>B2</td></tr><tr><td>1</td><td>0</td><td>0</td><td>1</td></tr><tr><td>0</td><td>1</td><td>0</td><td>0</td></tr><tr><td>0</td><td>1</td><td>0</td><td>1</td></tr><tr><td>1</td><td>0</td><td>1</td><td>0</td></tr></tbody></table></figure>



<p><strong>Anti &#8211; Clockwise</strong></p>



<figure class="wp-block-table"><table><tbody><tr><td>A1</td><td>B1</td><td>A2</td><td>B2</td></tr><tr><td>1</td><td>0</td><td>1</td><td>0</td></tr><tr><td>0</td><td>1</td><td>0</td><td>1</td></tr><tr><td>0</td><td>1</td><td>0</td><td>0</td></tr><tr><td>1</td><td>0</td><td>0</td><td>1</td></tr></tbody></table></figure>



<p>In order to vary the speed of the motor, the values stored in the registers R1, R2, R3 can be changed appropriately.</p>



<p><strong>ALGORITHM:</strong></p>



<ol><li>Store the look up table address in DPTR</li><li>Move the count value (04) to one of the register (R0)</li><li>Load the control word for motor rotation in accumulator</li><li>Push the address in DPTR into stack</li><li>Load FFC0 in to DPTR.</li><li>Call the delay program</li><li>Send the control word for motor rotation to the external device.</li><li>Pop up the values in stack and increment it.</li><li>Decrement the count in R0. If zero go to next step else proceed to step 3.</li><li>Perform steps 1 to 9 repeatedly.</li></ol>



<p><strong>PROGRAM:</strong></p>



<pre class="wp-block-code"><code lang="wasm" class="language-wasm">START: ORG 4100
       MOV DPTR,#4500H
       MOV R0,#04
AGAIN: MOVX A,@DPTR
       PUSH DPH
       PUSH PDL
       MOV DPTR,#FFC0H
       MOV R2, 04H
       MOV R1,#FFH
DLY1:  MOV R3, #FFH
DLY:   DJNZ R3,DLY
       DJNZ R1,DLY1
       DJNZ R2,DLY1
       MOVX @DPTR,A
       POP DPL
       POP DPH
       INC DPTR
       DJNZ R0,AGAIN
       SJMP START</code></pre>



<p><strong>DATA:</strong></p>



<p>4500: 09, 05, 06, 0A</p>



<p><strong>RESULT:</strong></p>



<p>Thus the speed and direction of the motor were controlled using 8051 trainer kit.</p><p>The post <a href="https://studentprojects.in/electronics/microcontroller/microcontroller-codes/interface-stepper-motor-with-8051-trainer-kit-parallel-port/">Interface stepper motor with 8051 Trainer Kit parallel port</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontroller/microcontroller-codes/interface-stepper-motor-with-8051-trainer-kit-parallel-port/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
