EE344 Lab 5

EE344 Lab 5

Subject: Stepper Motor

Description:

A 4-pole stepper motor has 4 inputs and can rotate clockwise and counterclockwise in either 90 degrees (full step mode) or 45 degrees (half step mode) per step. The diagram of a 4-pole stepper motor is shown in Figure 10.8. As long the user applies the sequence given in Table 10.1, the stepper motor will rotate a cycle in full-step mode. If the user applies the sequence given in Table i0.2, the stepper motor will rotate a cycle in half-step mode.

A button is connected to the PC13 pin in your demo kit. This button allows you to generate an interrupt to the microcontroller. The user press this button to start the rotation in the following manner forever:

When the user presses the button for the first time, the stepper motor rotatesin the following manner:

  1. The motor rotatesclockwise in full-step mode for 5 seconds.
  2. The motor rotator counterclockwise in full-step mode for 5 seconds.
  3. The motor rotator clockwise in half-step mode for 5 seconds.
  4. The motor rotator counterclockwise in half-step mode for 5 seconds.

When the user presses the button for the second time, the stepper motor rotates in the following manner:

2.1 The motor rotates counterclockwise in half-step mode for 5 seconds.

2.2 The motor rotates clockwise in half-step mode for 5 seconds.

2.3 The motor rotates counterclockwise in full-step mode for 5 seconds.

2.4 The motor rotates clockwise in full-step mode for 5 seconds.

Due: Demo on 10/24/2019,

Leave a Reply

Your email address will not be published. Required fields are marked *