Stepper Motor Control with Arduino

Small model which demonstrates how to control a stepper motor with an Arduino board.

Al momento, stai seguendo questo contributo

Small model which demonstrates how to control a stepper motor with an Arduino board.

Hardware used:
- Arduino Mega 2560
- Step Motor 28BYJ-48
- Motor Driver Board ULN2003
- Potentiometer to input desired motor angle
- Breadboard and wires
See pictures inside the ZIP file for wiring setup.
Pin 2 (Arduino) -> Pin 4 (ULN2003)
Pin 3 (Arduino) -> Pin 2 (ULN2003)
Pin 4 (Arduino) -> Pin 3 (ULN2003)
Pin 5 (Arduino) -> Pin 1 (ULN2003)
Potentiometer -> Pin A0 (Arduino)
Ground and +5V power supply for potentiometer and ULN2003.

Enjoy.

Cita come

Helmuth (2026). Stepper Motor Control with Arduino (https://it.mathworks.com/matlabcentral/fileexchange/59110-stepper-motor-control-with-arduino), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Community
Ulteriori file sono disponibili nella  Power Electronics Control Community
Versione Pubblicato Note della release Action
1.1.0.0

Improved model: motor is stopped when target position is reached.

1.0.0.0