, ,

[SOLVED] CSE 237A Winter 2023: Individual Project Part 2

$25

File Name: CSE_237A_Winter_2023:_Individual_Project_Part_2.zip
File Size: 442.74 KB

Rate this Assignment

CSE 237A Winter 2023: Individual Project Part 2

Part 2 of 2: Sensor interaction and real-time scheduler Assignment

In this part, you will implement a program which interacts with the RPi4’s sensors. The RPi4 provides multiple General Purpose Input/Output (GPIO) connectors, which carry signals to/from the sensors. You will connect the sensors to the RPi4, and implement a user space program using the WiringPi library for GPIO communications. The program you will create emulates a sensor platform that detects emergency situations in operating vehicles. Subsequently, you will use the base code that extends sensors with longer latencies, on which you will implement your energy efficient scheduler.

Complete the following steps:

  1. Familiarize yourself with wiringPi: http://wiringpi.com/

  2. Connect the sensors with RPi and implement a sensor interaction program based on skeleton code available in the projects folder on class website (part2.zip)

  3. Update your sensor interaction program, which now includes latencies, to implement a list scheduler considering task dependencies

  4. Implement an energy-efficient scheduler for your application. The scheduler should manage the provided standard workloads.

Submission:

  1. Demo on 2/7/23 the sensor interaction with RPi to the TA. Build and run your sensor program with an unmodified version of “main_section1.c”. The TA will test the various sensing and actuation scenarios.

  2. Submit these files into GradeScope (Due: 23:59:59 PST, 2/21/23)

    1. Four source files: assignment1.c, assignment1.h, assignment2.c, and assignment2.h

    2. A report on the implementation of both the sensor interaction program and energy-efficient scheduler. Provide a table for the three provided workloads that reports the estimated CPU energy consumption and the number of missed deadlines.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CSE 237A Winter 2023: Individual Project Part 2
$25