Giter VIP home page Giter VIP logo

atrabilis / interactive_pid_controller Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 46 KB

A seamless integration of an Arduino-driven PID control system with a Python-based real-time graphing interface. Adjust PID parameters and setpoints dynamically, monitor feedback loops, and manage system performance all in one place.

C++ 38.17% Python 61.83%
actuators arduino control-systems diy education embedded-systems-engineering engineering feedback-loop hardware-interface pid-controller

interactive_pid_controller's Introduction

Real-Time PID Controller and Graphical Interface

This repository contains a real-time control system for a PID (Proportional, Integral, Derivative) controller with a graphical user interface (GUI). The system leverages an Arduino-based hardware setup for process control and a Python application using PyQt5 and pyqtgraph for visualization and interaction.

Key Features:

  • PID Control: Fine-tune your system with real-time PID parameter adjustments.
  • Serial Communication: Communicates with Arduino over a serial connection to apply control commands and read sensor data.
  • Graphical Visualization: Real-time plotting of system variables such as target vs. actual position, error values, and PID contributions.
  • User Interaction: Update target values and PID parameters on-the-fly through an intuitive GUI.
  • Anti-Windup Handling: Toggle anti-windup feature from the interface to prevent integral term saturation.

Ideal for educational purposes, hobbyists, or as a starting point for more complex control systems.

Scheme

The scheme of the project is shown below:

Scheme

in this case a L298N is utilized but any motor controler is enough.

Materials

For this project in specific, the materials utilized are shown below:

  • Arduino 1
  • L298N
  • USB B cable
  • DC motor with encoder (model unknown)
  • Breadboard

interactive_pid_controller's People

Contributors

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