Embedded Flappy Bird on NRF52833 (Final Group Project for Microcontroller System Design - CE 346)

This project involved creating a fully interactive Flappy Bird game on the NRF52833 microcontroller, showcasing advanced real-time embedded system capabilities. Our team used an RTOS-based structure for game logic, achieving <10 ms latency from input to screen update. The game supports both button-based and pitch-based voice control, the latter accomplished by real-time pitch detection using FFT over ADC mic data.

The hardware stack included a SPI TFT touchscreen and MEMS microphone, with drivers written for efficient polling using I2C and SPI buses. The game runs smoothly within 128 KB of Flash and 64 KB of RAM, maintaining 20 FPS while sustaining under 20% CPU load. We also integrated audio feedback through PWM/DAC to enhance the playability experience.

Gameplay Placeholder
Figure 1: Gameplay UI
Voice Control Placeholder
Figure 2: Gameplay during Project Fair