MATLAB Code

One of the most crucial elements of this entire project was both that of the EEPROM data gathered after testing our designs, and the EEPROM data gathered from our final run.

The EEPROM data was collected by connecting the AEV to a computer and running a pre-given MATLAB file, which would download data from the Arduino Nano board and insert it into an Excel file. This data includes time, mark count, current, and voltage. Our task was to create a separate file that would use the EEPROM data as inputs for our own calculations, which turned the gathered EEPROM data into observable physical parameters.

Using the formulas above, we were able to convert the collected EEPROM data into physical parameters. These calculations were inserted into the following MATLAB program:

PhysicalParametersMATLAB