Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.38 KB

File metadata and controls

27 lines (18 loc) · 1.38 KB

StepperMotor_ArduinoMotorShield_NEMA17

Programming of Arduino 2A Motor Shield with NEMA17 Stepper Motor

Hardware Used

  1. Arduino Uno
  2. Arduino 2A Motor Shield : User Manual
  3. NEMA 17 Stepper Motor

Wiring Configuration

Software

The Arduino Stepper library is used. The programs are based off its inbuilt examples stepper_oneRevolution and stepper_oneStepAtATime.

  1. One Step at a Time: motor moves one step at a time, used to test motor wiring
  2. Constant revolution: motor constantly revolves at selected speed in selected direction, used to test motor wiring
  3. One Revolution: motor moves one revolution clockwise, then one revolution counter clockwise, and repeats

Application

Reliability Test for Flexible Electronics

Note:

  1. For the NEMA 17 Stepper Motor tested, the datasheet states that for one coil black is the coil end and yellow is the centre tap wire, but it was found that the opposite is true.
  2. Select the number of revolutions per step based on the motor used
  3. These examples use Signed Magnitude mode on the shield.