Question

In: Computer Science

Write an ALP to control the different direction of rotation of stepper motor​ ​      Stepper...

Write an ALP to control the different direction of rotation of stepper motor​

     Stepper motor has the following specifications​

  • Stepper motor has 4 windings ​

  • Speed =12 rpm​

  • No of teeth =200 ​

Solutions

Expert Solution

Answer : Given data

* The stepper motor is interfaced with t port C of 8255 Programmable peripheral interface (PPI) and through 8051 .

* Interfacing diagram of Stepper motor through transistor amplifiers and 8051 Microcontroller

* Since,RPM = 12,i.e 12x 360 = 4320 degree of rotation /min

for 200 steps =3600

1 step = 360/200 = 1.80

For four data one time = 7.20

repeat this data 600 times will produce 12 RPM.

R3 register will contain 600 decimal = 258 H; i.e R3 = 258H

* ASL code for Rotating the stepper motor in a clock wise direction

      8009                MOV R3,#258;                                            (R3) = 258H

     8023                                                   DJNZ R3,REPEAT;                    Decrement R3 and jump to REPEAT if R3≠0

* ASL code for Rotating the stepper motor in anticlock wise direction

8009                 MOV R3,#258;                      (R3) = 258H,

8023                      DJNZ R3, REPEAT;                    Decrement R3 and jump to REPEAT if R3≠0

8025                                                      LCALL 0003;                                 End of the program

_______THE END_____________


Related Solutions

Make a write up on half stepper sequence and full stepper sequence on stepper motor control....
Make a write up on half stepper sequence and full stepper sequence on stepper motor control. Differentiate the two, write a summary on findings or results. The motor is driven by TTL logic used to implement the controller. Use 555 timer to operate the controller at 3Hz. Write up to be 6-10 pages
Make a write up on how a stepper motor control works. The Do's and Dont's. The...
Make a write up on how a stepper motor control works. The Do's and Dont's. The motor is driven by TTL logic used to implement the controller. Use a 555 timer circuit to operate the controller at 3Hz. Write up to be 4-5 pages.
Explain the operation of a Stepper motor; State the advantage and disadvantage of a Stepper motor;...
Explain the operation of a Stepper motor; State the advantage and disadvantage of a Stepper motor; State the difference between a stepper motor and a DC motor.
A robotic arm is controlled by several stepper motors. Stepper motor (or step motor) is a...
A robotic arm is controlled by several stepper motors. Stepper motor (or step motor) is a brushless DC electric motor that divides a full rotation (360 degree) into a number of equal steps (10 degree/step in this case). The motor's position can then be commanded to move and hold at one of these steps without any feedback sensor (an open-loop controller). This motor usually has 4 wires. To move a motor, the following bit patterns should be applied to these...
What is a stepper motor and give some examples of where a stepper motor may be...
What is a stepper motor and give some examples of where a stepper motor may be utilized.
design a stepper motor in 8051 microcontroller in which stepper motor moves clockwise for some time...
design a stepper motor in 8051 microcontroller in which stepper motor moves clockwise for some time and stops , then anticlockwise for some times and motor stops. (Code in assembly language needed)
I need simulation on protues of speed control of unipolar stepper motor using uno arduino. Must...
I need simulation on protues of speed control of unipolar stepper motor using uno arduino. Must using protues..
The terminal voltage across a single phase of a stepper motor used as a generator is...
The terminal voltage across a single phase of a stepper motor used as a generator is applied across a load resistor of 33 ohms. This terminal voltage has an amplitude of 18.7V and a frequency of 242 Hz. From a previous measurement, we know that this stepper motor phase has an internal resistance of 11.2 ohms. What is the time-averaged power delivered to the load? What is the electrical efficiency of this circuit? Write down an expression for the instantaneous...
Explain various control methods for the stepper motor: Full-Step Single-Phase, Full- Step Two-Phase, and Half-Step current...
Explain various control methods for the stepper motor: Full-Step Single-Phase, Full- Step Two-Phase, and Half-Step current excitation sequences.
Design a stepper motor controller for half step mode in MultiSim. The following will be your...
Design a stepper motor controller for half step mode in MultiSim. The following will be your inputs: CLOCK – A 1Hz clock signal RESET – A SPST switch configured as an input to reset the system DIRECTION – A SPST switch that determine the direction. HIGH for clockwise and LOW for counterclockwise Be sure to include each of the following: State Diagram State Assignments Next State Table Boolean equations for next state logic and output logic Build the circuit in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT