Skip to content

ugokcesu/PT_Tester

Repository files navigation

PT_Tester

A python program with a pyqt interface for reading pressure and temperature data from arduino and plotting it on a graph and table as well as storing the data in a csv file. Check out this youtube video for a short demo

Features

  • The plot, table, and the csv file are interactively filled as each sample is recorded.
  • The arduino connection is done in a seperate thread so that the GUI remains active for manipulating the plot and table.
  • While taking recordings, the software can detect whether the arduino was disconnected or if the stop button was pressed, and terminates the second thread gracefully.
  • Screenshots

    Running the Code / Installation Notes

    For Python

    See requirements.txt for a full list of modules and corresponding versions. Mainly, the libraries used are pyfirmata for connecting to the Arduino, PyQt5 for the graphical interface and matplotlib for plotting the graph.

    For Arduino

    From the Arduino utility go to File > Examples > Firmata > StandardFirmata and upload it onto your Arduino. Disconnect and connect your Arduino. The Arduino is now ready to send receive data through pyfirmata python module

    Finally:

    run main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages