Skip to main content

Pacman Game

The project aims to create a Pacman Game that is going to be played on a LCD screen

info

Author: Balba Tudor-Neculai in collaboration with Solomon Miruna-Maria
GitHub Project Link: Pacman Game

Description

In this project, we're creating a modern twist on the classic Pac-Man game using a Pico W microcontroller and an LCD screen. The game logic, including Pac-Man's movements and level progression, is governed by the Pico W. Players can control Pac-Man remotely from a laptop via network communication, guiding him through the maze to avoid ghosts and collect pellets. This setup offers a hands-on gaming experience with responsive gameplay, blending nostalgia with cutting-edge technology.

Motivation

This project combines elements of retro gaming, embedded systems development, and network communication, offering a unique and engaging experience for players. By developing a Pac-Man game on a Pico W microcontroller with network connectivity, we aim to demonstrate the versatility and capabilities of embedded systems in gaming applications. This project also provides an opportunity to explore the integration of hardware and software components, including display drivers, networking protocols, and game logic, fostering interdisciplinary learning and innovation.

Architecture

arhitecture_project

Log

Week 6 - 12 May

  • Documentation
  • Architecture for the project

Week 7 - 19 May

  • Hardware milestone

Week 20 - 26 May

  • Software milestone
  • PM fair

Hardware

  • MPU-9250 sensor is used for recognizing hand gestures and also to register them
  • Raspberry Pi Pico W there are 2 in our project, the main components (microcontrollers), are responsible for processing and transmitting input data, one is used for the remote and one for the game screen
  • LCD_ILI9341 is used to play the game and show how the pictogram is going to move
  • Breadboard is used for connecting every pin of the hardware components
  • Wires used for connecting the components

Schematics

pacman_game remote_game remote_pac display_game

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico W *2The microcontroller70 RON
Modul Accelerometru și Giroscop MPU6500 GYThe gyroscope20 RON
Modul LCD de 2.8'' cu SPI și Controller ILI9341LCD screen70 RON
Breadboard HQA breadboard for the remote5 RON
Kit PlusivoWires and resistors50 RON
Micro USB wire *2USB wires for the pico w14 RON

Software

LibraryDescriptionUsage
embassy-netEthernet moduleIn case that the network won t be stable
embedded-sensors v0.1.1embedded-sensors libraryFor using the gyroscope
lcd-ili9341LCD driver for rustUsed for the display of future game

Pacman game
Wii remote