/Motor-speed-control-based-on-STM32-MCU

PWM motor speed control based on STM32 microcontroller

GNU General Public License v3.0GPL-3.0

Motor-speed-control-based-on-STM32-MCU

PWM motor speed control based on STM32 microcontroller Project description: The system uses STM32F103C8T6 microcontroller as the hardware platform and KEIL5 as the software development platform, adopts TB6612FNG DC motor driver chip, and utilizes the 360-degree rotary encoder to regulate the PWM, which in turn controls the speed of the MG513 DC motor and realizes the PID control; it is used in conjunction with the temperature and humidity sensors, and displays on an OLED screen the speed information and temperature and humidity information. 1.Write and debug the rotary encoder counting program, PWM control DC motor program and PID program; 2.Write and tune auxiliary programs such as OLED screen display and temperature and humidity sensor; 3.Complete the connection of each module to realize the control of DC motor speed.

项目描述:系统以STM32F103C8T6微控制器为硬件平台,以KEIL5为软件开发平台,采用TB6612FNG直流电机驱动芯片,利用360度旋转编码器调控PWM,进而控制MG513直流电机转速,并实现PID控制;配合温湿度传感器使用,并在OLED屏幕上显示转速信息和温湿度信息。 1.编写和调试旋转编码器计次程序、PWM控制直流电机程序和PID程序; 2.编写和调式OLED屏幕显示和温湿度传感器等辅助程序; 3.完成各模块的衔接,实现对直流电机转速的调控。