Dino Game Using Arduino Nano and OLED Display

by devkrishnavhora in Circuits > Arduino

10 Views, 0 Favorites, 0 Comments

Dino Game Using Arduino Nano and OLED Display

WhatsApp Image 2026-08-26 at 11.12.31 AM.jpeg
WhatsApp Image 2026-08-26 at 11.11.44 AM.jpeg

This project is a Dino Jump Game developed using an Arduino Nano, DESHBOT Shield, and a 128×64 OLED display. The player controls a dinosaur using two buttons. The main objective is to make the dinosaur jump over incoming obstacles and achieve the highest possible score.

Supplies

des 1.jpeg
oled.jpeg

Arduino Nano

DESHBOT Shield

128×64 I2C OLED Display

Two push buttons( inbuild in shield)

USB cable / power supply

Working Principle

WhatsApp Image 2026-08-26 at 11.12.31 AM.jpeg

The Arduino Nano is connected to the DESHBOT Shield, which provides an easy platform for connecting and controlling electronic components.

When the system starts, the OLED display shows the Dino Game start screen. The player presses the Start button to begin the game. During the game, the dinosaur moves automatically with the game animation while an obstacle approaches from the right side of the OLED screen.

The player uses the Jump button to make the dinosaur jump over the obstacle. The Arduino continuously checks the position of both the dinosaur and the obstacle. If they collide, the game ends and the OLED displays a GAME OVER message along with the score.

The second button is used to start or restart the game. As the score increases, the obstacle speed can increase, making the game more challenging.

Controls

ControlFunction

Button 1 - Jump

Button 2 - Start / Restart

Features

WhatsApp Image 2026-08-26 at 11.12.31 AM.jpeg

Arduino Nano with DESHBOT Shield

Two-button game control

OLED graphical display

Dinosaur jump animation

Moving obstacle

Collision detection

Score display

Game Over screen

Restart option

Increasing difficulty

Applications

This project helps demonstrate:

  1. Arduino Nano programming
  2. DESHBOT Shield interfacing
  3. OLED display control
  4. Push-button input
  5. Game programming
  6. Animation
  7. Collision detection


Conclusion

The Dino Game using Arduino Nano and DESHBOT Shield is a simple and interactive embedded systems project. It uses two buttons to control the game and an OLED display to show the dinosaur, obstacles, and score. This project demonstrates how the DESHBOT Shield and Arduino Nano can be used together to create interactive games and learn basic concepts of programming, electronics, and embedded systems.