The RGB Tilty Cube
As my Christmas present to my girlfriend, Cat, as well as an introduction to microcontrollers, I made a cube that glows different colors as it’s tilted different ways. I works by having a PIC12F615 take readings from a 3-axis accelerometer, then turning those readings into colors for each component of a few RGB LEDs, which are controlled with pulse width modulation.
Advertisement
