Team iGEM UNILausanne code for controlling the FROZONE device
Table of Contents
Here's the code for controlling the FROZONE device used to measure Antifreeze proteins characteristics. For more information: https://2021.igem.org/Team:UNILausanne/Software The 3D file for the build is in peltier-assembly.stl more info on https://2021.igem.org/Team:UNILausanne/Experiments
EDNA is written in Python so, you must have an environment with all the necessary libraries for it to function.
- python libraries
pip install tk pip install pyvisa pip install simple-pid pip install matplotlib
- Clone the repo
git clone https://github.com/igemsoftware2021/UNILausanne-Frozone
For the code to function on your setup you need to replace the id of your instruments directly into the code.
try:
U1272a = rm.open_resource('ASRL4::INSTR') # Insert here the name of thermometer module
DLM6010 = rm.open_resource('GPIB0::29::INSTR') #Insert here the name of power supply (find names in the NIMAX software in scan devices)
DLM6010.write('SOUR:CURR 5.0')
To run the code you can simply run from your code editor or from the terminal
python EDNA.py
The GUI is pretty straightforward, a spinbox to change the temperature, and an excel file is written on exit of the program.
iGEM UNILausanne 2021 - Website - [email protected]
Project Link: https://github.com/igemsoftware2021/UNILausanne-Frozone