The DRV8880 is a 2A stepper motor driver with integrated auto tune, support STEP/DIR interface up to 1~16 micro stepping indexer that runs on 6.5 to 45v range. These device can be use in Automatic Teller, Money Handling Machine, Security Cameras, Printers, Scanners, 3D Printer, Office automation, industrial, automotive, robotics, and mechatronics. The DRV8880 is a bipolar stepper motor driver for power MOSFET H-Bridge capable of driving 2.0A full scale current. AutoTune atomically tunes the stepper motors for optimal current regulation, performance and compensates for motor variation and aging effects. The DRV8880 has mixed decay modes slow, fast. STEP/DIR pin provides a simple control interface can be configured in full-step up to 1/16 step mode. Sleep mode is provided for very low quiescent current standby using a dedicated nSLEEP pin. This device has also internal protection functions for under-voltage, change pump faults, overcurrent, short-circuits, and over-temperature. Fault conditions are available in the indicated pin nFAULT.  For more details please refer to the DRV8880 datasheet.

3.3v output is provided from the internal regulator available at the V3P3 pin. This pin can supply up to 10mA external loads, when the driver is in sleep mode the 3.3v output is disable you cannot used to pull-up the pin. If you’re using 6 and 8 wire stepper motor the DRV8880 can support if properly connected.

Stepper motors are typically has a step sizes for example 1.8 degree or 200 steps per revolution which applies to full steps. This device allows higher resolutions by allowing intermediate step locations, which can be achieved by energizing the coil with intermediate current levels. Driving a motor in quearter-step mode will provide the 200 step per revolution 800 microsteps per revolution by using four different current level. The step size selector input M0 and M1 enables the selection from the six step resolutions according to the datasheet M0 is floating by default and M1 has an onboard 10k Ohms pulldown resistor, by these two microstep selection pins disconnect results in 1/8 step mode. For the micro step modes to work properly the current limit must be set to low so that the current limiting get engage otherwise the intermediate current levels will not be correctly maintained and the motor will skip in microsteps.

Required Components

  • Arduino IDE | Atmel Studio | Energia
  • Microcontroller – Arduino, NodeMCU, Teensy Board, TeensyDuino, ESP8266 12, 12E, ESP32, LinkItOne, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, TI Evaluation Bord C2000, CC3200, MSP430 ,ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, ATTINY85 16/8 MHz Note: The Diagram below is using NANO. (please refer to each MCU’s respective pin-outs)
  • DRV8880 Stepper Motor Driver Chip / Module
  • Stepper Motors / 4 Wire / 6 Wire / 8 Wire
  • Capacitors (See below required values)
  • Resistors (See below required values)
  • Solder Less Breadboard
  • Jumper Wire
  • HTSSOP / WQFN Sockets or Boards
  • Prototyping Board (Optional)

Wiring 4 Lead Wire

Stepper Motor Driver 4 Wire

Wiring 6 Lead Wire

Stepper Motor Driver 6 Wire

Wiring 8 Lead Wire

Stepper Motor Driver 8 Wire

Test Code

Downloads

  • Download TI DRV8880 Test Code library | Zip
  • Download DRV8880 Datasheet | PDF
Wiring DRV8880 2A Stepper Motor Driver With AutoTune
Facebooktwittergoogle_plusredditpinterestmail
Tagged on:                 

Leave a Reply

Your email address will not be published. Required fields are marked *