Mechatronics Portfolio - Nick Greco
Lab 0x02: Think Fast

Summary

This lab was a two part assignment; part A was completed in tandem with Davide Lanfranconi, and the code presented is identical to Davide's final submission, which is an extension of work completed by the both of us.

Source Code for part A: https://bitbucket.org/nicho755/me-305-labs/src/master/ME405_Lab0x02_ThinkFast/ME405_Lab0x02_PartA.py Source Code for part B: https://bitbucket.org/nicho755/me-305-labs/src/master/ME405_Lab0x02_ThinkFast/ME405_Lab0x02_PartB.py

Engineering Requirements

For Part A, we were required to use a Nucleo L476RG and make use of interrupts in order to accomplish reaction time measurement analysis.

For Part B, we were to improve the timing of our code's execution by using Input Capture (IC) and Output Capture (OC) functions. We connected the pins C13 and B3 to trigger an IC callback, as opposed ot the extenal interrupt mehtod used before.