Skip to main content

Graphical user interface to configure the Autonomous Temperature Pressure Sensor TP99 and download the registered data

Project description

TiPi99

Graphical user interface to configure the Autonomous Temperature Pressure Sensor TP99 and download the registered data.

Install

  1. Download and install Miniforge
    Anaconda and Miniconda work the same way, but Miniconda uses free and openly-licensed packages from the conda-forge project by default. More info.

  2. From miniforge/anaconda prompt (windows) or terminal (Ubuntu & MAC) create a virtual environment with name "my_env":

conda create -n  my_env pip
  1. Activate the virtual environment with
conda activate my_env
  1. Install TiPi99 with:
pip install TiPi99
  1. Launch TiPi99:
TiPi99

Shortcut

In windows the TiPi99.exe can be found in the virtual environment Scripts folder, usually something like:

  • C:\Users\username\anaconda3\envs\my_env\Scripts
  • C:\Users\username\miniconda\envs\my_env\Scripts

To check where the virtual environment has been installed:

conda env list 

Manual

'Serial' Tab: Starting page

[!Caution] The TP99 device once turned on automatically searches for a serial connection for 5 seconds during which the device LED flashes. If the serial connection is not found, the device enters the 'logger' mode and starts recording new data, overwriting the old data in memory. For this reason, it is necessary to start the search of the TP99 device before connecting it by USB cable.

Tab_1_Serial_Connect

  • Search TP99

    • starts the automatic search for the TP99 device and wait for the USB cable connection.
  • Update Port List

    • for debug purpose, it updates and show all the COM ports available in the pc. By clicking on the name of the displayed COM you can see the details.

'Serial' Tab: Device Found

Tab_1_Serial_Connected

  • Test Detector

    • read T and P from the sensor
  • Test LED

    • turn the device LED ON/OFF
  • Set Name

    • shows the name of the connected device (maximum length 8 characters). The name is saved in the device memory and can be changed.
  • Set log time in sec

    • shows the time between each measurement in seconds and the total available duration (depends on device memory).
  • Set battery date

    • shows the date the device battery was installed. Must be updated when changing the battery.
  • Download Device Memory

    • download the data saved in the device memory. The data are showed in the 'Data' Tab and plotted in the 'Plot T', 'Plot P' and 'Plot TP' tabs
  • Save Data

    • save the data to file using 3 formats: csv, txt and npy (numpy format)
  • Erase Device Memory

    • Erase the memory of the device, to be used to clear old data from a previous measurement from memory, so that it does not interfere with the data from a more recent measurement.

[!IMPORTANT] Data can also be imported from previously saved files, see the menu.
The file containing the test measurement data, performed up to around 300 bar and used for the following figures, is located in the "example" folder.

'Calc' Tab

Calculator to estimate the optimal log times to use for a measurement.

Tab_2_Calc

The "Start" and "Stop" tabs allow you to choose the start and end dates of the measurement on the calendars. The hour, minutes and seconds can be further added in the appropriate input areas.

  • Calc
    • estimate the two closest log times

The two log times are displayed with their corresponding end dates next to them.

'Data' Tab

Displays loaded data (from device memory or file) in table form.
The starting date of the Date column can be changed by the Set new starting date in the 'Plot T' Tab.

Tab_3_Data

'Plot T' Tab

Displays the temperature and shows the plot commands relative to the time axis.

Tab_4_PlotT

X scale available options

  • Elapsed: elapsed time in seconds / minutes / hours or days
  • Date: dates reported in the Table

Set or change the initial measurements date

  • Date: it allows the selection of the measurement start date using a calendar
  • Epoch: it allows the selection of the measurement start date using the Unix epoch time (number of seconds elapsed since January 1, 1970).
  • Set new starting date: Updates the Date columns in the 'Data' tab and the X axis of all the plots

'Plot P' and 'Plot TP' Tabs

  • Plot P
    • Displays the pressure on the time axis selected in the 'Plot P' Tab.

Tab_5_PlotP

  • Plot TP
    • Displays the temperature and the pressure on the time axis selected in the 'Plot P' Tab.

Tab_6_plotTP

Menu

File

  • Open File Ctrl + O
  • Quit

Edit

  • Fonts Size

Help

  • About

Author

Yiuri Garino

License

TiPi99

Copyright (c) 2022-2024 Yiuri Garino

TiPi99 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Release notes

Version 0.0.1

About the Project

Title

  • Capteur Autonome Température Pression – TP99

Description

  • TP99 is an autonomous temperature pressure sensor that can operate up to 3000 m depth in waters between 2 and 50°C. Although several Conductivity Temperature Depth (CTD) sensors are commercially available, the latter have large dimensions making their use restrictive, with a relatively high maintenance cost, requiring regular intervention from the manufacturer. The development of a deep-sea PT sensor, miniaturized and financially accessible, would undoubtedly find opportunities in many areas of deep oceanography, including the different disciplines (biology, geology...) that are now booming.

Funding

PI

  • Bruce Shillito (UMR BOREA - MNHN, CNRS 8067, SU, IRD 207, UA)

Mechanics

Electronics

Software

Cellule Projet @ IMPMC

XiaoBoardTP99_PM PCB design: Marc Morand

Louis_Amand CAD model: Louis Amand

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tipi99-0.0.2.tar.gz (340.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tipi99-0.0.2-py3-none-any.whl (351.4 kB view details)

Uploaded Python 3

File details

Details for the file tipi99-0.0.2.tar.gz.

File metadata

  • Download URL: tipi99-0.0.2.tar.gz
  • Upload date:
  • Size: 340.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.0 Linux/6.8.0-52-generic

File hashes

Hashes for tipi99-0.0.2.tar.gz
Algorithm Hash digest
SHA256 63ab9e504fd9fad8b034d9d4c0f9e6f6a4f34b97d8a9240ddc6e3bc7f2e6d312
MD5 d2be0fe6381b629637df8f305a4736db
BLAKE2b-256 b2b7d3690c551c2d38be7389c7c8568502fa84c57a17e5ef3472b22ca22c7198

See more details on using hashes here.

File details

Details for the file tipi99-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tipi99-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 351.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.0 Linux/6.8.0-52-generic

File hashes

Hashes for tipi99-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9beb9048b6c9303c07acf846d53f23bae2b1232b21f75b4f67742a543c9c5d8f
MD5 b1fbb9547e9f24638d8c67b1b079ded5
BLAKE2b-256 d990e783d3d83b33524a6755f55583190c1c8d850c725e62605e0f8fb913e5ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page