Page 1 of 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

Posted: Sat Nov 27, 2021 10:38 am
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 85 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 85 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 85 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).