A digital business card display system for the M5Paper S3 e-paper device. This project creates an elegant, low-power digital name card that displays personal information, avatar image, and QR code on a 540x960 pixel e-paper display.
Project completion post: X (Twitter) - @crazybocan
- Static name card display on e-paper screen
- Low power consumption ideal for conferences and networking events
- Customizable avatar and QR code images
- Professional digital alternative to traditional paper business cards
- Battery-powered operation
- M5Paper S3 development board
- Display: 540 x 960 pixels, 16 gray levels
- MicroSD card for image storage
- Development environment: VSCode with PlatformIO extension
- MicroSD SPI Configuration:
- CS: GPIO_NUM_47
- SCK: GPIO_NUM_39
- MISO: GPIO_NUM_40
- MOSI: GPIO_NUM_38
- Size: 232 x 308 pixels
- Format: PNG, grayscale
- Filename:
kakimochi.png(customize as needed) - Tools: Use any image editor (e.g., IrfanView) to convert to grayscale
- Format: PNG, grayscale
- Filename:
kakimochi_x_qr.png(customize as needed) - Generation: Use online QR code generators like https://qr.quel.jp/sns.php
- Processing: Convert to grayscale using image editing software
- Install VSCode
- Install PlatformIO extension for VSCode
Place the following files in the root directory of your microSD card:
/kakimochi.png(your avatar image)/kakimochi_x_qr.png(your QR code image)
- Clone this repository
- Open the project in VSCode with PlatformIO
- Connect your M5Paper S3 device
- Build and upload the firmware
- Insert the prepared microSD card into the M5Paper S3
- Power on the device
- The name card will be displayed automatically on the e-paper screen
- The display will remain static, consuming minimal power
The main application logic is contained in src/main.cpp:
- Hardware initialization (M5 stack, power management, SD card, display)
- Image loading and rendering from SD card
- Static display composition with text and graphics
- Setup-once, display-forever pattern optimized for e-paper
- M5Unified (v0.2.2+): M5Stack hardware support library
- epdiy: E-paper display driver library
- Arduino Framework: ESP32-S3 development framework
- M5Paper S3 Official Documentation
- M5GFX Library Documentation
- M5Stack SD Card Guide
- Original Zenn Article (Japanese)
This project is open source. Please refer to the license file for details.
Contributions are welcome! Please feel free to submit issues and pull requests.
