Skip to the content
2 layers99.1 × 99.1 mmBus, the printed circuit board in 3D

Simple and configurable bus controllers based on STM32.

Size
99.1 × 99.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
1,179
Nets
40
Pads
2,550
Tracks, vias
2,100, 0
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
8 Nov 2024
Updated
16 Dec 2024

Overview

Bus is an open-source printed circuit board by johannesloetzsch, from the johannesloetzsch/pillbus repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 99.1 × 99.1 mm with 1,179 parts on 40 nets, routed with 2,100 tracks and 0 vias.

README

hw/stm32-pillbus/README.md

PillBus

Simple and configurable bus controllers based on STM32.

STM32F103C8T6

Different from OtterPill, a newer MCU is used:

  • ARM Cortex-M3
  • 2V~3.6V Operating Voltage Range
  • 50mA max current consumption (Run mode, 72MHz, all peripherals enabled)
  • 64KB Program FLASH Storage
  • 20KB RAM
  • max 72MHz, Internal Oscillator
  • 35/37 GPIO Ports
  • 2 SPI, 2 I²C, 3 USART, 1 USB 2.0 full-speed, 1 CAN
  • 12bit ADC
  • DMA

MCU pinout

Rust

Examples on similar MCUs

Peripherals

WS2812B RGB-LEDs

  • -0.5-5.5 V Supply Voltage
  • 3.0-7.0 V Logic input Voltage
  • 12 mA RGB output Current

Power supply via USB

USB SpecificationCurrentVoltageConfigurationusage
USB 2.0 Low-power device100mA5Vdefault1-2 MCU at max or 5 MCU at low consumption
USB 2.0 High-power device500mA5V„Power Budgeting“ during device enumeration5 MCU at max + 16 RGB-LEDs
USB Battery Charging1.5 A5Vcharger detection algorithm5 MCU at max + 96 RGB-LEDs
USB TypeC Power Delivery3.0 A5VPD IC5 MCU at max + ~200 RGB-LEDs

USB Battery Charging

Portable Devices „with a Good Battery“ are required to implement the charger detection algorithm defined at Battery Charging Specification section 3.3.2

Primary Detection

Portable Devices (PD) are required to implement Primary Detection to distinguish between Standard Downstream Port (SDP) and different types of Charging Ports (Charging Downstream Port (SDP) or , Dedicated Charging Port` (DCP)).

Dedicated Charging Ports are identified by RDCP_DAT <= 200 Ω between D+ and D−. The Portable Device sets D+ and tests on D- if a similar voltage is detected.

Charging Downstream Ports are allowed to identify by either one of two ways:

  1. D- is set within TCP_VDM_EN of a disconnect and then unset within TCP_VDM_DIS of a connect.
  2. D- is set exactly when VDAT_REF < D+ < VLGC

Accessory charging adapters (ACA) exist for USB On-The-Go and have an additional detection mechanism.

Secondary Detection

Secondary Detection can be used to distinguish between DCP and CDP. Portable Devices that are ready to be enumerated are allowed to bypass Secondary Detection. Secondary Detection identifies Dedicated Charging Ports by RDCP_DAT <= 200 Ω between D+ and D−. The Portable Device sets D- and tests on D+ if a similar voltage is detected.

Parts

1,179
QtyValueFootprintReferences
78, , , , , , , , , , , , , , , +62
38~base:PTH 1.7mmGnd1, Gnd2, Gnd10, Gnd11, Gnd12, Gnd13, Gnd14, Gnd15, Gnd16, Gnd17, Gnd18, Gnd19, Gnd20, Gnd21, Gnd22, Gnd23 +22
18IDE STM busribbon:IDE STM busJ1, J2, J3, J4, J5, J11, J11, J11, J11, J11, J12, J13, J14, J15, J16, J17 +2
2QFN-32base:Breakout QFN-32U***, U***

The 136 most common of 1,179 parts.

More from johannesloetzsch/pillbus

4
  • 2 layers100 × 99.6 mmStm32-panel, the printed circuit board in 3D

    Stm32-panel

    johannesloetzsch/pillbus

    Simple and configurable bus controllers based on STM32.

    736 partsCERN-OHL-S-2.0
  • 2 layers100 × 100 mmPillbus, the printed circuit board in 3D

    Pillbus

    johannesloetzsch/pillbus

    Simple and configurable bus controllers based on STM32.

    297 partsCERN-OHL-S-2.0
  • 2 layers23.8 × 49 mmStm32pill, the printed circuit board in 3D

    Stm32pill

    johannesloetzsch/pillbus

    Simple and configurable bus controllers based on STM32.

    64 partsCERN-OHL-S-2.0
  • 2 layers48 × 12 mmLeds, the printed circuit board in 3D

    Leds

    johannesloetzsch/pillbus

    Simple and configurable bus controllers based on STM32.

    8 partsCERN-OHL-S-2.0

Similar boards

  • 2 layers271.8 × 172.7 mmPeripherl bridge panel, the printed circuit board in 3D

    Peripherl bridge panel

    Pongkemon01/Zeabus-Elec-Circuit-Peripheral_bridge

    Bridge circuit for several peripheral

    1,176 parts
  • 2 layers90 × 58 mmMCU PROTO 100x68mm, the printed circuit board in 3D

    MCU PROTO 100x68mm

    galopago/misistemote

    Misistemote is an Open Source, modular ecosystem that uses pre-made PCB to mix and match your choice of processor board.

    1,183 parts11MIT
  • 2 layers100 × 100 mmIngonde 10x10, the printed circuit board in 3D

    Ingonde 10x10

    Thierry-oshw/Basine

    Basine est une carte supportant Ultrogothe et les allumettes. Plusieurs variantes prévues.

    1,170 partsCERN-OHL-P-2.0
  • 2 layers100 × 160 mmExp platine, the printed circuit board in 3D

    Exp platine

    Stefan311/A7150

    All about the IBM-XT-Clone A7150

    1,169 parts3BSD-2-Clause
  • 2 layers189.4 × 190.8 mmNRF24L01 adapter, the printed circuit board in 3D

    NRF24L01 adapter

    SolderedElectronics/NRF24L01-adapter-for-Dasduino-boards-hardware-design

    Hardware design, BOM, gerbers and 3D files for NRF24L01-adapter-for-Dasduino-boards designed by Soldered Electronics.

    1,164 parts
  • 2 layers101.3 × 196.5 mmPanelized, the printed circuit board in 3D

    Panelized

    gamaPhy/Hallmoeba

    This repository contains assets for the Hallmoeba, a single-switch PCB for Gateron's KS-20 Hall effect switch. It is also compatible with Wooting's Lekker switch, which is based on the KS-20.

    1,200 parts6CERN-OHL-P-2.0

Questions

How big is the Bus PCB?

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

What parts does the Bus use?

1,179 parts. 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 Bus KiCad files?

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

Can I use the Bus design in my own project?

Its repository publishes it under the CERN-OHL-S-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).