Embedded Systems & Hardware
A hardware recreation of the retro arcade classic Space Invaders, powered by an Arduino Uno, a 16×16 LED matrix, and analog joystick controls.
Arduino Uno
C / C++
16×16 LED Matrix
Analog Joystick
Embedded Systems
Hardware Interfacing
1. Project Overview & Objective
Built during my final year of secondary school as an integrated hardware and software project. The goal was to recreate the classic gameplay of Space Invaders using discrete electronics, bridging software game logic directly with physical component control.
2. Technical Implementation
- Matrix Display & Coordinate Tracking: Controlled the 16×16 LED matrix using 2D matrix indexing to track the exact position of every active pixel, rendering the player’s spaceship and moving enemy formations smoothly.
- Analog Input Sampling: Sampled the analog joystick inputs along the X and Y axes continuously to detect directional stick movement and translate it into player actions.
- Microcontroller Game Logic: Implemented real-time projectile tracking, boundary constraints, and collision routines within the execution constraints of the Arduino Uno.
- Hardware–Software Integration: Gained direct hands-on experience wiring electronic components, handling pin configurations, and writing low-level code to bring the system together.
Key Takeaway: Practical foundation in embedded systems — interfacing microcontrollers with sensors and display matrices while writing efficient low-level control logic.