-->
Page 3 of 3

Re: [SOLVED] Need Sketch to control 28BYJ-48 stepper w/NodeM

PostPosted: Fri Jun 25, 2021 9:10 am
by luigicbt
JoeVanGeaux wrote:I would like a sample of a working Arduino-like sketch and guidance on pin connections that will permit a demonstration that my 28BYJ-48 Unipolar stepper can be driven by a ULN2003 driver through my NodeMCU ESP8266-12E LoLin V3 dev board. So far, all I got it to do was to blink an LED (to verify proper board connections and for me to experience the process of flashing the board via the Arduino IDE).

I am attaching a photo of my setup which, hopefully, shows the connections (mostly the output pins on the NodeMCU and the input on the ULN2003 driver).

In the setup, the NodeMCU is being powered by 3.3v and the stepper is being powered by 5v. I am only using the micro USB to my PC to flash the ESP8266 ( I want it to run on its own after flashing. NO WiFi for the moment!!). I am using Arduino IDE v 1.6.7 (later versions didn't work for some reason - and that could be by some mistake I made, of course.)

What I would like help with is which pins on the dev board should be hooked to which pins on the driver board AND a sample of some bare bones Arduio-like code that will make the stepper move in some controlled fashion in a stand-alone mode. The numerous examples I tried from the 'net all have some difference that is causing me the world of confusion - possibly due to something ordinarily considered a 'no brainer'.

I would be appreciative of any help to clear up what shouldn't be such a mystery!


Hi

I'm having the same problem as you. I still can't figure out what I'm not doing well.
Did you manage to overcome the problem?

Re: [SOLVED] Need Sketch to control 28BYJ-48 stepper w/NodeM

PostPosted: Wed Nov 17, 2021 11:47 am
by donbrew
Me too! Every one I try crashes the nodemcu.
None of the tutorials work.

WHY IS THIS MARKED "SOLVED"?

Re: [SOLVED] Need Sketch to control 28BYJ-48 stepper w/NodeM

PostPosted: Fri Nov 19, 2021 1:43 am
by schufti
because of this