Tims-I2C-Dual-Motor-Driver
Palingenesis·Tims-I2C-Dual-Motor-Driver·Stuff/Tims_I2C_Dual_Motor_Driver.kicad_pcb
About the Tims-I2C-Dual-Motor-Driver PCB
Tims-I2C-Dual-Motor-Driver is an open source STM32 PCB design by Palingenesis, published on GitHub under the GPL-3.0 license. It is a 2-layer board measuring 64 × 40 mm, with 65 components from 35 distinct parts.
Its main chip is the STM8S103F, from the STM32 family. Other key parts include the DRV8876. By type, the board carries 27 resistors, 9 diodes, 7 capacitors, 6 connectors, 3 ICs and 2 transistors.
It belongs with the robotics & motion designs in this gallery.
From the project
A Motor Driver to control two Motors via I2C
Settings that set a position are only valid with motors that have a Quadratic Encoder.
The 'G' code P\ can be negative values. So why have G1 and G2? To keep options open. All positions are relative to a zero. When writing your own code to control the Motors you may only have the option of Unsigned Integers. You may want to only use Unsigned Integers to save memory.

Main components on the Tims-I2C-Dual-Motor-Driver
Tims-I2C-Dual-Motor-Driver bill of materials (BOM)
65 components, 35 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM8S103F | TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 2 | DRV8876 | HTSSOP-16-1EP_4.4x5mm_P0.65mm_EP3x3mm | U2, U3 |
| 2 | PNP_S8550 | SOT-23 | Q1, Q2 |
| 2 | I2C | JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal | J1, J2 |
| 1 | Stations | JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal | J3 |
| 1 | Motor A | JST_PH_S6B-PH-SM4-TB_1x06-1MP_P2.00mm_Horizontal | J4 |
| 1 | Motor B | JST_PH_S6B-PH-SM4-TB_1x06-1MP_P2.00mm_Horizontal | J5 |
| 1 | Motor Power | JST_PH_S4B-PH-SM4-TB_1x04-1MP_P2.00mm_Horizontal | J6 |
| 1 | VCC | Wire_Pad_D1.2mm | Pad1 |
| 1 | SWIM | Wire_Pad_D1.2mm | Pad2 |
| 1 | GND | Wire_Pad_D1.2mm | Pad3 |
| 1 | NRST | Wire_Pad_D1.2mm | Pad4 |
| 1 | Reset I2C | Wire_Pad_D1.2mm | Pad5 |
| 1 | VCC | Wire_Pad_2050mm | Pad6 |
| 2 | GND | Wire_Pad_2050mm | Pad7, Pad9 |
| 1 | Motor power | Wire_Pad_2050mm | Pad8 |
| 2 | Heat Sink | Wire_Pad_2050mm | Pad10, Pad11 |
| 3 | LED (Red) | LED_0805_2012Metric | D1, D2, D9 |
| 2 | LED (Blue) | LED_0805_2012Metric | D3, D5 |
| 2 | LED (Green) | LED_0805_2012Metric | D4, D6 |
Show 15 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 2 | LED (Yellow) | LED_0805_2012Metric | D7, D8 |
| 2 | 22NF 22nF | C_0805_2012Metric | C1, C2 |
| 2 | 100NF 100nF | C_0805_2012Metric | C3, C4 |
| 2 | 100NF 100nF | C_1206_3216Metric | C5, C6 |
| 1 | 1UF 1uF | C_0805_2012Metric | C7 |
| 8 | 10K 10k | R_0805_2012Metric | R1, R2, R5, R6, R15, R18, R21, R22 |
| 2 | 510R | R_0805_2012Metric | R3, R4 |
| 2 | Omit | R_0805_2012Metric | R7, R8 |
| 2 | 1K3 1k3 | R_0805_2012Metric | R9, R10 |
| 6 | 68R 150R | R_0805_2012Metric | R11, R12, R23, R24, R25, R26 |
| 2 | 4K7 4k7 | R_0805_2012Metric | R13, R14 |
| 2 | 100R | R_0805_2012Metric | R16, R17 |
| 1 | 150R | R_0805_2012Metric | R19 |
| 1 | 680R | R_0805_2012Metric | R20 |
| 1 | 1K5 | R_0805_2012Metric | R27 |
Tims-I2C-Dual-Motor-Driver design files
The KiCad project lives in the Palingenesis/Tims-I2C-Dual-Motor-Driver repository on GitHub; these links point at the commit this page was built from.
Tims-I2C-Dual-Motor-Driver: common questions
What microcontroller does the Tims-I2C-Dual-Motor-Driver use?
The Tims-I2C-Dual-Motor-Driver is built around the STM8S103F, from the STM32 family.
How big is the Tims-I2C-Dual-Motor-Driver PCB?
The Tims-I2C-Dual-Motor-Driver measures 64 × 40 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Tims-I2C-Dual-Motor-Driver?
65 components, from 35 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Tims-I2C-Dual-Motor-Driver design files?
From the Palingenesis/Tims-I2C-Dual-Motor-Driver repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the Tims-I2C-Dual-Motor-Driver design in my own project?
Yes, under the terms of its GPL-3.0 license, which Palingenesis chose for the repository.
Can I test firmware for the Tims-I2C-Dual-Motor-Driver without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k