This is ULN2003 Driver Module Stepper Motor Driver Board for driving and controlling stepper motors.
ULN2003 Stepper Motor Driver Board uses the ULN2003 DARLINGTON ARRAYS to drive the 4-phase 5-wire stepper motor (5v-12v).
It’s easy to use Arduino or another development platform to drive the stepper motor by this diver board.
The 5 Line 4 Phase can be driven by ordinary ULN2003 chip can also be connected in phase 2 development board used for supporting the use of a direct plug and easy to use stepper motor used in the development board. A, B, C, D four-phase LED indicates the status of the stepper motor work.
Features :
ULN2003A motor driver chip
Chip all the pins already leads for easy connection to use
5-12V power supply
4-way signal indicator
XH-5P socket can be connected directly 28BYJ-48 Model stepper motor
Package Includes :
1 x ULN2003 Driver Module Stepper Motor Driver Board
Pin Connections Table 1
Board Sensor Pin Connection ULN2003 IN1-IN4 4 board digital pins
ULN2003 Driver Module Stepper Motor Driver Board - Arduino Uno
ULN2003 Driver Module Stepper Motor Driver Board - Arduino Nano
ULN2003 Driver Module Stepper Motor Driver Board - Arduino Mega
ULN2003 Driver Module Stepper Motor Driver Board - ESP32
ULN2003 Driver Module Stepper Motor Driver Board - ESP8266
ULN2003 Driver Module Stepper Motor Driver Board - STM32
ULN2003 Driver Module Stepper Motor Driver Board - Raspberry Pi Pico
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins 8 , 9 , 10 , 11 on Arduino Uno
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, 8 , 10 , 9 , 11 ); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins 8 , 9 , 10 , 11 on Arduino Nano
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, 8 , 10 , 9 , 11 ); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins 8 , 9 , 10 , 11 on Arduino Mega
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, 8 , 10 , 9 , 11 ); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins 13 , 12 , 14 , 27 on ESP32
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, 13 , 14 , 12 , 27 ); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins D5, D6, D7, D8 on ESP8266
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, D5, D7, D6, D8); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins PB0, PB1, PB2, PB3 on STM32
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, PB0, PB2, PB1, PB3); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // IN1-IN4 on pins 14 , 15 , 16 , 17 on Raspberry Pi Pico
6 #include <Stepper.h>
7
8 const int STEPS_PER_REV = 2048 ; // 28BYJ-48 with internal gearbox (common ULN2003 pairing)
9 Stepper myStepper(STEPS_PER_REV, 14 , 16 , 15 , 17 ); // note IN1,IN3,IN2,IN4 order for this library
10
11 void setup () {
12 Serial.begin (115200 );
13 myStepper.setSpeed(10 ); // RPM
14 }
15
16 void loop () {
17 myStepper.step(STEPS_PER_REV / 4 ); // quarter turn
18 delay (1000 );
19 myStepper.step(-STEPS_PER_REV / 4 );
20 delay (1000 );
21 }
Project Notes: Darlington-array driver for small unipolar steppers (typically paired with a 28BYJ-48 gear-motor).