12 V 28BYJ-48 Geared Unipolar Stepper Motor

30,00 DH

Availability:

232 in stock

SKU: 0340 Categories: ,

Description

⚙️

12 V 28BYJ-48 Geared Stepper Motor

The 12 V 28BYJ-48 is a compact unipolar stepper motor with a mechanical gearbox. It can be used for positioning, robotics, automation and prototyping.

Highlights

  • Step-by-step positioning
  • 12 V DC operation
  • Clockwise and counterclockwise rotation
  • Integrated gearbox
  • Holds position while its coils are energized
  • Five-wire female connector
  • For Arduino and other microcontroller projects

Technical specifications stated in the listing

  • Model: 28BYJ-48
  • Type: unipolar stepper motor
  • Rated voltage: 12 V DC
  • Phases: 4
  • Wires: 5
  • Winding resistance (indicative): 200 Ω ±7% at 25 °C
  • Nominal gear ratio: approximately 1:64
  • Step angle stated: 5.625°/64
  • Output-shaft half-steps per revolution: approximately 4096
  • Indicative nominal frequency: 100 Hz
  • Indicative torque: approximately 450 gf·cm
  • Indicative noise level: up to approximately 35 dB
  • Connector: 5-pin female, compatible with ULN2003 boards
  • Rotation: clockwise and counterclockwise

Torque, gear ratio and step count may vary slightly with manufacturer and production batch.

How a stepper motor works

Unlike a basic DC motor, the 28BYJ-48 does not simply rotate when supplied with DC voltage. Its four windings must be energized in sequence. Each sequence change advances the rotor; the gearbox reduces output speed and increases available shaft torque. The microcontroller generates the sequence, while a driver supplies coil current.

Stepper motor or conventional DC motor?

Criterion DC motor 28BYJ-48
Position control Difficult without an encoder Position can be estimated by counting steps
Speed adjustment By PWM By step frequency
Holding position Not normally Yes, while energized
Integrated gearbox Depends on model Yes
Electronic control H-bridge or transistor ULN2003 recommended
Fast continuous rotation Suitable Slower
Small precise mechanisms Possible Well suited

Driver required

Do not connect the motor directly to Arduino pins. Microcontroller outputs cannot supply the current required by the windings. Use a ULN2003A driver board, which provides four phase-driving channels, power transistors, inductive-voltage protection diodes, coil-status LEDs and a matching motor connector.

The ULN2003A driver is not included with this motor-only listing unless the selected offer says otherwise.

Parts for the tutorial

  • 1 × Arduino Uno or Nano
  • 1 × 12 V 28BYJ-48 motor
  • 1 × ULN2003A driver
  • 1 × external 12 V DC power supply
  • Jumper wires
  • Arduino AccelStepper library

Arduino and ULN2003A wiring

ULN2003A Arduino / power connection
IN1 D8
IN2 D9
IN3 D10
IN4 D11
+ Positive terminal of the 12 V supply
− Negative terminal of the 12 V supply
Motor connector 5-wire 28BYJ-48 connector

Connect Arduino GND to the negative terminal of the 12 V supply to establish a common ground.

Never connect 12 V to the Arduino 5 V pin or power the motor from that pin.

Arduino code – one turn in each direction

Install the AccelStepper library using the Arduino IDE Library Manager.

#include <AccelStepper.h>

// Ordre adapté au 28BYJ-48 avec ULN2003 :
// IN1, IN3, IN2, IN4
AccelStepper moteur(
  AccelStepper::HALF4WIRE,
  8, 10, 9, 11
);

const long demiPasParTour = 4096;

void setup() {
  moteur.setMaxSpeed(600);
  moteur.setAcceleration(200);
  moteur.moveTo(demiPasParTour);
}

void loop() {
  moteur.run();

  if (moteur.distanceToGo() == 0) {
    delay(500);

    // Inverser la destination à chaque arrivée
    moteur.moveTo(-moteur.currentPosition());
  }
}

This program makes approximately one turn in one direction, pauses briefly, then moves back in the opposite direction.

Step-count accuracy

The 4096 half-steps per output-shaft revolution is a commonly used approximation. The exact gearbox construction may cause the actual ratio to differ slightly from 64:1. For applications requiring very accurate angular positioning, command several complete turns and measure the error, adjust the halfStepsPerRevolution constant, and add a reference sensor or limit switch to establish the starting position.

Use notes

  • Use a supply suitable for the 12 V version.
  • Do not confuse it with the 5 V 28BYJ-48 model.
  • Do not stall the shaft while the motor is energized.
  • Reduce speed if the motor misses steps or vibrates without turning.
  • Use gradual acceleration for heavier loads.
  • Disconnect power before changing wiring.
  • Avoid leaving the coils energized unnecessarily to limit heating.

Typical applications

  • Small robots and automated mechanisms
  • Positioning flaps and dampers
  • Rotating camera platforms
  • Instruments and laboratory equipment
  • Home automation
  • Positioning lightweight sensors and antennas
  • Small valves and dispensers
  • Drive mechanisms
  • Blind and ventilation controls
  • Arduino education projects

Thank you for your loyalty!

EN