REES52

Make a Snake Maze Game Using 16*2 LCD and Joystick Module Interfacing with Arduino Nano - KT877

SKU KT877

In today’s tutorial, we will make a Snake maze game using a 16*2 LCD and PS2 Joystick module with Arduino Nano. This is one of the most popular games of our childhood.

₹1198.50

18% GST added at checkout

In stock

₹150 flat shipping, free over ₹3000

  • Pay by UPI: GPay, PhonePe, Paytm & BHIM (no gateway fees)
  • GST invoice on every order
  • Payment confirmed by us before dispatch (no auto-charge)
  • Dispatched in 2–4 working days from Agra, Uttar Pradesh.

Buying for a school or in bulk? Ask us for institutional pricing. Get a quote

About this product

INTRODUCTION

In today’s tutorial, we will make a Snake maze game using a 16*2 LCD and PS2 Joystick module with Arduino Nano. This is one of the most popular games of our childhood. This project is based on a 16*2 LCD, which gives a little room for a snake.

HARDWARE REQUIRED

Arduino Nano-1pc

USB Cable - 1pc

LCD 16*2 Display - 1pc (yellow)

Joystick Module - 1pc

Jumper Wire (Male to Male) - 40pcs

Jumper Wire (Male to Female) - 40pcs

Potentiometer 10k - 1pc

Breadboard 400 Points - 1pc

SOFTWARE REQUIRED

Arduino IDE 1.8.10 (programmable platform for Arduino)

Click here to download the software

SPECIFICATIONS

Joystick Module:

5V/3.3V Compatible

Analog Output

Arduino Nano:

DC Current Per I/O Pin: 40 mA

Digital I/O Pins: 22

Operating Voltage: 5VDC

16*2 LCD Display:

5V power supply ( Also available for +3V)

Negative voltage optional for +3V power supply

CIRCUIT CONNECTION

Arduino Nano to Joystick:

Arduino Nano

Joystick

A0

VRx

A1

VRy

A2

SW

5v

5v

Gnd

Gnd

Arduino Nano to LCD:

Arduino Nano

LCD

Gnd

Vss

5v

Vdd

Middle pin of 10k potentiometer (Connect First pin of pot with Gnd and 3rd pin to VCC)

V0

Digital Pin 12

RS

GND

R/W

Digital Pin 11

E

Digital Pin 5

DB4

Digital Pin 4

DB5

Digital Pin 3

DB6

Digital Pin 2

DB7

5v

LED+

GND

LED-

To connect multiple GND and 5V wires soldering may be required or you can use a breadboard.

CODE

Run the code given below and play the game.

Click to open in Drive👈

WORKING AND OUTPUT

Welcome to the Arduino-based project.

After uploading the code, you will see a Level 1 Python Content. Now start to play. It has 4 levels in the code you can change the level of the game, and if the tail and the mouth of the snake touch, then the game will be over, but if you complete the level, then you will be automatically redirected to the next level.

DOCUMENTS

KT877 - Click to open 👈

More in Arduino Boards

You might also need