Acidmods

AcidMods Resources ----- ( These are helpful tools for modding ) => Electronics Projects => Topic started by: 3D0kassiah on December 25, 2013, 10:25:31 AM

Title: rgb led thumbstick mod
Post by: 3D0kassiah on December 25, 2013, 10:25:31 AM
hey guys i always wanted to do some simple rgb led thumbsticks but after looking at kits online they seem a bit overkill as far as design goes and at 15$ per kit no thanks!!!!!
so i shared this idea with sethmods and he got started on the code right away dam wish i never dropped coding a long time ago lol
so we came up with this its sethmods code 100% and i designed the pcb
uses a 12f683 and pnp transistors sot 23
decided to make it as small as possible for my own preference and i think it came out good has enough for 4 diffused rgb leds 3mm
let me know what you guys think yet to test as i cant find a resistor i need im sure i have it but i gotta dig through my stuff
and i need to buy some rgb leds
might be able to finish tomorrow as no stores are open today example radio shack to go buy parts

  (https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1122.photobucket.com%2Falbums%2Fl536%2Fedokassiah%2FSAM_0624_zps647572f7.jpg&hash=186c19e0c386f80d4b655176e7adcc59cca970c5) (http://s1122.photobucket.com/user/edokassiah/media/SAM_0624_zps647572f7.jpg.html)
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1122.photobucket.com%2Falbums%2Fl536%2Fedokassiah%2FSAM_0625_zpsdef2f93f.jpg&hash=2efdf557aaa494a8aff396a5fc20c010fa01b497) (http://s1122.photobucket.com/user/edokassiah/media/SAM_0625_zpsdef2f93f.jpg.html)
Title: Re: rgb led thumbstick mod
Post by: Gizmo613 on December 25, 2013, 01:26:53 PM
Nice!. Post Up When You Finish.
Title: Re: rgb led thumbstick mod
Post by: GhoSt on December 25, 2013, 01:32:31 PM
I have written something similar for my mod off entry, what exactly are you doing with this like a continuous RGB fade?
You designed the circuit for common anode right, so current gain with pnp emitter followers, I really want to design mine to be able to soft-switch between C-anode and C-Cathode RGBs. Not sure what I am going to do to account for sourcing and sinking, bah my analog electronics is not fantastic, tis why I have friends.
Scratch that I think I worked it out.
Title: Re: rgb led thumbstick mod
Post by: 3D0kassiah on December 25, 2013, 02:57:06 PM
no fade just color cycles red green blue yellow purple etc
and yes common anode
Title: Re: rgb led thumbstick mod
Post by: Demonboy on December 26, 2013, 02:45:27 AM
I like this, I have a wired pad that has 2 clear thumbs ready for leds (compliments of timmay) after seeing a video of these bad boys in action I may pick a set up off you
Title: Re: rgb led thumbstick mod
Post by: Hazer on December 29, 2013, 08:59:49 AM
If you are just using the 12F683 for RGB LEDs, you can easily get breathing and fading effects. The code is simple enough. Just activate one timer and use a simple interupt to change some values.

Theres an example in my Spectrum code:

https://www.acidmods.com/forum/index.php/topic,41701.0.html (https://www.acidmods.com/forum/index.php/topic,41701.0.html)

With some effort, you could even make it self programmable with 2 inputs.
Title: Re: rgb led thumbstick mod
Post by: Gizmo613 on January 05, 2014, 08:02:26 PM
You get one wired up yet? I'm still waiting on mine to come in the mail. i got my rgb leds already and which resistor do i use?
Title: Re: rgb led thumbstick mod
Post by: GhoSt on January 05, 2014, 09:32:39 PM

Question to 3D0: Out of curiosity what are you doing to drop voltage from the red LEDs here?
Title: Re: rgb led thumbstick mod
Post by: 3D0kassiah on January 06, 2014, 07:53:14 AM
You get one wired up yet? I'm still waiting on mine to come in the mail. i got my rgb leds already and which resistor do i use?

package shouldve been there already?
not surprised if you havent got anything yet usps lost 3 of my packages 2 to my nephew and another i was getting from ebay
use a 15k 0805 resistor send me email if yo do not receive today so i can reship no biggie

and @ghost not sure sethmods did the code i just made the pcb
Title: Re: rgb led thumbstick mod
Post by: SethMods on January 06, 2014, 09:27:46 AM
It was something that I coded up in an hour or so. There are 3 arrays (one for each color).  Setting the value for each index sets the duty cycle for each color. The red just has a much lower duty cycle.

Sorry for the letdown. It was something I was trying to pump out quickly.
Title: Re: rgb led thumbstick mod
Post by: Gizmo613 on January 06, 2014, 10:32:01 AM
no let downs. the fading and such was just a suggestions.
Title: Re: rgb led thumbstick mod
Post by: Gizmo613 on June 04, 2014, 03:40:51 PM
was really looking forward to this as i got some rgb leds laying around doing nothing. Thinking of modding my psp 3000 and i know these will come in handy.
SimplePortal 2.3.5 © 2008-2012, SimplePortal