Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepper motor support #20

Open
jmsv opened this issue Oct 2, 2016 · 4 comments
Open

Stepper motor support #20

jmsv opened this issue Oct 2, 2016 · 4 comments

Comments

@jmsv
Copy link
Owner

jmsv commented Oct 2, 2016

This issue might be a long shot - I've currently never experimented with using the L293D for stepper motors, but I know that this chip does support them.

I'll buy a stepper motor at some point in the (distant) future and have a go at writing something to try and make it work. In the meantime, if you stumble upon this and reckon you could have a go at it, I would be very grateful if you did - just assign yourself and/or comment to say you're having a go.

After a quick Google I found this Adafruit lesson which looks like it might be a good place to start. This tutorial also looks helpful.

@SmithcS
Copy link
Contributor

SmithcS commented Oct 5, 2016

I've done some stuff with stepper motors before. Kinda strapped on time, but I'll see if I can get this working. Also just got my IC's today so i'll be able to give it a test.

@jmsv
Copy link
Owner Author

jmsv commented Oct 5, 2016

@SmithcS I've ordered a stepper motor online but it'll take weeks to come. If you were to add support for stepper motors could you also add some documentation in the README? Also, did you get your Twitter account sorted out? You can DM me here

For developing and documenting on this issue, the setup shown in the Adafruit lesson (link in issue description) looks like a good way of doing it.

As the l293d.driver.motor class has been developed for use with DC motors, it might be worth renaming motor to dc_motor or dc, and creating a new class called stepper or stepper_motor for use with stepper motors.

@jmsv
Copy link
Owner Author

jmsv commented Nov 1, 2016

The Motor class has been renamed to 'DC'. See commit referenced in issue #48.

@jmsv
Copy link
Owner Author

jmsv commented Nov 17, 2016

@SmithcS Are you still interested in this issue? Don't worry if not - I can have a look at some point in the future

@jmsv jmsv mentioned this issue Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants