Skip to content

Code for simulating and driving an Arduino-based LED cube using parallel (74HC164) shift registers

Notifications You must be signed in to change notification settings

swils23/LED-Matrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LED Cube


Outline

Goals:

  • To create an LED matrix - a 4x4x4 cube of LEDs
  • 64 independently addressable LEDs
  • Interfaces to our custom ECE lab board, driven by an Arduino Nano

IO:

  • Button Press: Change between various pre-defined patterns/modes
  • Dial Rotation: Change the update speed of the pattern
  • LCD Output: Display the current pattern and update speed

Patterns:

  • Default
    As a test, each plane is given a location (row,column) and that plane is moved through all its locations.

  • LED Test
    All LEDs are turned on and then off one at a time by iterating through each r,c,p (row, col, plane) position.

  • Squares
    Lights up 4x4 squares on each plane, then rotates and lights up 4x4 squares on each column, then rotates and lights up 4x4 squares on each row.

  • Snake
    "Snakes" through the matrix

  • Checkerboard
    Alternating checkerboard pattern on each plane, inverting every cycle.


Software

Arduino Code

Simulation Code (Java)


About

Code for simulating and driving an Arduino-based LED cube using parallel (74HC164) shift registers

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •