cancel
Showing results for 
Search instead for 
Did you mean: 

I Want to control motor with custom command

Omega
Associate

Is there a way I can control a motor using serial communication, with custom commands that I define myself

2 REPLIES 2

Welcome to the forum.

Of course it's possible.

But are you asking about doing this within some specific existing software and/or hardware?

How to write your question to maximize your chances to find a solution.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I built the board myself, now it works, I can control the motor with Motor Pilot and Potentiometer. Next I want STM32 that is controlling this motor to receive commands that I created, such as from other MCUs, from PLC, etc. I want to know if I can write additional codes myself, and what commands are used to start, adjust speed, adjust direction, stop, etc.