Problem with Power Supply Module turning off

I'm trying to learn how to use stepper motor while following Paul Mcwhorter's Arduino tutorials.
Problem is that when I plug arduino to my PC, power supply module led turns off and nothing is happening, whean i plug arduino off led on module lights up.

I'm using ELEGOO UNO 3R, power supply is also form ELEGOO.

Probably code is not a problem but maby someting is wrong.

#include <Stepper.h>

int stepsPerRevolution = 2048;
int motSpeed = 10;
Stepper myStepper(stepsPerRevolution, 8, 10, 9, 11);

int dT = 500;

void setup() {

void loop() {

It looks like a power problem. Please provide links to the motor and PSU data sheets.

After trying to troubleshoot I figured out that power supply led turns off when it is connected with motor driver module not to arduino.

How do you power the PSU?

Please supply a circuit diagram.

An ULN2xxx is not usable with a 5V motor and 5V supply. Use a driver with less voltage drop (MOSFET...).

@xkmx, your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advise on) your project :wink: See About the Installation & Troubleshooting category.

28BYJ-48 steppers are commonly supplied with an ULN2003, and that combo works fine on 5volt.

How do you power that breadboard supply (voltage/current).
Note that a breadboard supply has the same thermal limitations as the supply of an Uno.
Post a picture of the setup.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.