2020-11-11 09:48 PM
i am using stm32f103 controller with opto -circuit to rotate my motor . But my motor is rotating only in forward direction even if i make my direction pin SET or RESET . BUT i need to make my motor to rotate in both forward and reverse direction. Can anyone please help me how to do . Should i need to include any extra code in my program .
Thank you
2020-11-12 06:48 AM
Stepper motors typically have a STEP and DIR signal. Toggle the DIR signal to change the direction of rotation.
2020-11-12 07:42 AM
2020-11-12 08:02 PM
2020-11-12 08:03 PM
2020-11-12 08:04 PM
2020-11-12 08:25 PM
The CW/CCW pin controls direction. Toggle it to change direction.
Configure it as a GPIO output pin, and toggle the output to change direction, as suggested in the first post.
2020-11-13 01:10 AM
Thank you
2020-11-13 01:12 AM
Now i need to drive my motor using modbus. Is it possible to drive my motor using modbus. But i am not getting how to start can anyone help me with it. How i should write my frame to drive my motor.
Thank you