Hello everybody and thank you always for the help you have given me in my past projects.
Today I am starting a new project which is: To control a stepper motor from a PIC (the one I have 18F2550)
Now, I am reading a lot about the theory behind stepper motors so I kinda catch some concepts.
In the past I controlled a DC motor through PWM using a H-bridge. Surprisingly I did not use PWM for the input pins but for the voltage of reference. The inputs were simply 1 or 0. It worked quite well.
Now I am sure I am going to have a lot of questions regarding stepper motors and I will appreciate your help but just to start let me ask you this question:
1) Is PWM somehow useful for stepper motors?? I am reading and it seems the speed of the motor is changed through the delays you give while powering in and out the coils in the stator with 1 or 0, ergo digital inputs so it seems something like PWM would not be needed at all.
Thanks a lot for your help
Today I am starting a new project which is: To control a stepper motor from a PIC (the one I have 18F2550)
Now, I am reading a lot about the theory behind stepper motors so I kinda catch some concepts.
In the past I controlled a DC motor through PWM using a H-bridge. Surprisingly I did not use PWM for the input pins but for the voltage of reference. The inputs were simply 1 or 0. It worked quite well.
Now I am sure I am going to have a lot of questions regarding stepper motors and I will appreciate your help but just to start let me ask you this question:
1) Is PWM somehow useful for stepper motors?? I am reading and it seems the speed of the motor is changed through the delays you give while powering in and out the coils in the stator with 1 or 0, ergo digital inputs so it seems something like PWM would not be needed at all.
Thanks a lot for your help
Last edited: