This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Stepper Motor Interfacing - Reg



Hi,

I have one project with stepper motor interfacing.i want interface the stepper motor with microstepping mode.the step angle of the stepper motor is 1.8 degree that is 200 steps for one revolution.Now i want to interface the motor with microcontroller  with PWM duty cycle adjustment.Any one Please help with the duty cycle LookUp table for Microstepping control , so that it is very useful for my project.

Thanks In Advance.

Regards

Joseph.D

  • I want to use 1/4 Microstep mode

    Regards

    Joseph.D

  •  HI, Simply open a spreadsheet and enumerate sine value sequence,  on one column,

     normalize it  to current sample reading on your AD converter . Save table and copy all value to a C constant array. Some time ago I used this technique to generate a sampled waves and  automated this process by reading from a csv file and saving as header text file.

     Write a program that change PWM values  to follow table setpoint, the best is to do linear interpolation between table values.

     This work if you need smooth stepping but is impractical  for high speed drive, if this is your case evaluate C2000 or a microstepping driver.

     Regard

**Attention** This is a public forum