SnakeGame is an open-source printed circuit board by vinn-ie, from the vinn-ie/mini-snake repository on GitHub, published under the MIT licence. It is a 4-layer board of 68 × 40 mm with 186 parts on 106 nets, routed with 941 tracks and 295 vias.
It is built around the MAX7219M, KT-0603W and CL05B104KB54PNC, with the CL31A107MQHNNNE, TS-1187A-B-A-B and AO3401A among its other parts. Its parts include 98 diodes, 34 resistors, 22 capacitors, 7 transistors and 5 switches. It belongs with the lEDs and displays boards and the STM32 boards of this library.
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.
Features
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, component libraries, 3D assembly, and printable button/header parts
Hardware
Block
Implementation
MCU
STM32L051C8T6, Arm Cortex-M0+, LQFP-48
Display
96 discrete 0603 LEDs arranged as 12 columns x 8 rows
Display drivers
2 x MAX7219 over separate SPI peripherals
Controls
4 x TS-1187A directional tactile switches
Power
Two-cell AAA holder, boost conversion, power switch, and battery ADC sensing
Click the schematic to open the full-resolution PDF.
The dated folders under production are historical exports, not an endorsed release package. Regenerate and inspect all Gerbers, drill files, placement files, and the BOM from the current KiCad source before manufacture.
Firmware
The firmware targets the STM32L051C8Tx and was generated with STM32CubeMX 6.10.0 using STM32Cube FW_L0 V1.12.2. Application code is in STM_Snake/Core/Src/main.c; the pin and peripheral configuration is preserved in STM_Snake/STM_Snake.ioc.
Build with GNU Arm Embedded Toolchain
Install GNU Arm Embedded Toolchain, then run:
sh
cd STM_Snake
make
Build products are written to STM_Snake/build/, including STM_Snake.elf, STM_Snake.hex, and STM_Snake.bin. Override the compiler prefix if required, for example make CROSS_COMPILE=/path/to/arm-none-eabi-.
The existing STM32CubeIDE project can also be imported from STM_Snake. Regenerate CubeMX code only with Keep User Code enabled. Flash the resulting image over SWD with an ST-LINK and STM32CubeProgrammer or directly from STM32CubeIDE.
Controls
Up/Down: move through menu items
Left/Right: change speed or brightness
Right on Play: start a game
Direction buttons in game: steer the snake; immediate reversal is blocked
Any direction after game over: restart the device
Right on Reset: erase saved settings and high score
Mechanical Files
3D contains the full PCB STEP assembly, printable STL/3MF parts, component models, and the OpenSCAD source for the pin-header cover. Slicer-generated G-code is intentionally excluded because it is specific to a printer, material, and profile.
Repository Layout
Path
Contents
SnakeGame.kicad_*
KiCad schematic, PCB, and project settings
STM_Snake/
STM32Cube firmware, linker script, HAL, and CMSIS
project_lib/
Project-specific KiCad symbols, footprints, and models
3D/
Mechanical source, printable parts, and assembly models
production/
Historical BOM, placement, IPC, and fabrication archives
graphics/
Project artwork and documentation media
Project Status
The design and firmware are presented as an archived working project rather than a supported consumer product. Before producing new hardware, regenerate manufacturing files from the current source, run KiCad electrical/design-rule checks, review the power circuitry, and validate battery thresholds on the assembled board.
This repository contains all the necessary files and instructions for the PCBs that are designed using KiCad. Here is an overview of the main components: - .github: Contains Github-specific configurations, including…
A modern remake of the Bare Conductive Touch Board: 12 capacitive touch electrodes, MP3/WAV/MIDI audio, and now WiFi, Bluetooth LE, USB-C, a proper LiPo power path, a fuel gauge, line-in, MIDI out, Qwiic and an RGB LED.
Wifi adapter and bus protocol documentation for the Gira TKS Door System
68 parts57GPL-3.0
Questions
How big is the SnakeGame PCB?
It measures 68 × 40 mm and has 4 copper layers, 1.6 mm thick.
What parts does the SnakeGame use?
186 parts, built around the MAX7219M, KT-0603W, CL05B104KB54PNC and CL31A107MQHNNNE. 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 SnakeGame KiCad files?
From the vinn-ie/mini-snake repository on GitHub, at the commit this page was made from: the board is SnakeGame.kicad_pcb and its schematic SnakeGame.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the SnakeGame design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).