The purpose of this lab is to use an Arduino over the serial port and collect some sort of data with a sensor. Our lab group chose to use a temperature sensor, with the output collected on the serial monitor and displayed on an OLED display. The sensor was proving unable to read anything above room temperature, so we had it read lower temperatures by moving it towards a cold source and collecting those changes in temperatures.
Shown in the code above, a data point is collected, the period is printed, then the data value onto the serial monitor. The data value is also displayed on the OLED.
Looking at the data above, the important columns to note are Room Temperature and Collected Temperature. You can see while there are very small changes in Room Temperature, there is a greater difference between data points in the Collected Temperature column (when a cold source approaches).
You can tell that the generative model produced data very similar to the data we collected because the means of mu1 and mu2 are quite close to the means of x1 and x2.