cu-ecen-aeld / final-project-atharvdesai1996

final-project-atharvdesai1996 created by GitHub Classroom
0 stars 0 forks source link

Developing FreeRTOS Application to handle TMP-102 and Fingerprint Sensor tasks #8

Closed atharvdesai1996 closed 4 years ago

atharvdesai1996 commented 4 years ago

ToDo: Developing FreeRTOS Application to handle TMP-102 and Fingerprint Sensor tasks

DoD: The FreeRTOS application should be able to schedule two tasks of acquiring the TMP-102 sensor reading and Fingerprint sensor interrupt and sending the appropriate temperature sensor readings to the BeagleBone Server once the car owner's Fingerprint is matched

atharvdesai1996 commented 4 years ago

I was facing this eccentric issue as seen in the screenshot that my UART 3 pins weren't shown as defined. Even though, pin_map.h header file had the initializations, I wasn't able to figure out the issue even though the required libraries were included. So, finally I directly defined those macros mapped with the addresses in pin_map.h

freertosdoubt1

Solution:

freertosdoubt2

atharvdesai1996 commented 4 years ago

### ### Result**** The code uploaded is able to schedule two tasks , TMP102 sensor reading reception task and the Fingerprint sensor matched/ not matched status checking task

Code

queue_functional

--> The Screenshot shows that the data i.e the 10 temperature sensor readings are being transmitted to the BeagleBone Server on UART 4 of Tiva client

aakshajaywant commented 4 years ago

### Result

--> Below shows the output of the Set up of Client 1 TIVA. I integrated two sensors namely the Fingerprint and the Temperature Sensor

--> I have gotten the FreeRTOS Schedular running and functional with required Queue Implementation and Locking Mechanism to increase the robustness and handle the Worst Case Scenarios

IMG_20200426_224432

Below is the Code Link Code