กลับไปหน้ารวมไฟล์
whack-a-button-mini-90b3fb-en.md

This takes up almost the full space of the breadboard, so be prepared for a lot of wiring! I got this project idea from a college final project online.

The Whack-a-Button Mini is a compact, handheld game console project that tests your reflexes. It's a "Simon Says" style reaction game where you must press the flashing button as quickly as possible to score points.

Game Features

  1. Light Up: Randomly, one of the four buttons will light up.
  2. Speed Test: The player must hit that button within a limited time frame.
  3. Increasing Difficulty: As the game progresses, the lights flash for shorter durations, pushing your reflexes to the limit.
  4. Sound Effects: A unique beep for every success and a buzz for every failure makes the game feel responsive.

Essential Components

  • Arduino Nano: Used for its small size, ideal for handheld games.
  • 4 Illuminated Push Buttons: These have an LED built inside the button housing, saving space on your project board.
  • Piezo Buzzer: For melodic feedback during gameplay.
  • Resistors: To protect the internal LEDs of the buttons.
  • Battery Case: To make your game truly portable.

Why This Project?

Building a portable game like Whack-a-Button teaches you about user experience (UX) design in electronics. You'll learn how to manage timers, create non-blocking loops so the game remains responsive, and design a compact circuit layout that fits within a small enclosure.

Old Wiring Diagram: (buttons kept being ghost pressed)

Simplified Version

New Wiring Diagram:

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE 2.0"
author: "shivc"
category: "Gadgets, Games & Toys"
components:
  - "1x Arduino Uno R3 starter kit"
description: "A fast-paced reflex game in your pocket! Test your speed with this mini version of Whack-a-Mole using illuminated buttons and an Arduino."
difficulty: "Intermediate"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX18pKbl4rCCt0ec1evdcwzoeyhhKSlpDRWaJIAXOawIZtdduXhoho4XVu91SpJLzt0YxjyA8Y/Hf7M+IKOnop+J20/35MssKFMRVXfOA8/ElvBPPqo1AHUs5"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/whack-a-button-mini-90b3fb_cover.jpg"
lang: "en"
likes: 0
passwordHash: "d7109f568d1824c1bc2ad8b1230754dbebafc43bb90072cd9760c5e40e40921f"
price: 1499
seoDescription: "Build a mini Whack-a-mole game with Arduino and Button. A fun, portable DIY project for makers and electronics enthusiasts."
tags:
  - "Games"
title: "Whack-a-Button Mini"
tools: []
videoLinks: []
views: 13