Abstract

This paper designs DC motor and stepping motor controllers based on MSP432P401R micro-controller unit (MCU). MSP432P401R alleviated MCU generates pulse width modulation (PWM) signal, which controls the speed of DC motor through DC motor drive chip module. In this paper, the driver module of DC motor is DRV8833, which forms the DC motor control system together with MCU. The PWM duty cycle can be adjusted via programming to complete the control and speed regulation of the motor. This design makes the MSP432P401R internal timer generate PWM signal with different duty cycle through programming, and the key is implemented to control the PWM signal duty cycle. Then, the MCU sends the PWM signal to the DRV8833 module, counts through the built-in ADC module, and displays the DC motor speed on the OLED screen. At the same time, this design makes the MSP432P401R internal timer generate four PWM signals with different duty cycles through programming. These PWM signals are sent to the motor driver DRV8833 module to change the stepping motor speed via changing the PWM output frequency. Then the speed of the stepping motor can be calculated via the frequency, and the speed of the stepping motor is displayed on the OLED screen.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call