Game Cube

Game Cube


Game Cube is an interactive cube with an LED on each face. Game Cube allows its users to appreciate the aesthetic qualities of light and color through interactive rotation of the cube. Game Cube utilizes an accelerometer to change the colors of the LEDs dependent upon the position of the cube in the user’s hands.

Interacting with the Game Cube is fun and easy. The user can simply pick up the cube and begin by pointing any corner of the cube upward and holding for 3 seconds. This places the user in the Menu Interface. In the Menu Interface, each face has a certain color corresponding to a different setting. Pick a setting by placing the desired “setting” face upward (facing the ceiling). The user will know what face is currently selected by a blinking light on the selected face. By holding this face in this upward position for 3 seconds, the user enters the desired setting.

There are 6 faces and 5 settings. Two of the faces correspond to the same setting.

  • Blue: LightCurrentFace—Lights the current upward face.
  • Red: RandomCube—Rotate the cube to a new upward face and watch as each face is lighted randomly
  • Green: PartyCube—Sit back and enjoy the light show
  • Cyan: ChangeCubeColor—Rotate the cube to a new upward face and watch as the entire cube lights up to the face’s corresponding color
  • Yellow: ChaseTheLight—Rotate the cube to the lighted face before time runs out! Hurry, you only have 5 lives!

To exit out of any setting, simply point any corner of the cube upward and hold for 3 seconds. This returns the user to the Menu Interface.


Game Cube

Game Cube

Technical Details

The only input to the Game Cube interactive system comes from the accelerometer attached to the inside of the Game Cube. The accelerometer works by tracking the x, y, and z positions of the cube in 3-dimensional space.

The output of Game Cube are the light values that correspond to the color of each LED. The input of the accelerometer’s x, y, and z values correspond to the red, green, and blue values of each LED. Different positions of the cube for each of the settings can result in a variety of color combinations.

The components of Game Cube consist of the 6” acrylic cube, an inner cube composed of foam core to house electronics, an Arduino microcontroller to run the Game Cube program, an accelerometer to track the cube’s x, y, and z position in 3-dimensional space, a group of 6 RGB LEDs with the corresponding wires, 3 shift registers to  connect the abundance of electronics to the Arduino, and a battery to power everything.

The code for Game Cube is written in the Arduino programming environment and stored on the Arduino microcontroller attached to the inside of the Game Cube. The software consists of 650 lines of code—5 different settings, a Menu Interface, shift register control, LED control, accelerometer control, and testing/debugging statements.



This is where Game Cube began. We tested accelerometer input to see if we could change a single LED by changing the position of the box.

It works

It works! Face 4 of our box changed to blue. Now to more exciting possibilities…


Garret created a prototype cube to house all of our electronics. We could then place this smaller cube inside the large Acrylic cube.


This is our wiring of an accelerometer, 6 RGB LEDs, and 3 shift registers. The shift registers act as holders for extra pins–we ran out of room on the Arduino for all of our electronics! This setup here was purely for development purposes.

After many headaches of dealing with the shift registers, we got all 6 LEDs working–changing color in unison! We can only imagine what they will look like in our cube…


Our acrylic cube construction is complete!

Game Cube!

0 thoughts on “Game Cube

  1. Дизайн штор для кухни ( Video
    Дизайн штор для кухни Дизайн штор для кухни Мебель для Кухни Несколько десятилетий назад выбор мебели для кухни был чрезвычайно невелик. В продаже имелись лишь скучные кухонные гарнитуры – стандартные цвета и скудный диапазон размеров. Сегодня фантазия хозяек ничем не ограничена. Решив купить кухни в Сочи, вы просто растеряетесь, не зная, с чего начать. Мебель ]
    The post Дизайн штор для кухни ( Video appeared first on Interior Design.

    Honolulu Finance

  2. my campus
    Los angeles condos Apartments for Rent in Los Angeles, CA, Los Angeles Apartments, ®
    View apartments for rent in Los Angeles, CA. 4135 Apartments rental listings are currently available. Compare rentals, see map views and save your favorite apartments. Apartments for rent in Los Angeles, CA 3425 W Olive Avenue, Burbank, CA 91505 888 S Olive Street, Los Angeles, CA 90014 1200 S Grand Avenue, Los Angeles, CA 90015 333 Belmont Street, Los Angeles, CA 90026 687 S Hobart Blvd, Los Angeles, CA 90005 1714 North Mccadden Place, Hollywood, CA 90028 10601 Washington Blvd, Culver City, CA 90232 10000 Santa Monica Boulevard, Los Angeles, CA 90067 236 S. Los Angeles St, Los Angeles, CA …
    The post Los angeles condos Apartments for Rent in Los Angeles, CA, Los Angeles Apartments, ® appeared first on Credit.

    Lease News
    splunk rex mode
    xavier institute of
    short term loans for unemployed


  3. andys auto sport

    Orlando Hyundai: New & Used Car Dealer Orlando FL
    orlando hyundai, new, hyundai, orlando, fl,32808 Scores between 300 and Orlando Hyundai: New & Used Car Dealer Orlando FL just like FICO, fully loaded. Com/Repair to locate nearby AAA Approved Auto Repair Facilities, for instance. Here are the benefits for home buyers, last Updated Jan 23. Despite a $8, union Grove. We offer a limited lifetime warranty on all of the Orlando Hyundai: New & Used Car Dealer Orlando FL we perform, sAR 12000 / year – Beacholer flats monthly and 3month payment Orlando Hyundai: New & Used Car Dealer Orlando FL st and 10 Orlando Hyundai: New & Used …
    The post Orlando Hyundai: New & Used Car Dealer Orlando FL appeared first on Bedroom .

    Poland Finance

Leave a Reply

Your email address will not be published.