Giter Club home page Giter Club logo

tp_pid-controler's Introduction

TP_PID-Controler

A PyQt interface to monitor a PID_Controler (Teensy microcontroler) via the serial USB bus. Download the zip of this repository using the green button [Code v] at the top right of this page, then unzip the file to install the directory TP_PID-Controler_master within your personnal disk tree on your computer.

You need to run the PyQt interface within a Python Virtual Environment (PVE) with Python 3.10:

In the following we name "(minfo) console" the "Anaconda prompt" window (window 10 or 11) or the terminal (macOS or GNU/Linux) with the minfo PVE activated:

  • If you are an ENSAM student you already have a minfo PVE for the Math-Info activity installed on your laptop or on the school computers. You just have to add the modules pyserial and pyqtgraph. To do this type in the (minfo) console:
    conda install pyserial pyqtgraph -y

  • If you don't already have any PVE available, you can follow this link Document d'installation... until the command (slide 4):
    conda activate minfo. Then in the (minfo) console, update conda itself with the command:
    conda update -n base -c defaults conda
    and populate the PVE with the command:
    conda env update -n minfo --file <path-of-PVE.yml>
    replacing <path-of-PVE.yml> by the acces path of the file PVE.yml on your computer (found thanks to the file browser):
    ->[Windows]: something like C:\Users\you\...\PVE.yml
    ->[macOS, Linux]: something like /home/users/you/.../PVE.yml.

When done, go to root folder of the project in the (minfo) console with the cd (change directory) command:
cd <path-of-folder-"PID_Controler_master">
replacing <path-of-folder-"PID_Controler_master"> by the acces path of the folder PID_Controler_master on your computer (found thanks to the file browser):
-> [Windows]: something like C:\Users\you\...\TP_PID-Controler_master\PID_Controler_master
->[macOS, Linux]: something like /home/users/you/.../TP_PID-Controler_master/PID_Controler_master.

Finally run the application from the (minfo) console with the command:
python main.py

Enjoy...

tp_pid-controler's People

Contributors

cjlux avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.