https://github.com/whywaita/m5shotclock
A poker shot clock using M5Stack Core2. This project provides a simple and intuitive interface for efficient time management in poker games.
https://github.com/whywaita/m5shotclock
m5stack-core2 poker-tool shotclock
Last synced: 8 months ago
JSON representation
A poker shot clock using M5Stack Core2. This project provides a simple and intuitive interface for efficient time management in poker games.
- Host: GitHub
- URL: https://github.com/whywaita/m5shotclock
- Owner: whywaita
- Created: 2025-04-02T17:07:18.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-04-03T07:54:11.000Z (12 months ago)
- Last Synced: 2025-04-09T18:45:47.463Z (12 months ago)
- Topics: m5stack-core2, poker-tool, shotclock
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# M5ShotClock
A poker shot clock using M5Stack Core2. This project provides a simple and intuitive interface for efficient time management in poker games.
## Features
- 60-second countdown timer
- Large, easy-to-read display
- Simple two-button interface:
- START button (green)
- STOP button (red) / RESET button (blue) after time up
- Visual alerts:
- Red/black flashing background when time is up
- "TIME UP!" text display
- Audio alert when time expires
- Landscape orientation for optimal visibility
## Hardware Requirements
- M5Stack Core2
- Built-in touch screen
- Built-in speaker (for time-up alert)
## Development Environment
- PlatformIO
- Arduino Framework
- M5Unified Library
## Setup
1. Install PlatformIO
2. Clone this repository
3. Install required libraries:
- M5Unified
- Preferences
## Build and Upload
1. Open the project in PlatformIO
2. Build the project
3. Connect M5Stack Core2 via USB
4. Upload the firmware
## Usage
### Main Screen
- Timer display in center
- START button (left, green): Start/resume the timer
- STOP button (right, red): Pause the timer
- When time is up:
- Screen flashes red/black
- "TIME UP!" text appears
- STOP button becomes RESET button (blue)
- Audio alert sounds
### Controls
- Touch START to begin countdown
- Touch STOP to pause countdown
- After time up, touch RESET to return to initial state (60 seconds)
## License
MIT License
## Author
[whywaita]
## Contributing
Please use GitHub Issues for bug reports and feature requests.
Pull requests are welcome.