64x32 RGB LED Matrix Bare Metal Tetris

A bare metal Tetris game on a 64x32 RGB LED matrix, run by a Raspberry Pi 2 Model B.

Similar projects worth following

64x32 RGB LED Matrix Bare Metal Tetris.


Kernel7 binary

It does have sound, it will loop the GameBoy Tetris theme forever if you care to listen to it.

  • 1 × 64x32 RGB LED Matrix 64x32 RGB LED Pannel from Adafruit. This is what displays all the pretty colors.
  • 1 × Female DC Power adapter - 2.1mm jack to screw terminal block Power connector.
  • 1 × 5V 4A (4000mA) switching power supply 5V 4A. Beefy power supply.
  • 1 × Raspberry Pi 2 - Model B RPI2. The brains of this project. Just load the Tetris Kernel7.img on to a micro SD card.
  • 1 × Premium Female/Male Jumper Wires F/M Jumper wires. Really anything will do that you have around.

  • 1
    Step 1

    Raspberry PI GPIO Wiring

    SNES/NES controller

    Connect SNES/NES 5V to RPI 3.3V (NOT 5V!)

    Connect SNES/NES GND to RPI GND

    Connect SNES/NES Clock to GPIO 2

    Connect SNES/NES Latch to GPIO 3

    Connect SNES/NES Data to GPIO 4

    RGB LED Matrix:

    Connect ADDRESS A to GPIO 5

    Connect ADDRESS B to GPIO 6

    Connect ADDRESS C to GPIO 13

    Connect ADDRESS D to GPIO 19

    Connect R1 to GPIO 10

    Connect G1 to GPIO 09

    Connect B1 to GPIO 11

    Connect R2 to GPIO 25

    Connect G2 to GPIO 08

    Connect B2 to GPIO 07

    Connect Enable to GPIO 16

    Connect Clock to GPIO 20

    Connect Latch to GPIO 21

    Connect ALL LED Pannel GNDs via header to RPI GPIO GNDs, you should have 3 (Trust me, the more you have, the less flicker and glitches you will have with the LED Matrix.) (And don't bother with connecting the GND from the PSU to a RPI GPIO)

    Check your wiring before powering up.

View all instructions

Enjoy this project?



Ruben wrote 10/14/2019 at 14:50 point

Hi, the img file doesnt work, do still have the code?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates