2025-04-16 11:02 AM
Is there a way I can control a motor using serial communication, with custom commands that I define myself
2025-04-16 11:54 AM
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.
2025-04-16 12:10 PM
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.