
General introduction what is content of this tutorial series.
This tutorial describes detailed timer calculation for PWM duty cycle and frequency calculation.
This tutorial describes hardware connection diagram to be followed for this lecture series.
This tutorial describes how to do settings in stm32cubemx for the project described in this tutorial.
In this tutorial we describe how to write register level code for driving BLDC motors.
This tutorial describes sequence of steps required to start the Bldc motor.
This lecture describes how to measure RPM of motor using external interrupt and timer.
This tutorial describes how to do settings in stm32cubemx for calculation of RPM of motor.
Code description for writing code for driving two bldc motors using a single potentiometer.
Code is available .Please find it attached.
It is a course designed as a project guide for Engineering students, hobbyist and also Embedded developers. In this course we guide how to drive BLDC motors using potentiometer(speed control).All the schematics and code are provided .Code for project is available on request and will be available immediately after few days of joining this course.
Caution: This course is for learning firmware programming not for hardware design although I will guide how to use the hardware and connect it.
If you use STM32 microcontrollers for programming you should know how to use STM32Cubemx with Keil or any other IDE .You can use STm32cubmx with Keil for rapid prototyping for a system. It is a absolute time saver in your job or study
What you’ll learn
STM32 programming using STM32Cubemx and Keil uvision5 + bare metal programming using reference manual
Are there any course requirements or prerequisites?
Student should be familiar with basic C programming concepts
Should have hands on knowledge of interfacing electronics with microcontroller(only basic)
Who this course is for:
Technical graduates who wish to learn STM32 programming
Embedded Developers looking for guidance in programming BLDC motor and RPM measurement
Hobbyist who wish to learn about STM32 programming for project development.
Final year technical students looking for project guidance.
Course contents
Basics of timer and pwm calculations.
Hardware connections for the project described.
Programming using STM32Cubemx and Keil
Programming PWM channel using register level programming.
Arming a BLDC motor STM32.
Measuring RPM of BLDC motor
Driving two BLDC motor using single potentiometer(Speed control of BLDC motors) and measurement of RPM
Debugging a software program using software debug.