Page 1 of 1

[M480] Stepper Motor

Posted: 16 Jun 2020, 14:12
by chhsieh3
  • Application: The example code is M480 GPIO control 4-Phase, 8-Beat stepper motor.
  • BSP Version: M480 Series BSP CMSIS V3.03.001
  • Hardware: NuMaker-PFM-M487 V3.0
This code uses M480 timer to control I/O that can drive stepper motor by Darlington IC(ULN2803). This document includes everything you need to know about controlling a 28BYJ-48 stepper motor with the ULN2003 driver and M480 timer.

The 28BYJ-48 is one of the cheapest stepper motors you can find. Although it is not super accurate or powerful, it is a great motor to use for smaller projects or if you just want to learn about stepper motors.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 0328165757