MB
mburger82/Business-Card
A business card that transforms into a miniature arcade
Yet Another PCB Business Card ๐ฎ
Turn your pocket into an arcade with this business-card-sized gaming console! Powered by the CH32V003 RISC-V microcontroller, this project brings classic gaming to an ultra-portable form factor.
โจ Features
- Ultra-Compact Design: Fits in your wallet while packing serious gaming power
- Powerful Brain: Built around the CH32V003 RISC-V microcontroller
- Crystal Clear Display: 0.96" OLED screen (SSD1315) for crisp visuals
- Long-lasting Power: Rechargeable LIR2032 battery
- Intuitive Controls: 5 tactile buttons for precise gaming input
- Open Source: Full hardware and software documentation available
๐ฏ Games Library
Tiny Tris
- Classic block-falling gameplay
- Increasing difficulty levels
- Score tracking
Tiny Pacman
- Authentic maze navigation
- Ghost AI patterns
- Power pellets and scoring system
๐ ๏ธ Build Your Own
Components Needed
- PCB (Gerber files provided)
- CH32V003 microcontroller
- 0.96" OLED display (SSD1315)
- 5 tactile switches
- LIR2032 battery holder
- Additional components (See BOM.xlsx)
Assembly Instructions
- Order PCB using provided Gerber files
- Gather components from BOM
- Follow assembly guide in documentation
- Install firmware using one of the methods below
Firmware Installation Options
Option 1: PlatformIO (Recommended)
- Install required tools:
- Install Python 3.x
- Install PlatformIO IDE
- Install platform-ch32v:
pio pkg install platform-ch32v
- Clone and build:
git clone https://github.com/annoyedmilk/Business-Card.git cd Business-Card pio run -t upload
Option 2: Pre-compiled Binary
- Windows: Use WCH-LinkUtility (Download)
- Cross-platform: Use either:
- minichlink (GitHub)
- rvprog:
pip install rvprog && rvprog -f bin/<firmware>.bin
๐ Project Structure
โโโ documentation/
โ โโโ RenderFront.png # Project preview
โโโ firmware/
โ โโโ firmware.bin # firmware as bin
โ โโโ firmware.elf # firmware as elf
โโโ hardware/
โ โโโ Gerber.zip # PCB manufacturing files
โ โโโ BOM.csv # Parts list
โ โโโ Schematic.pdf # Circuit diagram
โโโ software/
โโโ src/ # Source code
โ โโโ main.c
โ โโโ ...
โโโ platformio.ini # Build configuration
๐ฎ Gaming Guide
- Insert charged LIR2032 battery
- Power on using the side switch
- Navigate menu with direction buttons
- Select game with action button
- Controls:
- Tiny Tris: Left/Right to move, Act to rotate, Down for soft drop
- Tiny Pacman: Directional buttons to navigate, avoid ghosts!
๐ Credits
This project builds on the work of amazing developers:
- Stefan Wagner (@wagiminator) - CH32V003 framework
- Charles Lohr (@cnlohr) - CH32V003 tools & community support
- Daniel C (TinyJoypad) - Original game implementations
๐ License
Released under GPL-3.0 License. Share, modify, and spread the joy of tiny gaming!
๐ Useful Links
Making the world a little more fun, one tiny arcade at a time! ๐น๏ธ
On this page
Languages
HTML94.7%C5.2%Makefile0.1%
Contributors
GNU General Public License v3.0
Created January 9, 2025
Updated January 9, 2025
