Physic Laboratory¶
The data can be send with USART2 to the computer. To change between the external/internal ADC (ANALOG) and the MAX circuit (DIGITAL) switch the corresponding switch on the bottom layer. The current state is shown with the LED:
Blue for digital = MAX
Orange for analog = External + internal
UART Settings¶
Baudrate: 115200
Data bits: 8
Stop bits: 1
Parity: N
Protocol:¶
General: SAMPLE,<Temperature Channel I>, <Temperature Channel II>
Information messages:
Current reading configuration:
Ex: SAMPLE,LTC,INTERNAL,MAX
No channel enabled:
No channel activated
Counter Reset:
== RESET COUNTER ==
Switch control¶
Left joystick switch:
Enable/ Disable Channel I (left).
Current state is displayed with the green RGB-LED (On == Channel Enabled)
Right joystick switch:
Enable/ Disable Channel II (right).
Current state is displayed with the blue RGB-LED (On == Channel Enabled)
Center Switch button:
Resets the sampling counter
Sends the current channel configuration
Warning
Be careful to not connect the thermocouple to ground as the measurements can become incorrect or the device returns an error. This includes a connection via water, heating device and computer charging cable.
Serial Monitor¶
There are several programs available to help with this. However, we recommend the Visual Studio extension VS-Code Serial Monitor or the standalone program HTerm. Serial Monitor can be installed in the vs code explorer (open with Ctrl+P) with:
ext install ms-vscode.vscode-serial-monitor
One standalone tool mentioned for Windows and GNU/Linux is HTerm. Terminal-based emulators for GNU/Linux can also be used like screen, minicom, or putty. Feel free to use whichever you like.
In the VS-Code extension, you can add a Log File directory in the serial-monitor settings, where the received data is immediately stored in a text file. Import the file in an editor like libre-office-calc or excel and render it as a comma-separated file (csv).