Skip to main content
Associate
April 16, 2025
Question

I Want to control motor with custom command

  • April 16, 2025
  • 1 reply
  • 368 views

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

1 reply

Andrew Neil
Super User
April 16, 2025

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.
OmegaAuthor
Associate
April 16, 2025

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.