Snake Game

by Rocky in Living > Toys & Games

965 Views, 0 Favorites, 0 Comments

Snake Game

640113.jpg
640114.jpg

The video:https://youtu.be/MCf0SAET7_g

Origin

Web: https://www.instructables.com/id/Portable-Snake/

Describnation

It is a old game. It was shown on nokia in 1976s. I made this game for children who don't have devices

Material That You Need

20200404_230928 (1).jpg
20200404_175314.jpg
20200404_222426.jpg

Arduino Leonardo

MAX7219 8*8 - if you bought the wrong one, you can cut it yourself.

Box - any box

Joystick

Jumper wires

Breadboard

Battery carrier

Battery case

Batteries

Code

螢幕快照 2020-04-11 下午10.34.06.png

https://create.arduino.cc/editor/rocky_chen/75591c57-dad5-45ab-bf36-ceab4009d299/preview

Hardware Setup

20200405_183710.jpg

First of all, connect the Arduino 5V to the + on the Breadboard, and the Gnd to the -

LED matrix:

Now you take your LED matrix and connect the VCC-pin to the volt-line and the GND-pin to the ground-line. After this you can connect the DIN-, CS- and CLK-pin accordingly to the 13-, 12- and 11-pin on your arduino. Your LED matrix is operational now

Joystick

Connect the VRx- and VRy-pin to analog pins 0 and 1 on your arduino (A0 and A1) and connect the SW-pin to the 2-pin.

Battery

7-12V recommended, for example a 9V battery with a 9V battery snap connector.

Change

The length of the snake and the words that will show up in the end.