Skip to content

STM32 Firmware repository for the Commander interface for step motor control via USB

Notifications You must be signed in to change notification settings

lucasgcb/Commander-HMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This repository implements the Commander interface for controlling a step motor utilizing EasyDriver and an STM32F103C8T6 Blue Pill Board.

This has been developed using the STM32CubeMX IDE by STM.

The clock configuration is 48MHz. It uses FreeRTOS.

Pinout

The pinout is configured as follows:

pins

Implementation

The state machine and commands available as as follow:

machine

Send commands by connecting to the microcontroller through the COM serial interface. You can use Python or something like Terminalbpp for that.

Commands for changing step values:

*SSTPX(num) *SSTPY(num)

Response: the new step for the chosen axis

Commands for checking step:

*STPX *STPY

Response: the current step for the chosen axis

Showcase

HMS-X Scanner - A project that utilizes this interface to control three motors in a dual axis automation hub for automatic measurement of printed circuit boards.

About

STM32 Firmware repository for the Commander interface for step motor control via USB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published