Skip to content

sivaram3291/Speed-control-of-BLDC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Speed-control-of-BLDC

In this repository, I will share the code related controlling the speed controlling aspects of BLDC motor. I will give the details to calculate the speed of BLDC motor and control the speed variable in real time with the basic microcontrollers.

For controlling the BLDC motor speed, I developed some code for microcontrollers the devices ATSAM3X8E and Atmega2560.

Connections for Arduino Due:

The connection for the gate driver board is.

pin 34 PWML0 -------> T4

pin 35 PWMH0 -------> T1

pin 36 PWML1 -------> T6

pin 37 PWMH1 -------> T3

pin 38 PWML2 -------> T2

pin 39 PWMH2 -------> T5

pin 25 Hu -- yellow

pin 26 Hv -- green

pin 27 Hw -- blue

The Rotary Encoder signals are connected as

pin 4 PHA

pin 5 PHB

Connections for Arduino Mega: