Skip to content

demianzenkov/STM32-STEPPER-MOTOR-CONTROLLER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS PROJECT IS MADE FOR EDUCATIONAL PURPOSES ONLY

Source code and hardware description for stepper motor controlling system. This repo is a part of my final university project in 2018 and contains sources for STM32F051 MCU firmware, sources for configuration utillity and technical documents. The goal was to achieve smallest micro-step movement of stepper motor using PWM signals from MCU and H-Bridges on MOSFET transistors.

Hardware part consists of two PCBs: controller with MCU and driver with MOSFETs. Controller boards allows connecting two drivers for controlling two stepper motors. This example scheme shows how to connect 2-axis device to the system and control it with joystick or with external device via UART interface:

connection-example

Prototype of my system on photo below.

макет-сборка

Microstepping is achieved by applying PWM signal to the coils. This scheme shows how the current flows through the coil of stepper motor conneted to driver H-Bridge:

h-bridge_example

control-utility is a simle tool for testing the system. It allows to choose between two steppers, setup their directions and microstep modes. After connecting to controller board with USB cable, setup mode and add steps. After pressing START button, motor start moving and makes the amount of steps configured. If "Continuous" mode chosen, motor will work till STOP button pressed.

qt-utility

For all questions demianzenkov@gmail.com.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages