Question: In this project, you will simulate a car sensor system using MIPS assembly language. The goal is to create a program that collects sensor values
In this project, you will simulate a car sensor system using MIPS assembly language. The goal is to create a program that collects sensor values and displays these sensor readings as output, while also checking if any of the sensor values go above or below expected ranges, and printing warnings accordingly.
Project Requirements:
Sensor Simulations: You are required to simulate the following car sensors:
Temperature Sensor: Simulate temperature readings.
Speed Sensor: Simulate the car's speed.
Fuel Level Sensor: Simulate the fuel level in gallon.
User Input: The program should allow the user to input sensor values. Prompt the user for input values for each sensor
Data Processing: Implement logic to process the sensor data. For example:
Temperature in deg F :
o Warn if or
Speed in mph:
o Warn if mph
Fuel Level :
o Range: empty to gallon Ask about the gallon then convert to
o Warn if gallon
Output: Display the sensor readings, any processed information eg temperature in Fahrenheit and warnings for values outside expected ranges.
Commenting: Provide meaningful comments in your code to explain the purpose and functionality of each section of the program.
Deliverables:
A wellcommented MIPS assembly program that simulates the car sensor system and includes range checking and warnings.
A README file with instructions on how to run the program, explanation of the range checks and warnings, and any additional features you have implemented.
Sample Input and Output:
Evaluation Criteria:
Your project will be evaluated based on the following criteria:
Correctness of sensor simulations and data processing, including range checks.
Proper use of MIPS assembly language instructions.
Clarity and organization of your code.
Creativity in implementing additional sensors or features if attempted
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
