🎮 ToneQuest: Arduino Memory Game With Buzzer, Joystick & LEDs

by andreimagic in Circuits > Arduino

191 Views, 4 Favorites, 0 Comments

🎮 ToneQuest: Arduino Memory Game With Buzzer, Joystick & LEDs

ToneQuest Arduino Game
IMG_8412.jpg

🎮 ToneQuest: Arduino Memory Game with Buzzer, Joystick & LEDs


ToneQuest is an Arduino-based Simon Says-style memory game using only sound and light. Players must memorize and reproduce sequences of tones (mapped to directions: UP, DOWN, LEFT, RIGHT) using a joystick. Each level adds complexity by increasing the length of the sequence.

Features

  1. Randomly generated tone-direction patterns
  2. Joystick-based input with 4 directions + press
  3. LED feedback synced with tones
  4. Training Mode: Practice tones freely
  5. Manual level advance via joystick button
  6. Trimmer potentiometer for adjustable buzzer volume
  7. Success and failure tunes

🧠 Game Modes

  1. Normal Mode: Play and repeat tone sequences. One mistake resets the level.
  2. Training Mode: Toggle using joystick button. Play tones freely without penalty.
  3. The Game features a Volume button, players can choose to play by following the LEDs or by closing their eyes and relying on the sounds.

🛠 Created With

  1. Arduino IDE
  2. Fritzing for wiring diagrams

Enjoy training your brain and your ears with ToneQuest!

Supplies

8-arduino-uno-bangladesh.jpg
joystick-modul-uno.JPG
piezo-buzzer-01-1024x1024.jpg
trimmable-potentiometer-trimpot-10k-ohm-with-knob-01.JPG
red_green_blue_LEDs.JPG
51zMqx5TH4L.jpg
MFG_64.jpg
45040-dscn0624-400x300.jpg
maxresdefault.jpg

Components Required


  1. Arduino Uno (or compatible) x1
  2. Joystick module x1
  3. Passive buzzer x1
  4. 3-pin 10Ω trimmer potentiometer with Knob x1
  5. LEDs (any color) x4
  6. 220Ω resistors x4
  7. Breadboard & jumper wires (as needed)

I started with Arduino Complete Starter KIT Uno R3 by Elegoo, has all that is needed +more to get you started on new ideas!

🔧 Wiring Diagram

wiring.png

Wiring image generated using Fritzing

Connections:

Joystick:

  1. X-axis (VRx) → A1
  2. Y-axis (VRy) → A2
  3. SW (button) → D7
  4. VCC/GND → 5V/GND

LEDs:

  1. UP → D2
  2. DOWN → D3
  3. LEFT → D4
  4. RIGHT → D5

Buzzer with Volume Control:

  1. D8 → Potentiometer center pin (wiper)
  2. One side of pot → Buzzer +
  3. Buzzer GND
  4. Other side of pot → GND
You may connect both outer pins of the pot to GND for safety, or leave one floating.

Downloads

▶️ Setup & Upload

  1. Open the .ino file in the Arduino IDE.
  2. Select the correct board and port.
  3. Upload the sketch.
  4. Open the Serial Monitor (9600 baud) for debugging information.
  5. Power the board and play!

Downloads

🔁 Customization

  1. Adjust tone frequencies in directionTones[]
  2. Modify level length and difficulty in playPattern()
  3. Change Joystick directions in getJoystickDirection()
  4. Change button logic to switch between modes or reset game

Enjoy training your brain and your ears with ToneQuest!