Those students who could not pass the course because the oral exam have a second opportunity to pass the course. Those students would need to :
- deliver a slightly different version of the project work AND
- make an exam in Lovelace (after the project work has been delivered). When exam is open you have 24 hours to complete the exam.
Students who need to retake the project part of the have been contacted / will be contacted by email.
Deadline for delivering the projects is 29th of February 2024
Students who deliver by 29th o February are having a significant reduction of the points. Check Assessment below.
Requirements to be able to retake the project part of the course¶
- Your team has delivered a version of the final project before the official deadline and have had the feedback meeting
- You have at least 18 points in the C exercises.
Assessment¶
- Final project (following instructions below) will be evaluated as PASS/FAIL. Pass will be given if the project meets ALL requirements specified below.
- Lovelace exam will be evaluated as PASS/FAIL.
Students who have a PASS in both parts (project and Lovelace exam) will get 12 points, that will be added to the C exercises. Grade will be calculated using the same criteria as in the course. Maximum grade is 2.
Instructions for the final project (''Simplified Sensor tag tamagochi'')¶
Here are instructions for the final project
Requirements for the project¶
You need to complete a simplified version of the tamagochi either individually or as a team.
IMPORTANT NOTE if you work as a team. You should clearly indicate which part of the code was written by each member of the team. All members of the group should be able to explain the different parts of the code if course staff requires a meeting with the group.
Requirements for the simplified version of the project
- You must reuse the skeleton program from the laboratory exercise.
- Finite state machine is recommended but not required
- Your Sensor tag should be able to send messages to the backend through the gateway
- If you have problems installing the gateway use the course virtual machines from any of the class computers.
- Do not use the Tamagotchi backend. Visualizing the commands in the gateway is enough
- Your sensor tag should collect data from the MPU sensor (mainly ax, ay and az).
- Your sensor tag should be able to send a message to the UART when the values of either ax, ay, az reach a provided threhold. The format of the messages and the thresholds are provided below.
if(ax > 0.95 && ax < 1.05){ sendToUART("id:yourid,MSG1:right,ping"); } else if (ay> 0.95&& ay < 1.05){ sendToUART("id:yourid,MSG1:up,ping"); } else if (az> 0.95 && az < 1.05){ sendToUART("id:your_id,MSG1:top,ping"); }
Please substitute
your_id
with your own tag id.- Voluntary: Your sensor tag should be able to read a message of the UART with the text
pong
. When this text is received, you must print the "pong" text in the debugger console and turn on/off a sensor tag LED. - You must be able to turn on/off any of the two board LEDs when any of the two buttons is pressed.
- At the beggning of the code you should have a section with comments including the following information:
- Number of tasks you are using, function implementing each task, main parameters of each task, and explanation of the functionilty of each one of the tasks you are using.
- Number of interruptions you are using. For each interruption, you should define: interruption source, interruption handler, and short description of each interruption
- Enumerate how many serial communication communication protocols you are using. Describe which are the devices involved in the communication and a short description on how data is transferred.
- In addition, 'each member of the team must include an individual reflection in the comments. Each reflection paragraph should clearly specify which are the tasks performed by each student. The reflection must discuss about the parts that were not completed or understood from the original deliverable, what student have learnt since then, and how does this learning is visible in the code.
- The project will not be evaluated if it does include the reflection for each member of the team or the comments discussing the theoretical part.
Delivering the code¶
- Deliver the code in the return box below.
- Each member of the team must deliver a single version of the code, even if the code is the same. If you are working in a team remember to mark clearly within the comments who has written each code part.
After deliver the code¶
Contact by email with the course instructor so he can open the exam.
Exam¶
Once you have delivered the project code, and communicate to the teacher via e-mail, you will have 24 hours to answer a Lovelace exam. The opening time of the exam will be communicated by email. The exam contains 10 questions
Instructions for the exam¶
- Exam is multiple choice exam. Please, read carefuly the question. Some questions have only one valid answer, some questions have multiple valid answers.
- You can use any available material.
- You have 3 different attempts to complete the complete exam. After 3 attempts the exam will close. Your grade for the exam is determined by the last attempt.
- Each exam is slighly different for each student.
Assessment¶
You need to get at least 7/10 points to get a PASS in the exam.