1. Task programming on FreeRTOS ([login to view URL])
Use the examples in Chapter 3, Section 3.4 of the FreeRTOS manual (“Mastering the
FreeRTOS Real Time Kernel”) to create three periodic tasks. Assign different priority values to
the tasks.
Task 1 (highest priority) monitors a parking lot in the Discovery Park. It generates random
coordinates (x,y) of a car and uses the Euclidean distance and period to calculate the speed
of the car (output). If the speed is above 10 (to simulate 10 mph), a warning is generated.
Task 2 (medium priority) simulates an occupancy monitoring system for B190. Each time
(simulates one hour) a random value between 20 and 50, representing the number of
students in B190, is generated. Task 2 calculates the accumulated sum, average, maximum
and minimum number of students as output, and clears the statistics after every 24
readings (i.e., one day).
Task 3 (lowest priority) records the power and energy consumption of the Discovery Park.
A power reading (random number between 10KW and 200KW) is sent to Task 3 every
minute (simulated). Task 3 estimates the energy consumption by calculating Power*Time.
The total energy consumption in a month and spikes of power use (i.e., instant power
reading >= 5 * average power use) are outputted.
a.) Create the three periodic tasks. They generate random sensor readings in memory.
Simulate their execution and measure the average response time of each task. Also record the
arrival times of jobs of the three tasks and check if there is any pattern.
b.) Task 1 reads random (x,y) coordinates from a file, while Task 2 and Task 3 still generate
random sensor readings in memory. Simulate their execution and measure the average response
time of each task. Compare the results from a.) and b.) .
I m software engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you
Relevant Skills and Experience
C programming
Proposed Milestones
$250 USD - Milestone
i've been working freertos for more than 3 years and developed software on vxworks more tham 10years
I can develop it for you and calculate performance and report the
Let me know if i can help