Python Forum
Control 2 stepper motor simultaneously
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control 2 stepper motor simultaneously
#3
Driving step motors with pure Python will cause timing problems.
You have no control, how long the interpreter needs to execute the next statement.


This should result into inaccurate movement (slower, faster).
But, if you google for Python stepper, you'll find libraries.

For example, you can use this one: https://github.com/luxedo/RPistepper
But this library is written in pure Python. I don't know how good this library is.
Just try it. There are also another libraries.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
Control 2 stepper motor simultaneously - by jihene - Apr-23-2019, 09:48 PM
RE: Control 2 stepper motor simultaneously - by DeaD_EyE - May-08-2019, 05:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  micropython-stepper 1.0.3 trix 2 627 Nov-20-2023, 06:00 AM
Last Post: trix
  Stepper motor/Easy Driver/HELP Harney 1 1,913 Jul-31-2021, 08:05 AM
Last Post: Harney
  python 3 raspberry pi 4 dual control motor programming problem yome 0 1,995 Mar-21-2021, 05:17 PM
Last Post: yome
  stepper motor and servo key control cel 4 2,658 Jul-27-2020, 06:26 AM
Last Post: DPaul
  Stepper Motor key control cel 2 1,951 Jul-25-2020, 12:19 AM
Last Post: cel
  EOF error using stepper motor cel 1 1,731 Jul-24-2020, 01:27 PM
Last Post: Larz60+
  How to run same process simultaneously exploit123 1 2,465 Sep-19-2019, 10:08 AM
Last Post: Gribouillis
  Moving with objects simultaneously kom2 1 3,055 Apr-20-2019, 07:12 PM
Last Post: SheeppOSU
  How to use servo motor with TFMini Distance Sensor in python script? programerguy 1 3,274 Dec-04-2018, 04:57 PM
Last Post: Larz60+
  using subpocess for both reading and writing simultaneously dauriac 11 9,785 May-30-2018, 10:09 PM
Last Post: killerrex

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020