Generate an interrupt to the microcontroller

Assignment Help Other Engineering
Reference no: EM132396767

Lab : 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.

1910_Fig 1.jpg

509_Fig 2.jpg

1556_Fig 3.jpg

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.1 The motor rotatesclockwise in full-step mode for 5 seconds.

1.2 The motor rotator counterclockwise in full-step mode for 5 seconds.

1.3 The motor rotator clockwise in half-step mode for 5 seconds.

1.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.

Reference no: EM132396767

Questions Cloud

Write a memo to your supervisor that explains technique : Write a memo to your supervisor that explains your chosen interviewing technique, the method, and your reasoning for selecting it.
Required return on the less risky stock : By how much does the required return on the riskier stock exceed the required return on the less risky stock?
Design and implement a new encryption - decryption cipher : Describe the weaknesses and strengths of each of those ciphers and explain why you decided to base the design of your own encryption/decryption cipher upon
ACC511 Managerial Finance Assignment Problem : ACC511 Managerial Finance Assignment - Project Evaluation Report, Assessment Help and Solution - University of the Sunshine Coast, Australia. Calculate the NPV
Generate an interrupt to the microcontroller : EE344- Generate an interrupt to the microcontroller. The user press this button to start the rotation in the following manner forever.
Contemporary business problems : Assessment Two – Solution Plan - Synthesise requirements and recommend a number of tested and verifiable solutions to address limitations to contemporary
Define methods to protect personal rights of someone : Ensuring the protection of human subjects is necessary when conducting research projects. What are some methods that can be used to protect personal rights.
Create a new tree of our ancestory : Create a new "tree" of our ancestory and all the hominins we've discussed and will discuss. You can use use coggle.it in order to create your tree.
Required rate of return on a stock with a beta : Assume that the risk-rate is 5.5% and the required return on the market is 12%. What is the required rate of return on a stock with a beta of 2?

Reviews

Write a Review

Other Engineering Questions & Answers

  Interval for preventing intersymbol interference

What is the minimum guard time interval for preventing intersymbol interference? What is the maximum data rate (BPSK signaling) where minimum SINR is 40 (in linear scale)?

  Create an image of the pacman character

Create an image of the Pacman character. Start by entering the coordinates for the Pacman image shown below. You will not draw the points. These are just to help you create the vectors for the Pacman figure.

  What is the pressure drop across the pipe

what is the pressure drop across the pipe? what is the shear stress exerted on the pipe boundary? what is the shear velocity? what is the darcy friction factor?

  Measured lift and drag coefficients

The measured lift and drag coefficients for each rotor were about 10 and 4, respectively. If the ship is moored and subjected to a crosswind of 25 ft/s, as in Fig, what will the wind force parallel and normal to the ship centerline be? Estimate th..

  The test statistic for the hypothesis test

If you randomly select 1 M&M plain candy, what is the probability That the candy will weigh less than 0.8535 g?

  Consider to produce an appropriate mission

What factors do you feel are most important to consider to produce an appropriate mission and vision statement for an organization?

  Demonstrate a burglar alarm system with four zones

This lab will demonstrate a burglar alarm system with four zones which displays the active alarm zone number on the display.

  Consider an axle used to drive the wheels of a car.

Consider an axle used to drive the wheels of a car. The wheel radius is 11.25 inches, while the axle radius is 1.25 inches. What is the mechanical advantage?

  Understand limitations of a network design

MN503 - Analysis of the current network - Analyse the current network configurations and suggest two application scenarios - Design a detailed Network in Netsim

  What risk issues exist in the exiting of the client

Evaluate the rationale for, and key components of, Customer Due Diligence (ODD) criteria used to determine the risk

  Using boolean algebra techniques

1) Which Boolean law is used to transform each of the following equations? a.    B + (D + E) = (B + D) + E

  Construct truth tables and assess the validity of arguments

Assignment: Constructing Truth Tables In this assignment, you will construct truth tables and use them to assess the validity of arguments.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd