Using Your RGB Dice Lamp

Thank you for your interest in the RGB dice lamp! The dice lamp contains a 3D printed base with custom electronics to drive 5 LEDs to animate your dice lamp.

It is simple to use with only 2 buttons, menu and select, and a 5V power input.

It comes with an unmodified die and standard base, or an optional die with a magnet installed and a custom clip mount base for wall mounting.

To change settings on your dice lamp see the chart below:

Menu Flow Diagram

In case it wasn’t clear in the instructions, when entering the stop mode your settings will save in event of uplugging or other power loss. Because speed is a setting that changes outside of the normal menus it doesn’t automatically save, remember scroll through the menus to enter and leave the stop menu to save your speed setting.


Still Here? Want to do more?

If you want to modify your dice lamp code to your liking, you’ll find under the bottom plate an Arduino Uno compatible board with a populated FTDI header. You’ll need an FTDI programmer to convert from your USB to the serial the Arduino wants, try this one: Do not have the FTDI and the 5V supply plugged in at the same time as the 5V lines are tied together, only one at a time!

After that you’ll want the starting code to modify, it is available here:

The LEDs are HD107S which are functionally similar to the APA102 or DOTSTAR LEDs. Information on using them can be found here:

I used the DOTSTAR library to communicate with the LEDs, but if you notice I’m also using the WS2812 library, which is the older style NEOPIXEL. The lamp used to be based on NEOPIXELs so I still used some of the things that library provides, I think mainly the color definitions. If you want to really dig into it and have good LED control I recommend checking out the FASTLED library located here:

Electrical Schematic is located here: