For Arduino projects and tutorials you can visit webstie https://microdigisoft.com Refer below tutorial on 28BYJ-48 Stepper Motor and ULN2003 Stepper Motor using Arduino Projects - Visit for simillar ...
Uses a unipolar stepper motor and a U2004 Darlington Array. Motor connected to 5v to reduce overheating from battery. The above variables in the code should be changed according to your system.