I have an ESP8266 FT232, ULN2003 driver (blue board module) and an 28BYJ-48 steper motor
They're connected this way
D1 to in1
D2 to in2
D5 to in3
D6 to in4
ESP8266 is connected directly to PC, ULN2003 is connected to 5v via a MB102 Breadboard Power Supply Module
ESP8266 and ULN2003 share a Gnd
I made a stupid mistake and misplaced 5v and gnd
at first try I uploiaded the cod but nothing happened, then I fixed the wire connections and tried again, now all 4 ULN2003 leds turn on together and stay on, no blink, no motor movment
I asked grok/chat gpt for help, they gave me like 10 other codes but all same results, ULN2003 leds turn on together and stay on
Disconnect the motor and the ESP. Then try connecting each of the 4 inputs of the ULN board first to 5V, and then to GND, one pin at a time. Do the LEDs behave as expected?
If that's good, disconnect the ULN board and connect the ESP. Connect an LED + series resistor to each of D1,2,5,6 in turn and use the example blink sketch to test each output.
Hopefully you have a multimeter. They are inexpensive and almost indispensable when troubleshooting electronics.
What I would do is disconnect everything and then write a simple test program that turns each output on for a second or two and then off for a second or two. Measure the voltage on each pin. If the voltage is not within about 0.1V of Vcc when HIGH, or within about 0.1V of Ground when LOW, the output may be damaged.
Next, connect power to the ULN2003 module, but leave it disconnected from the Arduino. All of the LEDs should be off. If any are on, touch the corresponding input to Ground. If the LED does not turn off, that channel is likely damaged.
The possibility exists that both the Arduino output and the ULN2003 input have been damaged.
As @LarryD showed in the schematic, it is possible that an Arduino output configured as LOW was accidentally shorted to the battery positive terminal. If that condition existed for even a short time, it could damage the output transistor in the processor.
No reason, you can test in either order. My point was to test both. The LEDs should be on when input is connected to 5V and off when input is connected to ground.