Copyright Jericho Lab. 2021
Explore. Measure. Understand.
10 of 16
HOW TO UPLOAD THE SOURCE CODE TO THE TDL.
The TDL already comes ready-to-use, but you might want to make some changes to the source code or
use the latest release.
1-
Download the latest source code on the Jericho website.
2-
Open this code file with the Arduino IDE software.
3-
Make the desired modifications to the code, if any.
4-
Before uploading to the TDL, you need to copy, by hand, the thermistor coefficients associated
with your device into the source code.
5-
Connect the Arduino to the USB port
6-
Make sure that the proper USB port is selected by the software.
7-
Compile and upload the code to the TDL.
For more help, visit arduino.cc or ask the community: the Arduino platform is very common worldwide.
HOW TO LOG DATA TO FILE EASILY
The Arduino IDE can hold large quantities of data inside the serial monitor window. However, this data is
kept in memory temporarily, and eventually the data has to be copied to a text file for permanent
storage. There is alway a chance that the computer or program would shutdown before doing that
operation. It is therefore best to save data as we go to a text file. There are a few different ways to log
the data, depending on your setup and skills.
For Linux users, the ‘logging script’ can be used.
1-
Download the latest ‘logging script’ from the Jericho website.
2-
Open a new Terminal window.
3-
Go to the script folder.
4-
Launch the script.
5-
After a few seconds of data logging, open the text file to make sure that data is being saved.
6-
(Optional) Launch the gnuplot script in a second window for a live visualization of the data.