Tag Archives: RGB


Charming 8x8x8 RGB LED cube

Check out this another 8x8x8 RGB LED cube controlled by Arduino. The 512 RGB LEDs are driven by 25 74HC595 shift registers using multiplexing.

8x8x8 RGB LED cube

8x8x8 RGB LED cube

For those unfamiliar with LED cubes, they are simply a 3-dimensional array of LEDs that make for interesting displays. My project here is not the first RGB LED cube, nor is it the best, but I am documenting my process because while designing this cube I appreciated every resource on 8x8x8 RGB LED cubes I could find. My goals for this project were to create an 8x8x8 multicolor (RGB) LED cube cleanly. That is, with all the electronics contained neatly. Additionally, I wanted to use Arduino code to make it more accessible to others and for ease in upgrading. More on this later though.

The hardest challenge was in making the LED frame straight and square. As with most things, quality depends on how much time you put into it. If I were to redo this project that would be the step I spend the most time trying to get right. Overall the project was rewarding in the end and I would say don’t be intimidated by the amount of work needed for design and assembly.

 

Making a digital color sensor using RGB LED and photo-cell

Electronic color sensors find applications in many automated processes such as sorting objects by color, detecting presence of a color coating, etc to improve quality at production line speeds. The fundamental principle of color detection is very simple. You can use an RGB LED and a basic light dependent resistor (LDR) to construct a simple color sensor. The idea is to illuminate a sample material with three primary colors (red, green, and blue), one at a time, and measure the reflected amount of light using the LDR. Each material reflects different combination of red, green, and blue light. For example, the material with red color reflects red light the most. So the LDR response would be higher to the reflected red light than the other two colors. Thus, measuring the amount of light reflected from the sample surface under illumination from red, green, and blue LED individually, the color of the sample surface can be identified.

Color sensor using RGB LED and LDR

Read more