How to connect Stepper motors?

Discussion related to "under the hood" OpenMV topics.
lab
Posts: 18
Joined: Wed Mar 21, 2018 9:02 pm

How to connect Stepper motors?

Postby lab » Sat Apr 07, 2018 2:40 am

I want to connect three stepper motors. Is there any stepper motor controller that I can buy to interface using I2C/SPI with the OpenMV?
User avatar
kwagyeman
Posts: 2113
Joined: Sun May 24, 2015 2:10 pm

Re: How to connect Stepper motors?

Postby kwagyeman » Sat Apr 07, 2018 1:36 pm

See this:

https://learn.adafruit.com/micropython- ... r?view=all

We're a MicroPython board. So, any MicroPython library will work. Note that CircuitPython is not the same as MicroPython.
Nyamekye,
lab
Posts: 18
Joined: Wed Mar 21, 2018 9:02 pm

Re: How to connect Stepper motors?

Postby lab » Sat Apr 07, 2018 7:34 pm

Thank you

There are 8 PWM in your servo shield. Can I use 6 of the PWMs for 3 stepper motor?
User avatar
kwagyeman
Posts: 2113
Joined: Sun May 24, 2015 2:10 pm

Re: How to connect Stepper motors?

Postby kwagyeman » Sat Apr 07, 2018 8:16 pm

Yeah, I suppose so, you just need to modify the library code to work for that. Our servo shield has two driver files. One to control the PCA chip and another to implement servo control code on top of that.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests