Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino-Controlled Stepper Motor System with A4988 Driver

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Stepper Motor System with A4988 Driver

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to control a Nema 17 stepper motor using an A4988 stepper motor driver and an Arduino UNO. The circuit is powered by a 5V 5A power supply and includes a ceramic capacitor for noise filtering. The Arduino UNO is programmed to control the stepper motor through the A4988 driver.

Component List

  1. Nema 17 42-STH48 Stepper Motor

    • Pins: A2 (black), A1 (Green), B2 (Red), B1 (Blue)
    • Description: Stepper motor used for precise control of rotational position.
  2. A4988 Stepper Motor Driver (Red)

    • Pins: ENABLE, MS1, MS2, MS3, RESET, SLEEP, STEP, DIR, VMOT, GND, 2B, 2A, 1A, 1B, VDD
    • Description: Driver module for controlling the stepper motor.
  3. POWER SUPPLY 5V 5AMP

    • Pins: 220V Positive Pole (AC), 220V Negative Pole (AC), GND, GND (DC), 12V-24V Output (DC)
    • Description: Power supply unit providing 5V and 5A output.
  4. Socket

    • Pins: earth, life, neutral
    • Description: Standard electrical socket for AC power input.
  5. Ceramic Capacitor

    • Pins: pin0, pin1
    • Description: Capacitor used for noise filtering.
    • Properties: Capacitance = 100 Farads
  6. Arduino UNO

    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
    • Description: Microcontroller board used for controlling the stepper motor driver.

Wiring Details

Nema 17 42-STH48 Stepper Motor

A4988 Stepper Motor Driver (Red)

POWER SUPPLY 5V 5AMP

Socket

Ceramic Capacitor

Arduino UNO

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a detailed component list, wiring details, and the code used for the Arduino UNO.