Skip to main content

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

Project description

test

https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
https://gist.github.com/rxaviers/7360908

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_Start

  • Search TP99

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

    • for debug purpose, it update 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_Connect

  • 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.

'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 t0 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_Plot_T_Large

X scale available options

  • Elapsed: elaposed time in seconds / minutes / hours or days

image

  • t0 Date: it allows the selection of the measurement start date using a calendar

image

  • t0 Epoch: it allows the selection of the measurement start date using the unix epoch time (number of seconds elapsed since January 1, 1970).

image

  • Set t0
    • Updates the Date columns in the 'Data' tab and the X axis of all the plots

'Plot T' and 'Plot TP' Tabs

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

Tab_5_Plot_P

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

Tab_6_Plot_TP

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

  • Réseau de technologie des hautes pressions (Réseau HP)

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.1.tar.gz (340.2 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.1-py3-none-any.whl (351.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tipi99-0.0.1.tar.gz
  • Upload date:
  • Size: 340.2 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.1.tar.gz
Algorithm Hash digest
SHA256 6415d514945264911747d1257e930d40314c3029036ce499396ca8302d03b43f
MD5 78fce0d9f7ab83b61729c3518b15a41c
BLAKE2b-256 712e05cebbea3ab23714ec44f4c66e405948d2bc574c1f08b10a24b98a5caaf2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tipi99-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 351.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36504ca4f4a0e0509722633fe8533948dd99889fb733ce484716931f6868065b
MD5 bca68d845ce2dedb453383ee0c3dd3da
BLAKE2b-256 3bbf0830aad400e7d216af40def3f76a64eb172a0047d3f455a0811610d84913

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