Pacman Game
The project aims to create a Pacman Game that is going to be played on a LCD screen
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
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
Bill of Materials
Device | Usage | Price |
---|---|---|
Rapspberry Pi Pico W *2 | The microcontroller | 70 RON |
Modul Accelerometru și Giroscop MPU6500 GY | The gyroscope | 20 RON |
Modul LCD de 2.8'' cu SPI și Controller ILI9341 | LCD screen | 70 RON |
Breadboard HQ | A breadboard for the remote | 5 RON |
Kit Plusivo | Wires and resistors | 50 RON |
Micro USB wire *2 | USB wires for the pico w | 14 RON |
Software
Library | Description | Usage |
---|---|---|
embassy-net | Ethernet module | In case that the network won t be stable |
embedded-sensors v0.1.1 | embedded-sensors library | For using the gyroscope |
lcd-ili9341 | LCD driver for rust | Used for the display of future game |