

StepperDriverU
- 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
1README
README.mdSteppterDriverUnit
ステッピングモータを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=開放)
| M0 | M1 | M2 | マイクロステップ |
|---|---|---|---|
| x | x | x | フルステップ |
| o | x | x | 1/2ステップ |
| x | o | x | 1/4ステップ |
| o | o | x | 8 microステップ |
| x | x | o | 16 microステップ |
| o | x | o | 32 microステップ |
| x | o | o | 32 microステップ |
| o | o | o | 32 microステップ |
- Dcy: Decayモードの設定(G-中央間をショート=slow / V-中央間をショート=fast / ショートなし=mixed)
Author
Junichi Akita (akita@ifdl.jp / @akita11)
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | Jumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP1, JP2, JP3 |
| 2 | 0.1u | Capacitor_SMD:C_0603_1608Metric | C2, C3 |
| 2 | 0.2 | Resistor_SMD:R_0805_2012Metric | R2, R6 |
| 2 | CON_GROVE | akita:CON_GROVE_H | CN1, CN2 |
| 2 | Conn_01x02 | Connector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_Vertical | J2, J3 |
| 1 | 0.47u | Capacitor_SMD:C_0603_1608Metric | C4 |
| 1 | 1.5k | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | 10k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 10u | Capacitor_SMD:C_1206_3216Metric | C5 |
| 1 | 1k | Potentiometer_SMD:Potentiometer_Bourns_TC33X_Vertical | RV1 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R1 |
| 1 | 1u | Capacitor_SMD:C_0603_1608Metric | C1 |
| 1 | Conn_01x06 | Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Vertical | J1 |
| 1 | DRV8825 | Package_SO:HTSSOP-28-1EP_4.4x9.7mm_P0.65mm_EP2.85x5.4mm_ThermalVias | U1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | NC | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | SolderJumper_3_Open | Jumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm | JP4 |
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 mm

- 2 layers125 × 125 mm

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 mm

- 4 layers78 × 46 mm

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 mm

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 layers

- 2 layers66.7 × 59.7 mm

- 2 layers137.1 × 90 mm
