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

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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