Complimentary shipping on qualifying orders · Easy returns · Secure checkout

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

Electronic Components

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

Price
Original price was: $9.59.Current price is: $7.67.

SKU:

VTDP2399293674

Category:

Shopping information

INTRODUCTION

In todays 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:

  • DCCurrent 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

Only logged in customers who have purchased this product may leave a review.

Keep exploring

More pieces selected to complement what you are viewing.

View all products