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?
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?
|