Stepper motor connection

General discussion about topics related to OpenMV.
gragabot
Posts: 5
Joined: Mon Mar 09, 2020 5:06 pm

Stepper motor connection

Postby gragabot » Mon Jun 29, 2020 4:18 pm

For stepper motor, is it correct to connect the two coils on A0 A1, B0 B1 port on the motor shield? Also, the motor shield board says needs a power supply between 6-12V. But the product page says 5V power is enough. I only have 5V power source.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: Stepper motor connection

Postby kwagyeman » Mon Jun 29, 2020 4:29 pm

The motor shield requires a 6V or higher supply because it has to down regulate. If you connect 5V it will likely work... but, the regulator on board won't be doing anything. Should be fine however.
Nyamekye,
gragabot
Posts: 5
Joined: Mon Mar 09, 2020 5:06 pm

Re: Stepper motor connection

Postby gragabot » Mon Jun 29, 2020 4:50 pm

Thank you for such quick response. I tried to follow the link that you responded previously about another post regards to wiring up the stepper motor. But I'm still not really sure whats the proper way to connect the stepper motor to openmv motor shield.
kwagyeman wrote:
Mon Jun 29, 2020 4:29 pm
The motor shield requires a 6V or higher supply because it has to down regulate. If you connect 5V it will likely work... but, the regulator on board won't be doing anything. Should be fine however.
gragabot
Posts: 5
Joined: Mon Mar 09, 2020 5:06 pm

Re: Stepper motor connection

Postby gragabot » Mon Jun 29, 2020 4:55 pm

the class Stepper() file mentioned P0,P1,P2,P3. So should I connect the first coil to P0&P1, second coil to P2&P3 on the left side of the motor shield?
kwagyeman wrote:
Mon Jun 29, 2020 4:29 pm
The motor shield requires a 6V or higher supply because it has to down regulate. If you connect 5V it will likely work... but, the regulator on board won't be doing anything. Should be fine however.
User avatar
kwagyeman
Posts: 4111
Joined: Sun May 24, 2015 2:10 pm

Re: Stepper motor connection

Postby kwagyeman » Mon Jun 29, 2020 9:20 pm

I guess. That's a user contributed library. The source code for it is here:

https://github.com/openmv/openmv/blob/m ... 612.py#L24
Nyamekye,

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest