JON95Git / pid-stm32f746

Embedded graphical interface for PID control

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedded graphical interface for PID control

This project implements an embedded graphical interface for PID control.

Introduction

The idea behind this project is allow user to control speed motor using PID (Proportional - Integral - Derivative) control system from an simple graphical interface.

This project uses a microcontroller plataform (STM32) to implement a real PID control for DC motor control. Development was done using STM32F746g-Discovery board from STMicroelectronics

Graphical interface

The first screen contains buttons and controls for update/clear PID variables and set point

Aplicacao

The second screen contains two widgets to monitor input and output system values, PWM duty cycle to mosfet driver and RPM

Aplicacao

The third screen contains a graph to show data

Aplicacao

Dependencies

Software

To build this project you need:

Hardware

To run this project you need

  • Devboard STM32F746g-Discovery
  • DC motor 200RPM 3-6V,
  • Driver Mosfet Irf 520
  • RPM sensor (based on LM393)
  • Encoder disc 20 steps
  • Low pass filter

Circuit diagram

Diagram

Application running

You can see the application running here

About

Embedded graphical interface for PID control


Languages

Language:C 96.8%Language:Assembly 2.3%Language:HTML 0.7%Language:C++ 0.1%Language:Python 0.1%Language:Makefile 0.0%Language:Shell 0.0%