How to run stepper motor for particular amount of seconds

Hello,

In my project i am using stepper motor with nrf52840 and here i want to run my stepper motor for particular amount of time like i want to expel a particular amount of fluid with respective amount of time for example i want to expel 10ml from the tube with 2ml per second since the total amount of time consumed for expelling 10ml is 5 second. so how to implement this anybody have idea on this please feel free to drop your comments.

5556.Spec_STP-60D5016GA (1).pdf

the stepper motor which i am using is STP-60D5016 and for more clarification please have look on  above datasheet. 

thank you. 

Parents
  • HI Sagar,

    I can see that you have two same tickets opened.. So we will discuss the issue here in this ticket. Did you already implement a sample to run the stepper motor and just want to set a timing for this.? Or are you looking samples to use as references to start developing using nrf52840.?

    Regards,

    Swathy

  • Hello,

    Thanks for the reply,

    Did you already implement a sample to run the stepper motor and just want to set a timing for this.?

    Yes, i have already done everything but i forget about this concept like PWM working so if you want i will share my code how actually i tried and once you have look then you will get clarity about my issue.

    So first please make this ticket as private then i can share you the code means it will be safe for me.

    thank you.

Reply
  • Hello,

    Thanks for the reply,

    Did you already implement a sample to run the stepper motor and just want to set a timing for this.?

    Yes, i have already done everything but i forget about this concept like PWM working so if you want i will share my code how actually i tried and once you have look then you will get clarity about my issue.

    So first please make this ticket as private then i can share you the code means it will be safe for me.

    thank you.

Children
Related