Science, asked by sonalinaik13122000, 6 months ago

Write a program in 8085 interfacing with 8255 to control a stepper motor to run at a fixed speed of 6000RPM. Assume processor clock speed = 2MHz. Submit the complete program along with necessary calculations for Time delay and flow chart of the program​

Answers

Answered by jeevanjha062
1

Answer:

Stepper motor is an electromechanical device that rotates through fixed angular steps when digital inputs are applied. It is suitable for precise position, speed and direction control which are required in automation system.

The angle through which stepper motor rotates with a fixed angle for each digital data is called step angle.

Different stepper motor has different step angle. The more frequently used stepper motor has step angle of 0.9 degrees and 1.8 degrees.

Depending on the sequence applied to stepper motor, it can be classified in two category:

1. 4- Step sequence or full step sequence

2. 8- Step sequence or half step sequence

Calculations:

1. Total no. of steps=

Ex: = 200 steps are required to complete one rotation

2. Total no. of repeated steps=

Ex: = 50 repetition of sequence = (32) in Hexadecimal.

4-Step sequence:

In this type of functioning, the following 4 binary sequence/code are used for rotation: (Considering step angle= 1.8 degrees)

Stepper Motor Interfacing with 8085

8-Step Sequence:

In this type of functioning, the following 8 binary sequence/code are used for rotation: (Considering step angle= 0.9degrees)

Stepper Motor Interfacing with 8085

Chips select Logic:

Stepper Motor Interfacing with 8085

Control word Format:

Stepper Motor Interfacing with 8085 =80H

Program:

Stepper Motor Interfacing with 8085

In the above program in look up table if the 4-step sequence for clock wise then stepper motor will rotate in clockwise direction and if the 4-step sequence for anti-clock wise then stepper motor will rotate in anti-clockwise direction.

Speed control of stepper motor is achieved by writing program to rotate stepper motor continuously in delay program. We can change the delay between two steps and thus change the speed of stepper motor.

Interfacing diagram of Stepper motor with 8085

Stepper Motor Interfacing with 8085

Similar questions
Math, 2 months ago