2.5A Bipolar Stepper Driver with Micro-Stepping, Current and Decay Control – Arduino Compatible

  • Rajkumar Sharma
  • 15 Views
  • medium
  • Tested

This is an Arduino compatible board that contains an Atmega328 microcontroller and Bipolar Stepper Motor Driver chip STK682-010. This Hybrid IC from ON Semiconductor can deliver up to 2.5A current and it can have an input supply up to 32V DC. It has multiple micro-stepping options such as Full step, 1/2th Step, 1/4th Step, 1/8th Step, 1/16th Step, 1/32th Step, 1/64th Step, 1/128th Step.  PR1 trimmer potentiometer is provided to set the decay, 3.5V Slow Decay, 1.1V to 3.1V Mixed Decay, 0.8V-1V Fast Decay, and PR2 Trimmer Potentiometer provided to set the output current. Chopping frequency set to 83.3 Khz using capacitor C5 100PF. Micro-Stepping can be set with the help of jumper J1, J2, J3. This board is by default enabled since the enable pin has a pull-up resistor, but you can provide a low signal to disable the motor driver chip. Atmega328D provides Direction pulse, Step pulse, Enable control, etc. The IC has built-in automatic half current functions to reduce the vibrations & current while the motor is in static mode. It is important to use a heatsink on the motor driver chip. Refer to the micro-stepping table to set the micro-stepping. Board requires a Motor power supply as well logic supply 5Vdc.

Arduino Programming

Arduino code is provided to test the board. The user will be able to control stepper motor speed using a 10K potentiometer connected to Analog pin A0 using connector U3. Users may write their own code to drive the motor as per requirements, micro-stepping is separate and independent from micro-controller. Only Pulse/Clock input, Direction, enable pins are connected to Arduino hardware.

A new Atmega328 requires bootloader programming and Arduino code, refer to the link below for more information:

https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoToBreadboard

Arduino Pins

  • Digital Pin D6: Enable STK682-010, Default this pin is High Using Pull-up Resistor R9, Pull Down this Pin to disable the motor driver
  • Digital Pin D5: Clock/Pulse STK682-010
  • Digital Pin D10: Dir (Motor CCW/CW Low or High) STK682-010, Default this Pin is High Using pullup Resistors R3
  • Analog Pin A1: Analog input, Potentiometer or Sensor Connection

Features

  • Supply Voltage Range 9-32V DC (Connector CN1)
  • Logic Supply 5V DC (CN4 Pin 4=GND, Pin 5=5V DC Input)
  • Motor Load 2.5A Continues (Connector CN2)
  • J1, J2, J3 Jumpers for Micro-Stepping
  • PR2 Current Adjust Trimmer Potentiometer
  • PR1 FDT Trimmer Pot to adjust Decay
  • Built-In Automatic Half Current Maintenance energizing function
  • Built-in Over Current Protection Circuit (Within IC)
  • Built Thermal Shutdown Circuit (Within IC)
  • On-Board Power LED D1
  • PCB Dimensions 57.94 x 46.67 mm

Schematic

Parts List

NO.QNTY.REF.DESC.MANUFACTURERSUPPLIERPART NO
11CN12 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
22CN22 PIN SCREW TERMINAL PITCH 5.08MMPHOENIXDIGIKEY277-1247-ND
31CN38 PIN MALE HEADER PITCH 2.54MMWURTHDIGIKEY732-5321-ND
42CN4,C10DNP
51C110uF/10V SMD SIZE 0805MURATA/YAGEODIGIKEY
65C2,C4,C5,C7,C80.1uF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
71C310uF/16V SMD TANTLUMMURATA/YAGEODIGIKEY478-8999-1-ND
81C6470uF/50VRUBYCONDIGIKEY1189-4017-ND
91C9100PF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
102C11,C1222PF/50V SMD SIZE 0805MURATA/YAGEODIGIKEY
111D1LED RED SMD SIZE 0805LITE ON INCDIGIKEY160-1427-1-ND
123J1,J2,J32 PIN MALE HDAER PITCH 2.54MMWURTHDIGIKEY732-5315-ND
133JUMPER SHUNTSHUNT FOR JUMPERS SULLINS CONNECTORSDIGIKEYS9001-ND
141PR15K TRIMMER POTBOURNS DIGIKEY118-3362U-1-502RLFCT-ND
151PR21K TRIMMER POTBOURNS DIGIKEY3362H-502LF-ND
166R1,R3,R5,R6,R7,R910K 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
172R2,R8470E 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
181R42K 1% SMD SIZE 0805MURATA/YAGEODIGIKEY
191R101K2 1% SMD SIZE 0805MURATA/YAGEODIGIKEY
202R11,R120.2E/2W SMD 2512MURATA/YAGEODIGIKEY
211R1310E 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
221R141M 5% SMD SIZE 0805MURATA/YAGEODIGIKEY
231U1ATMEGA328TQPF-32MICROCHIPDIGIKEYATMEGA328PB-AURCT-ND
241U2STK682-010-EONSEMIRS COMPONENTS801-6814P
251U310K POTENTIOMETERTT ELECTRONICSDIGIKEY987-1307-ND
261X116MhzECS INCDIGIKEYX1103-ND

Connections

Micro Stepping



Gerber View

Photos

 

Video

STK682-010 Datasheet

ENA2252_D-2311359

PCB

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

X