Skip to the content
PCBKitNew board
4 layersBetz mini, the printed circuit board in 3D

experimental firmware for betz drive

Copper layers
4
Thickness
1.6 mm
Parts
78
Nets
81
Pads
297
Tracks, vias
689, 139
Pours
18
Routed
Yes
KiCad
KiCad 5 (file 20200119)
Created
13 Mar 2020
Updated
2 Dec 2020

Overview

Betz mini is an open-source printed circuit board by codebot, from the codebot/betz_experimental repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board with 78 parts on 81 nets, routed with 689 tracks and 139 vias.

It is built around the STM32G474CEU6, LMZM23601V3SIL and THVD2450D, with the IIS328DQ and MP6540GU among its other parts. Its parts include 31 capacitors, 12 resistors, 6 ICs, 6 connectors and 1 diode. It belongs with the STM32 boards of this library.

Main components

5

README

README.md

greetings

This repo is an experimental collection of firmware and software for the Betz drive, with emphasis on real-time control frequency and reducing current control noise. The firmware is currently written bare-metal on the STM32, without an OS or platform library of any sort.

notes

  • MCU: STM32F405RG

getting ready

Because the betz_mini board is designed around STM32G4, it needs the latest openocd, rather than what is distributed with Ubuntu 18.04. To build openocd and install it into /usr/local :

text
sudo apt install gcc-arm-none-eabi

mkdir ~/tools
cd ~/tools
git clone git://repo.or.cz/openocd.git
cd openocd
./bootstrap
./configure
make
sudo make install

If you want to flash firmware directly to the board, and you don't have a udev rule set up yet for your SWD programmer, you'll need something like this (the VID/PID is for the Olimex USB-TINY-H programmer):

text
ACTION=="add", ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", MODE:="666"

then run sudo udevadm trigger to reload the rules.

compiling firmware

text
cd firmware
mkdir build
cd build
cmake ..
make

flashing stuff

First, connect a SWD programmer to the header on the board. If it doesn't exist already, add an appropriate rule in /etc/udev/rules.d so you don't need sudo to access the device. Then, from the firmware build directory:

text
make PROGRAM.flash_swd

Parts

78
QtyValueFootprintReferences
16TestPoint_SmallTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14, TP15, TP16
10100nCapacitor_SMD:C_0402_1005MetricC8, C12, C13, C14, C15, C16, C18, C23, C24, C27
94k7Resistor_SMD:R_0402_1005MetricR1, R2, R3, R4, R6, R7, R8, R9, R12
44u7Capacitor_SMD:C_0805_2012MetricC28, C29, C30, C32
4MountingHole_PadMountingHole:MountingHole_2.2mm_M2_DIN965_PadH1, H2, H3, H4
310uCapacitor_SMD:C_0402_1005MetricC20, C25, C31
310uCapacitor_SMD:C_1210_3225MetricC4, C5, C10
31uCapacitor_SMD:C_0402_1005MetricC19, C21, C22
2100uCapacitor_THT:C_Radial_D6.3mm_H11.0mm_P2.50mmC9, C17
215pCapacitor_SMD:C_0402_1005MetricC6, C7
1100kResistor_SMD:R_0402_1005MetricR11
1100nCapacitor_SMD:C_0603_1608MetricC2
11uCapacitor_SMD:C_0603_1608MetricC1
1330Resistor_SMD:R_0402_1005MetricR5
147uCapacitor_SMD:C_1210_3225MetricC11
14u7Capacitor_SMD:C_0603_1608MetricC3
18 MHzCrystal:Crystal_SMD_5032-2Pin_5.0x3.2mmX1
1ARM SWDConnector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_VerticalJ3
1AS5047UPackage_SO:TSSOP-14_4.4x5mm_P0.65mmU2
1BLDCConnector_Molex:Molex_Nano-Fit_105313-xx03_1x03_P2.50mm_HorizontalJ4
1BONUSConnector_PinHeader_1.27mm:PinHeader_1x08_P1.27mm_VerticalJ5
1EXTRA_BONUSConnector_PinHeader_1.27mm:PinHeader_1x01_P1.27mm_VerticalJ6
1IIS328DQPackage_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU3
1LMZM23601V3Package_LGA:Texas_SIL0010A_MicroSiP-10-1EP_3.8x3mm_P0.6mm_EP0.7x2.9mm_ThermalViasU5
1Logo_Open_Hardware_SmallSymbol:OSHW-Logo_7.5x8mm_SilkScreenLOGO1
1MP6540MPS:MP6540U4
1THVD2450Package_SO:VSSOP-8_3.0x3.0mm_P0.65mmU6
1downstreamConnector_Molex:Molex_Nano-Fit_105314-xx04_2x02_P2.50mm_HorizontalJ2
1ferriteResistor_SMD:R_0402_1005MetricR10
1statusLED_SMD:LED_0402_1005MetricD1
1stm32g474ceu6Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU1
1upstreamConnector_Molex:Molex_Nano-Fit_105314-xx04_2x02_P2.50mm_HorizontalJ1

Questions

What parts does the Betz mini use?

78 parts, built around the STM32G474CEU6, LMZM23601V3SIL, THVD2450D and IIS328DQ. 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 Betz mini KiCad files?

From the codebot/betz_experimental repository on GitHub, at the commit this page was made from: the board is hardware/betz_mini/betz_mini.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Betz mini design in my own project?

Its repository publishes it under the Apache-2.0 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

  • 4 layers130 × 74.7 mmStima V4 Slave R1 1, the printed circuit board in 3D

    Stima V4 Slave R1 1

    r-map/rmap

    rete monitoraggio ambientale partecipativo documentation at https://doc.rmap.cc

    289 parts55
  • 4 layers60 × 60 mmBLDC, the printed circuit board in 3D

    BLDC

    BetzDrive/bldc-controller-hardware

    Hardware design files for BLDC servo controller

    124 parts14
  • 6 layers160 × 100 mmBuslab, the printed circuit board in 3D

    Buslab

    tombueng/hilprobe

    HILprobe: multi-function UUT probe for hardware-in-the-loop testing - RS-485, CAN FD, logic analyzer, 4-ch scope, two programmable UUT supplies. KiCad 10, 6 layers, RP2350B + ESP32-S3.

    429 parts
  • 6 layers50 × 50 mmEcatExBrd, the printed circuit board in 3D

    EcatExBrd

    open-dynamic-robot-initiative/open-motor-driver-initiative

    Open-source drive for brushless motors, following the open dynamic robot initiative

    173 parts122BSD-3-Clause
  • 6 layers56 × 56 mmMoteus x1, the printed circuit board in 3D

    Moteus x1

    mjbots/moteus

    Brushless DC motor controller

    187 parts1.4kApache-2.0
  • 4 layers30 × 18 mmFdcanusb, the printed circuit board in 3D

    Fdcanusb

    mjbots/fdcanusb

    fdcanusb adapter

    36 parts42Apache-2.0
  • 4 layers90 × 50 mmIkeda MainBoard, the printed circuit board in 3D

    Ikeda MainBoard

    ararobo/ROBOCON_2025_A_PCB

    164 parts3MIT
  • 6 layers56.7 × 54.7 mmBetter md80, the printed circuit board in 3D

    Better md80

    darshp848/bldc-controller-60v

    60 V, 20 A / 80 A peak BLDC motor controller that fits the MD80 v3.0 mounting. KiCad 10, 6 layers.

    144 parts1