Skip to content

Added support for Longruner Stepper Motor#22

Open
neel-kumar wants to merge 10 commits into
sbcshop:masterfrom
neel-kumar:master
Open

Added support for Longruner Stepper Motor#22
neel-kumar wants to merge 10 commits into
sbcshop:masterfrom
neel-kumar:master

Conversation

@neel-kumar

Copy link
Copy Markdown

I refactored PiMotor to work with every stepper motor. Even with these changes the previous code will still work.

Please accept the change.

Comment thread Longruner_Stepper_Test.py

m1 = PiMotor.Stepper("STEPPER1")
m1.setSequence([
[1,0,0,0],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of setting a sequence but I believe this sequence will create a jitter effect in a unipolar stepper. I believe the issue is you don't want to energize A1 and A2 simultaneously.

https://www.rs-online.com/designspark/stepper-motors-and-drives-what-is-full-step-half-step-and-microstepping

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bought the Longruner and got the sequence from http://www.4tronix.co.uk/arduino/Stepper-Motors.php . So far this sequence has worked with this motor for me. If I see a jitter affect then I would set the right sequence. Thanks for the feedback and the URL. Let me know if I need to do something else to merge the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants