• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

microcontroller + RGB LEDs = blinkenlights!

corran_horn314

Limp Gawd
Joined
Jan 4, 2004
Messages
445
I got interested in microcontrollers recently so I decided to incorporate one into my computers lighting. I made a practice project to make sure I still knew as much about electronics as I used to and could program it properly. Then I wrote up a schematic and ordered parts, threw it all on a breadboard and then started soldering and drilling.

IMG_1511.jpg


IMG_1512.jpg


IMG_1513.jpg


IMG_1514.jpg


The scratches on the drivebay cover are less noticable in person, or at least aren't as ugly. All three switches are inputs to the microcontroller so I can program it to use them as three individual functions or 8(2^3) depending on what I need it for.

The 10 LEDs can display red, green, and blue so if I adjust the brightness using PWM it can display a large spectrum of colors. The three colors aren't perfectly mixed, so if i try to make something other than pure red, green or blue then parts of the case are different colors.

If you guys want more info, or better pics just ask and I'll see what I can do.
 
sorry guys, I've been totally swamped today with school starting back up and work(heck i'm still at work, just typing a quick reply...) so I'll get some pics/vids that better show what it can do up tomorrow(i hope)

in the mean time i'll describe it a bit better: I picked an Atmel ATtiny2313 to power this thing. It gets three inputs from the three switches, i can program it to use those inputs however I want. It outputs three bits(R, G, B) which go to three transistors which power the LEDs, because the chip cant output enough power to light 10 LEDs. I have a lot more programing to do, mainly because I'm a tinkerer and will change it 100 times just for fun, but right now I can have it morph through colors by varying the amount of light output by the R G and B elements in each LED.

The effect is pretty cool, I think, but my case is not clean enough and the LEDs are not bright enough to match a CC. And, as I mentioned before, the colors are somewhat separated so the color is not completely homogenous.
 
Back
Top