Mini snake

vinn-ie·mini-snake

Mini snake PCB layout, top view — open source STM32 board by vinn-ie

About the Mini snake PCB

Mini snake is an open source STM32 PCB design by vinn-ie, published on GitHub under the MIT license. It is a 4-layer board measuring 68 × 40 mm, with 183 components from 33 distinct parts.

Its main chip is the STM32L051C8TX, from the STM32 family. Other key parts include the MAX7219 and C236769. By type, the board carries 98 diodes, 34 resistors, 22 capacitors, 7 transistors, 7 jumpers and 5 switches.

It belongs with the displays & leds designs in this gallery.

From the project

A custom handheld Snake game based on STM32L0 MCU

A complete custom handheld Snake game, from schematic and four-layer PCB through embedded firmware and printable mechanical parts. The board uses an STM32L051 microcontroller to drive a 12 x 8 discrete LED matrix through two MAX7219 display drivers.

- Classic Snake on a 96-pixel, 12 x 8 LED playfield - Four dedicated directional buttons - Adjustable speed and display brightness - High score and settings stored in the STM32 data EEPROM - ADC-derived random food placement - Battery-voltage monitoring with low-battery indication - Animated game-over screen and scrolling menu text - Custom PCB…

Mini snake, from the project README
From the project README

Main components on the Mini snake

Mini snake bill of materials (BOM)

183 components, 33 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
STM32L051C8TX
STM32L051C8Tx
U1
2
MAX7219
U2, U4
1
C236769
~
U3
6
2N7002
Q1, Q3, Q4, Q5, Q6, Q7
1
AO3401A
Q2
1
CRYSTAL_GND24
Crystal_GND24
Y1
1
CONN_01X04
Conn_01x04
J1
1
Conn_01x04
J2
1
C964881
~
BH1
1
0.35 IH - 0.75 IT
F1
1
Reset
JP1
4
LSET
JP2, JP3, JP4, JP5
1
CELL1
JP8
1
BOOT
JP9
4
TS-1187A-B-A-B
S1, S2, S3, S4
1
C778186
SW_SPDT
SW1
96
KT-0603W
D1, D2, D3, D4, D5, D6, D7, D8 +88
2
KT-0603W
D97, D98
1
22U
22u
L1
4
CL31A107MQHNNNE
100u
C1, C4, C5, C6
Show 13 more
QtyPartRefs
3
CL10A106MA8NRNC
10u
C2, C17, C18
13
CL05B104KB54PNC
100n
C3, C7, C8, C9, C10, C11, C14, C15 +5
2
CL10C120JB8NNNC
12p
C12, C13
4
56
R1, R9, R20, R21
1
1k
R2
12
10K
10k
R3, R4, R5, R6, R7, R8, R10, R11 +4
2
10K
1k
R16, R17
1
10K
1k
R18
5
10K
10k
R19, R24, R25, R27, R28
2
DNP
R22, R23
1
30K
10k
R26
3
10k
R29, R30, R31
3
1k
R32, R33, R34

Mini snake design files

The KiCad project lives in the vinn-ie/mini-snake repository on GitHub; these links point at the commit this page was built from.

Mini snake: common questions

What microcontroller does the Mini snake use?

The Mini snake is built around the STM32L051C8TX, from the STM32 family.

How big is the Mini snake PCB?

The Mini snake measures 68 × 40 mm, has 4 copper layers and is 1.6 mm thick.

How many components are on the Mini snake?

183 components, from 33 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 Mini snake design files?

From the vinn-ie/mini-snake repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Mini snake design in my own project?

Yes, under the terms of its MIT license, which vinn-ie chose for the repository.

Can I test firmware for the Mini snake 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