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:
1. 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.
2. User Input: The program should allow the user to input sensor values. Prompt the user for input values for each sensor.
3. Data Processing: Implement logic to process the sensor data. For example:
Temperature (in \deg F ):
o Warn if <34 or >100
Speed (in mph):
o Warn if >65 mph
Fuel Level (%):
o Range: 0%(empty) to 100%15 gallon). Ask about the gallon then convert to %.
o Warn if <10% gallon
4. Output: Display the sensor readings, any processed information (e.g., temperature in Fahrenheit), and warnings for values outside expected ranges.
5. Commenting: Provide meaningful comments in your code to explain the purpose and functionality of each section of the program.
Deliverables:
1. A well-commented MIPS assembly program that simulates the car sensor system and includes range checking and warnings.
2. 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:
1. Correctness of sensor simulations and data processing, including range checks.
2. Proper use of MIPS assembly language instructions.
3. Clarity and organization of your code.
4. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!