GithubHelp home page GithubHelp logo

x-vmaier / pylevit Goto Github PK

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

Real-Time Analysis and Manipulation Tool for Magnetic Levitation Systems

License: MIT License

Python 100.00%
customtkinter python tkinter matplotlib serial-communication

pylevit's Introduction

PyLevit

PyLevit is a Python application designed to interface with an Arduino-based electromagnet levitator system. It provides a graphical user interface (GUI) for controlling and monitoring the levitation process via serial communication with the Arduino.

PyLevit GUI

Table of Contents

Overview

PyLevit serves as the front-end interface for interacting with an Arduino-based electromagnet levitator system. It facilitates real-time control of system parameters such as setpoint, proportional gain, integral gain, and derivative gain, while also providing visual feedback through plots and status indicators.

This project relies on the Arduino code from the Levitator repository for integrating the levitator system with the graphical user interface.

Requirements

To run PyLevit, you need:

  • Python 3.x
  • Required Python packages listed in requirements.txt
  • An Arduino Nano (ATmega328) with the appropriate firmware installed

Installation

  1. Clone this repository to your local machine.
  2. Install the required Python packages by running:
    pip install -r requirements.txt
    
  3. Ensure your Arduino Nano is connected to your computer.
  4. Upload the firmware provided in the Arduino repository to your Arduino Nano.

Usage

  1. Run the main.py script:
    python main.py
    
  2. PyLevit GUI will open up.
  3. Connect your Arduino Nano to the PyLevit GUI via serial communication.
  4. Use the GUI to adjust system parameters and monitor the levitation process in real-time.

Credits

License

This code is licensed under the MIT License. Feel free to use, modify, or distribute it according to the terms of the license.

pylevit's People

Contributors

x-vmaier avatar

Stargazers

 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.