Mini snake
vinn-ie·mini-snake
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…

Main components on the Mini snake
Mini snake bill of materials (BOM)
183 components, 33 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32L051C8TX STM32L051C8Tx | LQFP-48_7x7mm_P0.5mm | U1 |
| 2 | MAX7219 | SOIC-24W_7.5x15.4mm_P1.27mm | U2, U4 |
| 1 | C236769 ~ | SOT-23 | U3 |
| 6 | 2N7002 | SOT-23 | Q1, Q3, Q4, Q5, Q6, Q7 |
| 1 | AO3401A | SOT-23 | Q2 |
| 1 | CRYSTAL_GND24 Crystal_GND24 | OSC-SMD_4P-L3.2-W2.5-BL | Y1 |
| 1 | CONN_01X04 Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical_SMD_Pin1Right | J1 |
| 1 | Conn_01x04 | PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | C964881 ~ | BH-AAA-B5AA001 | BH1 |
| 1 | 0.35 IH - 0.75 IT | Fuse_0805_2012Metric | F1 |
| 1 | Reset | SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP1 |
| 4 | LSET | SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2, JP3, JP4, JP5 |
| 1 | CELL1 | SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP8 |
| 1 | BOOT | SolderJumper-3_P1.3mm_Bridged2Bar12_RoundedPad1.0x1.5mm | JP9 |
| 4 | TS-1187A-B-A-B | SW_TS-1187A-B-A-B | S1, S2, S3, S4 |
| 1 | C778186 SW_SPDT | SW-SMD_MK-12C02-G025 | SW1 |
| 96 | KT-0603W | LED_0603_1608Metric | D1, D2, D3, D4, D5, D6, D7, D8 +88 |
| 2 | KT-0603W | LED_0603_1608Metric | D97, D98 |
| 1 | 22U 22u | LVF303015-220M-N | L1 |
| 4 | CL31A107MQHNNNE 100u | C_1206_3216Metric | C1, C4, C5, C6 |
Show 13 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 3 | CL10A106MA8NRNC 10u | C_0603_1608Metric | C2, C17, C18 |
| 13 | CL05B104KB54PNC 100n | C_0402_1005Metric | C3, C7, C8, C9, C10, C11, C14, C15 +5 |
| 2 | CL10C120JB8NNNC 12p | C_0603_1608Metric | C12, C13 |
| 4 | 56 | R_0805_2012Metric | R1, R9, R20, R21 |
| 1 | 1k | R_0603_1608Metric | R2 |
| 12 | 10K 10k | R_0603_1608Metric | R3, R4, R5, R6, R7, R8, R10, R11 +4 |
| 2 | 10K 1k | R_0603_1608Metric | R16, R17 |
| 1 | 10K 1k | R_0402_1005Metric | R18 |
| 5 | 10K 10k | R_0402_1005Metric | R19, R24, R25, R27, R28 |
| 2 | DNP | R_0805_2012Metric | R22, R23 |
| 1 | 30K 10k | R_0402_1005Metric | R26 |
| 3 | 10k | R_0402_1005Metric | R29, R30, R31 |
| 3 | 1k | R_0402_1005Metric | 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
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k