This is an old revision of the document!


Dino LCD Game

Introduction

Dino LCD Game is an interactive game inspired by the famous Dino game in Chrome, implemented on a microcontroller and displayed on an LCD screen. The player controls a dinosaur that must avoid obstacles , using a joystick. The game also includes a continuous soundtrack, a start menu and a scoring system stored in EEPROM. The goal of the project is to apply the knowledge acquired in the labs in an educational way, resulting in a portable and fully functional game. In this way, the perception of the dinosaur, that can be a little annoying because it appears when I am offline, can be slightly changed.

General description

Block scheme

This block diagram highlights the essential components of the Dino LCD Game ​​project and how they work together to provide a complete gaming experience:

* Arduino Uno Microcontroller – is the central control unit that reads the inputs from the joystick and generates output for sound and display.

* Joystick – allows the user to control the dinosaur (e.g. jumping). It is connected to analog and digital pins and provides the main input.

* Buzzer – controls the background sound or provides audio feedback on certain events (jump, collision).

* 16×2 LCD Display – graphically displays the game: the dinosaur, obstacles and score.

All these modules are connected to each other via Arduino, which manages the game logic, sound playback, graphical interface on the LCD, and user interaction via the joystick.

Hardware Design

Component List

Component Features Purchase link
Arduino Microcontroller Main control unit – reads inputs from the joystick and generates outputs for sound and display. Arduino
Analog Joystick (with 2 button) Control for the dinosaur jump by pushing up on the first button. To control the start of the game or the restart after the game over appears, the 2nd button on the joystick must be moved to the right. Joystick
Passive Buzzer (5V) For background sounds and melodies Buzzer
LCD 16×2 I²C Displays the game, score and obstacles in real time LCD
Jumper wires Connecting the components Wires
Mini breadboard Quick assembly of components Breadboard

Pin configurations

 LCD - Arduino
 * GND-GND
 * VCC - 5V
 * SDA - A4
 * SCL - A5
 Joystick - Arduino
 * D2 - D1
 * A1 - A1
 * GND - GND
 * 5V - 5V
 * A3 - A0

Software Design

* Development environment: Arduino IDE 2.3.6 * Libraries : Wire.h, LiquidCrystal_I2C

Obtained Results

pm/prj2025/iivasciuc/cristina.margheanu.1747478419.txt.gz · Last modified: 2025/05/17 13:40 by cristina.margheanu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0