What is the shortest period that you can measure

Assignment Help Basic Computer Science
Reference no: EM131088985

Pulse-width measurement. Use the input-capture function to measure the pulse width. The procedure is as follows:

Step 1

Set the function generator output to be square wave and adjust the output to between 0 and 5 V. Connect the signal to the PAI (PT7) pin.

Step 2

Connect the signal to an oscilloscope or a frequency counter to verify your measurement.

Step 3

Output the message "Do you want to continue to measure the pulse width? (y/n)".

Step 4

Set up the appropriate period (frequency) of the signal to be measured and enter y or n to inform the microcontroller if you want to continue the measurement.

Step 5

Your program would read in the answer from the user. If the character read in is n, then stop. If the answer is y, then repeat the measurement. If the character is something else, then repeat the same question.

Step 6

Perform the measurement and display the period in μs in decimal format on the screen and go back to step 3. Use as many digits as necessary. The output format should look like

The signal period is xxxxxx microseconds.

Crank up the frequency until the measurement becomes inaccurate. What is the shortest period that you can measure?

Reference no: EM131088985

Questions Cloud

Ethical dimensions of automation : One theme is the changing landscape of operations management due to technology. The following is meant to explore and expand on the ethical aspects of applying automation to services.  Relate the following belows
Determine depreciation amounts by three methods : Ralph's Pizza bought a used Toyota delivery van on January 2, 2012, for $18,600. The van was expected to remain in service for four years (35,000 miles).
Acceptable for drug makers to market products : Is it acceptable for drug makers to market products directly to drugstore customers, using past patient records as indicators of the drugs they might need? Are there any legal or ethical ramifications doing so?
By using the time machine you tranported your self : one day when you woke up you saw doreman in you room. he has a time machine, by using the time machine you tranported your self to the STONE AGE. There you met some caveman you managed to speak to them as they spoke english:
What is the shortest period that you can measure : Crank up the frequency until the measurement becomes inaccurate. What is the shortest period that you can measure?
Fuel over-inflation of some activities : Since departmental PMEFs must directly support one of the eight NEFs, do you think that might fuel "over-inflation" of some activities in order for a department to be viewed as having increased importance?
Display advertisement in a microsoft word document : Create a short display advertisement in a Microsoft Word document and attach it to your posting to share it with classmates, and include a short explanation of who your target market is.
Using the introduction and topic sentences writing skills : Currently the United States does not have an official language. Citizen's actions groups-US English and ProEnglish have been lobbying to have English declared as the official language of the United States since the time of John Adams.
Current trends in business communication : 350-word paper describing current trends in business communication. Be sure to address the following questions in your paper: What role does business communication play in your day-to-day work activities?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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