# Stepper Motor Control

Day 39 of the 100 Days 100 IoT Projects collection. Board: ESP32.

Drive a NEMA 17 stepper through an A4988 driver with the ESP32. Precise rotation for CNC, 3D printers, and robotics.

## How it works

Each STEP pulse from the ESP32 advances the motor one microstep while the DIR pin sets direction, and the A4988 driver translates those logic signals into sequenced coil currents for the NEMA 17. Speed comes from pulse frequency, precision from the driver's microstepping.

## What you'll learn

- STEP/DIR signaling
- Microstepping concept
- Stepper driver current limiting
- Precision motion control

Full project (code, wiring diagram, Wokwi simulation): https://github.com/kritishmohapatra/100_Days_100_IoT_Projects/tree/main/Stepper_Motor_Control_using_ESP32_&_A4988_(MicroPython)

Summary by SkillShop. Code and diagrams belong to the original repo.
