Skip to content

JON95Git/pid-stm32f746

Repository files navigation

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