Skip to the content
PCBKitNew board
2 layers20.6 × 28 mmStepperDriverU, the printed circuit board in 3D
Size
20.6 × 28 mm
Copper layers
2
Thickness
1.6 mm
Parts
23
Nets
27
Pads
95
Tracks, vias
298, 34
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
30 Jul 2023
Updated
4 Mar 2024

Overview

StepperDriverU is an open-source printed circuit board by akita11, from the akita11/StepperDriverUnit repository on GitHub, published under the MIT licence. It is a 2-layer board of 20.6 × 28 mm with 23 parts on 27 nets, routed with 298 tracks and 34 vias.

It is built around the DRV8825PWP. Its parts include 6 resistors, 5 capacitors, 5 connectors, 1 IC and 1 diode.

Main components

1

README

README.md

SteppterDriverUnit

ステッピングモータをGrove端子からの方向・パルスのみで制御できるUNITです。ドライバICはよく使われるDRV8825の互換IC(HR8255)を使用しており、マイクロステップ駆動も可能です。またイネーブル・リセットは別の端子から与えることもできます。

使用法(まずは使ってみる)

  • 6pコネクタ(ネジ端子:基板裏面にシルク表記あり)に、ステッピングモータの電源(+12V等)とモータのA相・B相(各2本:計4本)のケーブルを接続します。
  • Grove端子にマイコンなど(M5Stack等)を接続します(ここからの+5V給電が本体の動作に必要です)
  • Grove端子の信号線(DIRとSTP)でモータの回転の向きとステップを制御します。DIR=0/1で回転方向を決定し(実際の回転方向がどちらが時計回りかはA相・B相の配線によって異なる)、STPの立ち上がり(0→1の変化)で1ステップ進みます。

Grove端子のピン配置(基板裏面にシルク表記あり): STP/DIR/+5V/GND

UIFlowでの使用例(以下)を参考にしてください。(Core2のPortAに接続した場合。STEP=GPIO33, DIR=GPIO32)

使用法(詳細な設定など)

半固定抵抗(RV1)でモータの駆動電流を設定てきます。また動作異常時にはD1(Fault)が点灯します。

補助制御端子

  • J2の2本をショートすると、ドライバICをdisable状態にしてモータの駆動をOFFにします。
  • J3の2本をショートすると、ドライバICの内部状態をリセットします。
  • CN2にもこの2本の信号線が引き出してあり、Grove端子をとりつけてマイコン等から制御することができます。このGrove端子のピン配置(基板裏面にシルク表記あり): nEN/nRST/+5V/GND (nEN=0でドライバICがON、=1でOFF。nRST=0でドライバICをリセット、=1で通常動作)

駆動方法の設定

基板裏面の4つのソルダージャンパで、モータの駆動方法を設定できます。詳細はHR8825(またはDRV8825)のデータシートを参照してください。

  • M0/M1/M2: マイクロステップの設定。(o=ショート、x=開放)
M0M1M2マイクロステップ
xxxフルステップ
oxx1/2ステップ
xox1/4ステップ
oox8 microステップ
xxo16 microステップ
oxo32 microステップ
xoo32 microステップ
ooo32 microステップ
  • Dcy: Decayモードの設定(G-中央間をショート=slow / V-中央間をショート=fast / ショートなし=mixed)

Author

Junichi Akita (akita@ifdl.jp / @akita11)

Parts

23
QtyValueFootprintReferences
3Jumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1, JP2, JP3
20.1uCapacitor_SMD:C_0603_1608MetricC2, C3
20.2Resistor_SMD:R_0805_2012MetricR2, R6
2CON_GROVEakita:CON_GROVE_HCN1, CN2
2Conn_01x02Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_VerticalJ2, J3
10.47uCapacitor_SMD:C_0603_1608MetricC4
11.5kResistor_SMD:R_0603_1608MetricR5
110kResistor_SMD:R_0603_1608MetricR3
110uCapacitor_SMD:C_1206_3216MetricC5
11kPotentiometer_SMD:Potentiometer_Bourns_TC33X_VerticalRV1
11kResistor_SMD:R_0603_1608MetricR1
11uCapacitor_SMD:C_0603_1608MetricC1
1Conn_01x06Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ1
1DRV8825Package_SO:HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP2.85x5.4mm_ThermalViasU1
1LEDLED_SMD:LED_0603_1608MetricD1
1NCResistor_SMD:R_0603_1608MetricR4
1SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mmJP4

Questions

How big is the StepperDriverU PCB?

It measures 20.6 × 28 mm and has 2 copper layers, 1.6 mm thick.

What parts does the StepperDriverU use?

23 parts, built around the DRV8825PWP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the StepperDriverU KiCad files?

From the akita11/StepperDriverUnit repository on GitHub, at the commit this page was made from: the board is StepperDriverU.kicad_pcb and its schematic StepperDriverU.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the StepperDriverU design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers100 × 99.8 mmUnderdog, the printed circuit board in 3D

    Underdog

    turboedge/SpeedyBoards

    EMS boards powered by Speeduino

    396 parts110GPL-2.0
  • 2 layers125 × 125 mmDiy robotics arm, the printed circuit board in 3D

    Diy robotics arm

    mathias31415/diy_robotics

    Gripper, PCBs and ROS2 software for Six-Axis Robot Arm WE-R2.4 from LoboCNC

    34 parts39
  • 4 layers20.2 × 14.8 mmCooldrv, the printed circuit board in 3D

    Cooldrv

    kliment/cooldrv

    drv8825-based stepper driver module

    11 parts10
  • 4 layers78 × 46 mmHydro, the printed circuit board in 3D

    Hydro

    o7-machinehum/Hydroponic

    Please find the electronics files in the ee folder, all pcb design is done with the open source software KiCad. Is uses an STM32 as the main controller, and an ST L6470 moter driver for the stepper motor.

    69 parts5
  • 4 layers108.4 × 94 mmCompact stepper controller, the printed circuit board in 3D

    Compact stepper controller

    eli3162/diw_printer

    Direct ink Writing(DIW) is a technology that enables 3d printers to print many gels, solvents, and other liquids instead of normal plastic filaments.

    44 parts3GPL-3.0
  • 2 layersStepper, the printed circuit board in 3D

    Stepper

    bibishte/firmwares

    programmes for microcontrollers ans schematic

    68 parts2GPL-2.0
  • 2 layers66.7 × 59.7 mmBalancebot, the printed circuit board in 3D

    Balancebot

    frostiebot/balancebot

    ESP32 Self-Balancing Robot

    21 parts1
  • 2 layers137.1 × 90 mmStepperpcb, the printed circuit board in 3D

    Stepperpcb

    LarsCl/DUM-E

    Dynamic Unilateral Manipulator - Experimental

    82 parts1