Tims-I2C-Dual-Motor-Driver

Palingenesis·Tims-I2C-Dual-Motor-Driver·Stuff/Tims_I2C_Dual_Motor_Driver.kicad_pcb

Tims-I2C-Dual-Motor-Driver PCB layout, top view — open source STM32 board by Palingenesis

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.

Tims-I2C-Dual-Motor-Driver, from the project README
From the project README

Main components on the Tims-I2C-Dual-Motor-Driver

STM8S103FDRV8876

Tims-I2C-Dual-Motor-Driver bill of materials (BOM)

65 components, 35 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
STM8S103F
U1
2
DRV8876
U2, U3
2
PNP_S8550
Q1, Q2
2
I2C
J1, J2
1
Stations
J3
1
Motor A
J4
1
Motor B
J5
1
Motor Power
J6
1
VCC
Pad1
1
SWIM
Pad2
1
GND
Pad3
1
NRST
Pad4
1
Reset I2C
Pad5
1
VCC
Pad6
2
GND
Pad7, Pad9
1
Motor power
Pad8
2
Heat Sink
Pad10, Pad11
3
LED (Red)
D1, D2, D9
2
LED (Blue)
D3, D5
2
LED (Green)
D4, D6
Show 15 more
QtyPartRefs
2
LED (Yellow)
D7, D8
2
22NF
22nF
C1, C2
2
100NF
100nF
C3, C4
2
100NF
100nF
C5, C6
1
1UF
1uF
C7
8
10K
10k
R1, R2, R5, R6, R15, R18, R21, R22
2
510R
R3, R4
2
Omit
R7, R8
2
1K3
1k3
R9, R10
6
68R
150R
R11, R12, R23, R24, R25, R26
2
4K7
4k7
R13, R14
2
100R
R16, R17
1
150R
R19
1
680R
R20
1
1K5
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