esp32 motor stepper 35BYJ412

neo888
Posts: 3
Joined: Tue Oct 23, 2018 7:53 pm

esp32 motor stepper 35BYJ412

Postby neo888 » Fri Nov 23, 2018 3:46 pm

I have a problem between a stepper motor and my esp32.
the features are:

wemos D1 R32
motor stepper: 35BYJ412 12v 96 steps and a reduction of 42.5 (4080steps total)

I used a lot of libraries to experiment with the engine with the examples provided. The only example that works is the one named: newMoveTo () from the cheapstepper library. Even others in this library do not work. There is a lot of step jumping.
I would like to know why? has anyone ever used this type of motor?
The libraries are designed specifically for the 28BYJ-48 with different characteristics. Is the problem coming from there?

I also have a 28BYJ and I have no serious problem, sometimes I have steps that jump but it's not much.
I would like to understand.

Thanks for your help

User avatar
ESP_krzychb
Posts: 400
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: esp32 motor stepper 35BYJ412

Postby ESP_krzychb » Sat Nov 24, 2018 7:36 am

Hi neo888,

I remember having issues controlling similar motor until I checked the specification for exact sequence the motor coils should be energised.

A more common stepper motor driving method is "full step" where 2 of the 4 coils are powered at each step. This motor should be powered in "half step" sequence where we first power coil 1 only, then coil 1 and 2 together, then coil 2 only and so on.

I would try AccelStepper library that implements half step driving.

neo888
Posts: 3
Joined: Tue Oct 23, 2018 7:53 pm

Re: esp32 motor stepper 35BYJ412

Postby neo888 » Sat Nov 24, 2018 11:36 am

Hi,

I saw this library 'accelstepper' but i can't to configure a driver type uln2003a with this. often there is in setup() :
stepper. setup(IN1, IN2,IN3,IN4) but not in this library. (maybe i didn't see)

Manolis
Posts: 1
Joined: Mon Dec 17, 2018 12:35 pm

Re: esp32 motor stepper 35BYJ412

Postby Manolis » Mon Dec 17, 2018 12:38 pm

Hello , i have the same problem , i can't connect my esp32 with a stepper motor, it doesn't give me back movement only pulse .... Anyone knows something about this topic ? Please answer as soon as you can ... Thanks

andr3d
Posts: 1
Joined: Sat Nov 28, 2020 5:02 am

Re: esp32 motor stepper 35BYJ412

Postby andr3d » Sat Nov 28, 2020 5:06 am

Did you ever solve this issue?

Who is online

Users browsing this forum: Google [Bot] and 37 guests