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
esp32 motor stepper 35BYJ412
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: esp32 motor stepper 35BYJ412
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.
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.
Re: esp32 motor stepper 35BYJ412
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)
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)
Re: esp32 motor stepper 35BYJ412
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
Re: esp32 motor stepper 35BYJ412
Did you ever solve this issue?
Who is online
Users browsing this forum: No registered users and 43 guests