Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
BLDC motor controller using STM32
Rating: 3.5 out of 5(102 ratings)
1,024 students

BLDC motor controller using STM32

BLDC motor control using STM32 ,Driving BLDC motor using STM32,STM32 microcontroller,STM32F4
Last updated 6/2022
English

What you'll learn

  • 1)They will be introduced with a basic project of BLDC motor control using STM32
  • 2)Basics of PWM
  • 3)Calculations related to PWM
  • 4)Hardware connections
  • 5)Writing a code for PWM programming using both bare metal and using api.(HAL with stm32cubemx)
  • 6)Measuring RPM of motor

Course content

1 section10 lectures35m total length
  • BLDC motor controller using STM32(INTRODUCTION)1:21

    General introduction what is content of this tutorial series.

  • Basics of PWM and timer calculations2:19

    This tutorial describes detailed timer calculation for PWM duty cycle and frequency calculation.

  • Timer operating frequency
  • Hardware connections2:49

    This tutorial describes hardware connection diagram to be followed for this lecture series.

  • Programming(Doing settings in STM32Cubemx and generating code in Keil)1:56

    This tutorial describes how to do settings in stm32cubemx for the project described in this tutorial.

  • Programming PWM channel using register level programming4:45

    In this tutorial we describe how to write register level code for  driving BLDC motors.

  • Setting a bit of a register
  • Arming the BLDC motor5:38

    This tutorial describes sequence of steps required to start the Bldc motor.

  • Measuring RPM of BLDC motor2:44

    This lecture describes how to measure RPM of motor using external interrupt and timer.

  • Doing settings in Stm32Cubemx for measurement of RPM of motor .1:49

    This tutorial describes how to do settings in stm32cubemx for calculation of RPM of motor.

  • Writing code for driving two BLDCs using pot. and there RPM measurement4:09

    Code description  for writing code for driving two bldc motors using a single potentiometer.

  • Debugging a program using STlink debugger in Keil8:13

    Code is available .Please find it attached.

Requirements

  • C programming basics

Description

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.

Who this course is for:

  • Students who want to make a final year project using microcontrollers
  • Hobbyist who want to see how to write a program for BLDC motors.