STEAMGal Tetris

WRansohoff·STEAMGal_Tetris·board_design_v0/STEAMGal_STM32F051x/STEAMGal_STM32F051Kx.kicad_pcb

STEAMGal Tetris PCB layout, top view — open source STM32 board by WRansohoff

About the STEAMGal Tetris PCB

STEAMGal Tetris is an open source STM32 PCB design by WRansohoff, published on GitHub under the MIT license. It is a 2-layer board measuring 54 × 85.7 mm, with 63 components from 43 distinct parts.

Its main chip is the STM32F051K8, from the STM32 family. Other key parts include the AP2210. By type, the board carries 22 capacitors, 15 resistors, 9 switches, 8 connectors, 4 diodes and 2 ICs.

It belongs with the displays & leds and dev boards & breakouts designs in this gallery.

From the project

Try writing some 'tetris' firmware for a development board with a very small display, a buzzer, and a few buttons. That should introduce a few core peripherals.

This is firmware for a 'tetris' game on a 'STEAMGal' board driven by an STM32 chip.

Incomplete. The firmware initializes the system clock to 48MHz driven by the HSI oscillator, then draws a simple menu to the OLED screen.

It sets up hardware interrupts for each of the 6 buttons - the 'A' button selects the test menu's start menu to start the game, and the 'Up' button returns to the menu from within the game. I'm hoping to add a 'pause' menu, though.

STEAMGal Tetris, from the project README
From the project README

Main components on the STEAMGal Tetris

STEAMGal Tetris bill of materials (BOM)

63 components, 43 distinct parts.

QtyPartRefs
1
STM32F051K8
U1
1
AP2210
U2
1
ULED_NPN
Q1
1
PZ_NPN
Q2
1
HSE
Y1
1
Power_In
P1
1
Prog
P2
1
SSD1306_ribbon
P3
1
GPIO1
P4
1
GPIO2
P5
1
JSTIO2
P6
1
I2C_Bus
P7
1
JSTIO1
P8
1
PIEZO
S1
1
On?
SW1
1
Reset
SW2
1
Left
SW3
1
Up
SW4
1
Down
SW5
1
Right
SW6
Show 23 more
QtyPartRefs
1
A
SW7
1
B
SW8
1
<0.5Vf
D1
1
On?
D2
1
ESD
D3
1
User_LED
D4
1
10u
C1
3
4.7u
C2, C14, C15
2
20p
C3, C4
3
100n
C5, C8, C9
7
10n
C6, C17, C18, C19, C20, C21, C22
3
1u
C7, C12, C13
1
Pump2
C10
1
Pump1
C11
1
2.2u
C16
1
RLED
R1
2
4K7
R2, R3
1
IREF
R4
2
I2C_PU
R5, R6
1
RB_UL
R7
1
ULEDR
R8
1
RB_Pz
R9
6
DB
R10, R11, R12, R13, R14, R15

STEAMGal Tetris design files

The KiCad project lives in the WRansohoff/STEAMGal_Tetris repository on GitHub; these links point at the commit this page was built from.

STEAMGal Tetris: common questions

What microcontroller does the STEAMGal Tetris use?

The STEAMGal Tetris is built around the STM32F051K8, from the STM32 family.

How big is the STEAMGal Tetris PCB?

The STEAMGal Tetris measures 54 × 85.7 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the STEAMGal Tetris?

63 components, from 43 distinct parts. The full bill of materials is listed on this page.

Where can I download the STEAMGal Tetris design files?

From the WRansohoff/STEAMGal_Tetris repository on GitHub, which has the KiCad layout; the links under Design files point to each one.

Can I use the STEAMGal Tetris design in my own project?

Yes, under the terms of its MIT license, which WRansohoff chose for the repository.

Can I test firmware for the STEAMGal Tetris 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