While the Companion Cube from the Portal series gets all the love, maker Kevin Rye has created an Arduino project about the Weighted Storage Cube that deserves some attention.
The large cube is 7″ (17,78cm) on each side, with the main body and internal structure being 3D printed.
There’s an Arduino Micro hidden inside connected to an accelerometer. Tip the cube over the the six Adafruit NeoPixel Rings will switch between blue and yellow, as it does in the game when placed on a button.
With three AA batteries to power everything, acrylic covers to diffuse the light, and a great paint job, the project was completed.
If you’d like to make your own you should start off with the files hosted on Thingiverse. Aside from the 3D printed parts, there’s also the files need to laser cut the acrylic pieces.
From their make sure you read the multi-part build log over on Rye’s site which will show you how he went about designing and making the cube.
There’s a lot of interesting detail in those parts, such as the fact that the LED rings are connected with magnets, so make sure you give it a read.
Keep in mind that this is going to be an expensive undertaking. Rye reduced the size of the cube to make it a bit cheaper to produce, as he didn’t want the project to cost $200.