Arduino Looong Snake Game With LCD 16x4

About: We develop interesting fully open source projects. Hope you like them! Repeat, remake, share!

All we do like old games such as Snake, one of the most popular games of our childhood. There are many projects on making this game https://www.instructables.com/howto/arduino+snake+game/ . These projects are based on 16x2 LCD, LED matrix or graphic LCD from sell phone which give a little room for snake. Our idea is: let snake grow as big as you can manage! So in our project LCD is 16x4 (16x2 also supported)! Project we made is based on this one. We made changes in the code to add support for 16x4 LCD and rewrote method of storing and showing LCD data to decrease MCU memory requirements, so any Arduino microcontroller board fits fine for this project. We chose Arduino Mini.

For this project you need:

1) Arduino Mini or other Arduino board

2) LCD 16x4

3) Arduino Joystick, like this one

4) Jumper wire

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Hardware Connections

Schematic is very simple (1 pic.).

Arduino --- LCD

----------------1 - GND

----------------2 - 5 V

----------------3 - GND

12-------------4

----------------5 - GND

11-------------6

5-------------11

4-------------12

3-------------13

2-------------14

----------------15 - 5 V

----------------16 - GND

Arduino --- Joystick

A0-------------X

A1-------------Y

6---------------Z (Key)

To connect multiple GND and 5V wires soldering may be required.

Step 2: Programming

Download sketch and upload it to Arduino. That’s all! Enjoy!

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions