Arduino 8x8 Matrix LED Game

Published

Introduction: Arduino 8x8 Matrix LED Game

About: I like to tinker with just about anything, sometimes it works out in the end. Have fun looking at the projects, try tearing something open and let me know how it goes. cheers, -Joe

For a class I am taking I had to make a game using an 8x8 LED Matrix. The game is based around dropping a "bomb" on a target scrolling across the bottom of the screen.

Each level the target moves faster and you are moved further away from the target. After 4 levels it ends.

Step 1: Parts

The parts I used were:
1-Arduino Nano ATMEGA328.
1-Parallax 5 position switch.
1-8x8 LED Matrix
1-470Ω Resistor network
1-solderless breadboard

Step 2: Wire It Up

I plugged pins D0-D7 in to the resistor, and then to the positive pins of the matrix. 
Pins D8-13, A0-A2 to the negative of the matrix.

The 5 Positions switch should be attached to pins A3-A6. The trick here is A6 cannot be made digital, you'll have to read it as analog. No biggie.

Step 3: Load Code

Load the code on the Arduino.

Step 4: Play the Game


Thanks for looking at the game.

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Planter Challenge

      Planter Challenge
    • Casting Contest

      Casting Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments

    Are you using a common anode or cathode matrix for this?