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

  What strategies appeal most to you summarize your ideas

Research recruiting and retention strategies at three different companies. What distinguishes one company from another in this area?

  A program that will prompt the user for a date and a time

It's to be written in C++. You will be writing a program that will prompt the user for a date and a time. For the date, the user will be asked to enter in three integers (month, day, year). There will be four functions related to the date:

  Will the new procedure do any better

Will the new procedure do any better?

  Write a program that checks a text file for several

Write a program that checks a text file for several formatting and punctuation matters. The program asks for the names of both an input file and an output file.

  Eliminate interference between access points?

eliminate interference between access points?

  Critically evaluate the use and importance of clusters

Critically Evaluate The Use And Importance Of Clusters As Enhancing National Competitiveness. Provide evidence of both academic referances and real-life examples to support your answer.

  Fuel consumption rating and average cost of fuel

Determine the cost to drive each distance at the given fuel consumption rating and average cost of fuel.

  Will the new procedure do any better

Why do you think it may not have caught this particular project? Will the new procedure do any better?

  History and implementation of object oriented databases

Write a 3-4 page paper that describes any one of the topics in detail. Include a discussion on the following subject areas and include any graphs.

  Summer vacation working as a waiter

A college student earned $7300 during summer vacation working as a waiter in a popular restaurant. The student invested part of the money at 7% and the rest at 6%. If the student received a total of $458 in interest at the end of the year, how muc..

  Z-tranforms and convolution in matlab

Do problem 2c and 2d from homework of week 5 in Matlab.(c) and express it in positive powers of z. When computing the value of trigonometric functions, keep in mind that the arguments are always in radians and not in degrees.

  How the technology creates or contributes to the problem

Choose one ethical issue arising from the use of ICT that has been reported in the press in the last one year, and discuss it in depth. Show why or how the technology creates or contributes to the problem.

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