Calibration
An overview of what happens in the software during a calibration
Last updated
An overview of what happens in the software during a calibration
Last updated
For GUI calibration guides see here.
Communication between the computer and the server is done via websockets.
For more about commands and microcontroller - server communication via serial see here.
GUI connects to the server via websockets
The user has the GUI sends a temperature off command: tempi,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,4095,_!
The server passes this to the Arduinos and the temperature Arduino enacts that command
The server receives temperature data broadcast from the server
The user waits for temperatures to equilibrate in the vials
The user measures values from an independent temperature probe for each vial and records these in the GUI
The user has the GUI record 3 values at this temperature from the server
Steps 2 - 7 are repeated for two higher temperature values
When 3 values for 3 different temperatures have been collected, the GUI saves the raw sensor data and the temperature probe data on the server in calibrations.json
The GUI uses calibrate.py (guide here) to fit raw sensor data from the eVOLVER to experimental temperature probe values (in this case a linear regression)
calibrate.py uses websockets to fetch the sensor and experimental data from the server for a previously run calibration, then does the fit according to the users specifications
The GUI will automatically run this script upon completion of a calibration, but it is also possible to run manually via the command line to fetch .png files for the calibrations if desired.
The GUI adds the calibration fit values to calibrations.json
The user can now select this calibration as the active one via the GUI Setup page