QUESTION 3 (14) A client wants to measure the speed of a car on a racetrack. The speed of the cars is around 200km/h. Yo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

QUESTION 3 (14) A client wants to measure the speed of a car on a racetrack. The speed of the cars is around 200km/h. Yo

Post by answerhappygod »

Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 1
Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 1 (50.68 KiB) Viewed 83 times
Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 2
Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 2 (57.17 KiB) Viewed 83 times
Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 3
Question 3 14 A Client Wants To Measure The Speed Of A Car On A Racetrack The Speed Of The Cars Is Around 200km H Yo 3 (57.17 KiB) Viewed 83 times
nothing to add, the question is like this hence it confuses me
QUESTION 3 (14) A client wants to measure the speed of a car on a racetrack. The speed of the cars is around 200km/h. You need to write a program in C or Assembly language for an MSC8051 micro controller with the following specifications: You have 2 sensors, placed 1 meter apart. The sensors have normally high outputs. When a car passes them, it will produce a pulse with a falling edge and then return to high. The first sensor is connected to P3.2, the external interrupt 0 input and the next sensor is connected to P3.3, the external interrupt 1 input. When a car passes the first sensor you must start Timer O and when the car passes the second sensor, Timer O must stop. Assume you use a 12 MHz crystal. Use Timer 0 in 16-bit mode. Assume you have a header file called LCD.h with a function called "LCD Variable_Wr (5, x pos, y pos, Speed)" that will display an integer variable called "Speed" on the top line, position of a 16x2 line LCD display unit. The speed must be displayed in m's on the top line and in km/h on the bottom line. (Hint 1: make use of interrupts for external interrupt 0 and 1. You do not need touse Timer 0 in the interrupt mode).

QUESTION 3 (141 A client wants to measure the speed of a car on a racetrack. The speed of the cars is around 200km/h. You need to write a program in C or Assembly language for an MSC8051 micro controller with the following specifications: You have 2 sensors, placed 1 meter apart. The sensors have normally high outputs. When a car passes them, it will produce a pulse with a falling edge and then return to high. The first sensor is connected to P3.2, the external interrupt O input and the next sensor is connected to P3.3, the external interrupt 1 input. When a car passes the first sensor you must start Timer 0 and when the car passes the second sensor, Timer O must stop. Assume you use a 12 MHz crystal. Use Timer 0 in 16-bit mode. Assume you have a header file called LCD.h with a function called "LCD_Variable_Wr(5, x pos, y pos, Speed)" that will display an integer variable called Speed" on the top line, position of a 16x2 line LCD display unit. The speed must be displayed in m's on the top line and in km/h on the bottom line. (Hint I: make use of interrupts for extemal interrupt 0 and 1. You do not need touse Timer O in the interrupt mode).
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply