Motion Simon Says

Embedded Systems
Game Dev
Motion Simon Says

Tech Stack

ESP32
Arduino
MPU6050
C++

Description

Built a gesture‑controlled Simon Says game using ESP32, MPU6050 IMU, and SSD1306 OLED. The game replaces traditional button input with tilt gestures, making gameplay fully motion‑based.

I implemented I²C peripherals with auto‑retry, OLED prompts for arrows and win/lose screens, and pitch/roll threshold detection for Up/Down/Left/Right gestures. The system includes configurable levels, delays, and timeouts, plus a debounced start/reset button.

This project taught me how to integrate multiple I²C devices, calibrate motion thresholds, and design a user‑friendly embedded game loop.

  • Designed tilt‑controlled input system using MPU6050 accelerometer.
  • Implemented OLED UI with arrows, level intros, and win/lose screens.
  • Configured I²C peripherals with auto‑retry and recovery.
  • Calibrated pitch/roll thresholds for reliable gesture detection.
  • Built configurable gameplay loop with levels, delays, and timeouts.

Page Info


    Ariel S. Lai - Electrical & Computer Engineering