Posts Tagged ‘RGB’

DIY RGB Matrix

Monday, February 8th, 2010

Components:

First mark the spot where you want to add the LED’s on the foam rubber using some pen. I spaced them 20mm apart and printed some guides on a sheet of paper that i fixed on the rubber and pushed the LED’s through. After that I assembled one column and bended the R,G and B cathodes by 90 degree, shorted them at the next LED (using this one can only space the LED’s by the max. pin length) and solder the pins to next LED. So I proceeded all the way down. I did not cut the wires of the last LED, those I used to connect to the circuit board. After that I but some insulating tape on the connection to ovoid short circuits. After that I used the silver wire to connect the common anodes in a row. DONE !

RGB LED Matrix

Tuesday, May 13th, 2008

What can you do with 100 common anode rgb leds? Build a 8×8 matrix and interface it!

The circuit uses 74HC595 shift registers with output latch. Each shiftregister interfaces one color + one shiftreg for the matrix rows. The interfaces uses 6 I/O lines for faster speed and easier interfacing. An AVR running at 8MHz can update the matrix with 8 brightness levels displaying nice fading colors patterns or colored text (or both). The sample program creates fading color patterns using a sine table. For smoother display a double buffer was implemented.

Download: rgbmatrix.c

IKEA Storm + powerRGB = G R E A T

Friday, January 5th, 2007

Here you can see my IKEA Storm Lamp Mod using the powerRGB circuit and the tinyRGB firmware.

(more…)

powerRGB

Thursday, December 21st, 2006

powerRGB is the extension of tinyRGB to drive high power LED’s. For this project I used a 3 x 1W common Anode RGB LED.

powerrgb_new

Q1 to Q3 are N-Channel HEXFet Mosfet’s with logic level drive and a RDSon at about 50mOhms. R1 to R3 are at about 2k2, R4 to R6 at about 15k and R7 to R9 depend on the LED used and VCC. If you use FET’s with higher RDSon you have to consider RDS in your calculation!

Rx = (Vcc-Vf)/Im – RDSon

[Vcc: Volatge of power supply, Vf: Vorward Voltage of the Diode, Im: Max current of LED]

The software for the AVR is the same as for tinyRGB.

tinyRGB

Saturday, November 11th, 2006

The easiest way to control a RGB Led.

avrRGB1
tinyRGB uses an ATMEL Attiny15L (8pin uC) to control a standard RGB Led.

R1 is a pullup Resistor for Reset generation (should be about 10k).
R3 to R5 depend on the LED you are using. You can calculate the resistor as followed:

Rx = (Vcc-Vf)/Im

[Vcc: Volatge of power supply, Vf: Vorward Voltage of the Diode, Im: Max current of LED or AVR pin (20mA)]

If you want to control power LED’s read here: powerRGB.

The software is written in Assembler (avra under Linux, should be compatible to AVR Studio). Timer0 is used to generate interrupts at about 30kHz. This interrupts are used to build a 8bit PWM. Timer1 is used to change the color pattern.

avrRGB2

(more…)