Skip to content

Arduino Uno, Nano, and Mega integration plus ATtiny84 support

Notifications You must be signed in to change notification settings

deadeyesky/Arduino-3x3x3-Cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Arduino-3x3x3-Cube

This code is still a work in progress and needs refining. Furthermore, I will add a seperate header file for the functions to occupy. Still a work in progress.

The boards that this code supports the Arduino Uno, Arduino Nano, Arduino Mega, and the ATtiny84-20PU.

Board Type Row Assignment Column Assignment
Uno A1, A2, A3 2, 3, 4, 5, 6, 7, 8, 9, 10
Nano A1, A2, A3 2, 3, 4, 5, 6, 7, 8, 9, 10
Mega A1, A2, A3 2, 3, 4, 5, 6, 7, 8, 9, 10
ATtiny84 A0, A1, A2 2, 3, 4, 5, 6, 7, 8, 9, 10

Important for ATtiny users: Note that for the ATtiny, a shift bit register will be needed. We used the SN74HC595D for this.

The code initiates by assigning the pins in terms of a static constant which make it so that it can be defined using a loop. Columns are the vertical LEDs with rows being the layers of the cube.

The code includes the following functions:

  • Trail
  • Expanding Cube
  • Moving Layers
  • Rain Drops
  • Cross followed by vertical box
  • Vertical Spiral
  • Pulsating Octahedron
  • Perimeter Cube
  • Diagonal moving dot
  • Flashing
  • Randomly appearing dot
  • Growing tree
  • Triple Cartesian planes

About

Arduino Uno, Nano, and Mega integration plus ATtiny84 support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages