Bringup
Open the editor
Behavioural mixed-signal model28BYJ-48 5V + ULN2003 boardstepper_28byj48

Stepper motor 28BYJ-48 + ULN2003 driver

Unipolar 5 V geared stepper motor with ULN2003 driver board: IN1–IN4 switch the four phases (~100 mA each from VCC); 4096 half steps per revolution of the output shaft. Above ~1000 half steps/s the motor loses steps. The shaft rotates in the schematic. Drive e.g. with the Stepper library (pins in the order IN1, IN3, IN2, IN4).

IN1IN2IN3IN45VGND28BYJ-48 5V + ULN2003 board
Schematic symbol

Key data

Category
Modules
Simulation model
Behavioural mixed-signal model
Manufacturer part number
28BYJ-48 5V + ULN2003 board
Reference prefix
M
Pins
6
Land pattern
PinHeader_1x06_P2.54mm_Vertical

Simulation model

A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.

Model
stepper
Supply pins
VCC / GND

Pins 6

PinNameUse
IN1IN1Input pinCoil phase 1 from a GPIO
IN2IN2Input pinCoil phase 2 from a GPIO
IN3IN3Input pinCoil phase 3 from a GPIO
IN4IN4Input pinCoil phase 4 from a GPIO
VCC5VSupply pinMotor supply 5 V (separate from the logic supply if possible)
GNDGNDGround pinGround

PCB

Connector / off-boardPinHeader_1x06_P2.54mm_Vertical

ULN2003 driver board on a 6-pin header (IN1–IN4, 5V, GND)