STM32 Microcontroller: Experimental Setup for Learning to Control DC Motors using PWM signals

Описание к видео STM32 Microcontroller: Experimental Setup for Learning to Control DC Motors using PWM signals

#stm32 #cubeIDE #microcontroller #electricalengineering #mechanicalengineering #controltheory #mechatronics #robotics #arduino #rasbpberrypi #aleksandarhaber #freetutorials #freeengineeringcourses #freeengineering #embedded_systems #industrialrobotics #c++ #cprogramming #pythonprogramming #nucleostm #nucleo #microcontroller
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
Buy me a Coffee: https://www.buymeacoffee.com/Aleksand...
PayPal: https://www.paypal.me/AleksandarHaber
Patreon: https://www.patreon.com/user?u=320801...
You Can also press the Thanks YouTube Dollar button

Hello everyone,


this is a relatively simple experimental setup used for teaching students and engineers how to properly control the speed and direction of motion of DC motors by using the STM32 microcontrollers. Currently, the motor rotates for 3 seconds in one direction and after his time interval, it rotates for 3 seconds in the opposite direction.
The experimental setup consists of

(1) Low-cost brushed DC motor
(2) Low-cost L298N motor driver
(3) Nucleo-64 STM32 microcontroller development board
(4) Power supply
(5) Oscilloscope used to visualize the pulse width modulation signals (PWM) signals

The motor speed of rotation is controlled by using the pulse width modulation or briefly PWM signals. The STM32 microcontroller board generates the PWM signals. The speed of motor rotation is determined by the duty cycle of the PWM signal. The larger the duty cycle, the higher is the motor speed of rotation. The direction of rotation is controlled by two additional digital outputs coming out of the microcontroller. The microcntroller signals are sent to the motor drivers, that shapes and properly amplifies the signals such that they can be used for DC motor control. The DC motor driver is connected to the microcontroller, power supply, and DC motor.

The link to the complete tutorial explaining how to create this setup and how to write the C code for controlling the motor is given here:
   • STM32 Microcontroller Tutorial 5: Con...  

Комментарии

Информация по комментариям в разработке