Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

It is intended to design a speedometer system to measure the speed of an object falling through a column of water and display it on

image text in transcribed

It is intended to design a speedometer system to measure the speed of an object falling through a column of water and display it on a PC. You are equipped with the following: A 1MHz clocked AVR ATmega32. Note, datasheet excerpt appended to this paper. Two optical sensors namely START and STOP located one meter apart. Each sensor goes high when the object passes it. .A PC running HyperTerminal software with a functioning serial interface. Assume the following; Only PORTD.2 and PORTD.3 and the USART serial communication interface pins available. You are only allowed to use TCNTO. The most logical implementation is required. Answer the following questions: a) Discuss with the help of a block diagram (with pin connections and interfaces) how to implement the system. b) Determine the value to load in TCCRO at a prescaler value of 1024 operating in the normal mode. What c) For a baud rate of 1200, asynchronous operating mode, 8 data bits, no parity and 1 stop bit, determine d) Write the program to display the speed on the PC is the maximum and minimum speed measured without timer rollovers at this setting. 131 the values to be loaded into the following registers; UCSRB, UCSRC, UBRRL (10) It is intended to design a speedometer system to measure the speed of an object falling through a column of water and display it on a PC. You are equipped with the following: A 1MHz clocked AVR ATmega32. Note, datasheet excerpt appended to this paper. Two optical sensors namely START and STOP located one meter apart. Each sensor goes high when the object passes it. .A PC running HyperTerminal software with a functioning serial interface. Assume the following; Only PORTD.2 and PORTD.3 and the USART serial communication interface pins available. You are only allowed to use TCNTO. The most logical implementation is required. Answer the following questions: a) Discuss with the help of a block diagram (with pin connections and interfaces) how to implement the system. b) Determine the value to load in TCCRO at a prescaler value of 1024 operating in the normal mode. What c) For a baud rate of 1200, asynchronous operating mode, 8 data bits, no parity and 1 stop bit, determine d) Write the program to display the speed on the PC is the maximum and minimum speed measured without timer rollovers at this setting. 131 the values to be loaded into the following registers; UCSRB, UCSRC, UBRRL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

1. How does Kiwi Experience maintain a continual customer focus?

Answered: 1 week ago