Erasmus+ exchange · 2020

Stepper motor GUI in LabVIEW

Controlling the speed and direction of two stepper motors from a LabVIEW interface, through an Arduino and a motor driver.

  • WhereUCLan (now the University of Lancashire), Preston, UK
  • ProgrammeErasmus+ exchange semester, fully funded
  • ToolsLabVIEW · Arduino

Overview

This project was part of the Electromechanical Systems course at the University of Central Lancashire (UCLan, now the University of Lancashire) in Preston, UK, during my exchange semester funded by Erasmus+. UCLan and Erasmus+ representatives tested and interviewed the top students of Ain Shams University, and I was one of four students selected.

The aim was to apply the concepts of electromechanical systems to control the speed and direction of two stepper motors through a graphical user interface. I designed the GUI in LabVIEW and interfaced it with an Arduino, which sends the signals to the motor driver.

LabVIEW front panel with serial port selection, speed levels, direction and pulse frequency for two motors
LabVIEW front panel: serial port, speed level, direction and pulse frequency for each motor.

Video

The full integration of the project.

Tech stack

  • LabVIEW
  • Arduino
  • Stepper motors
  • Motor driver
  • Serial communication