Hi everybody,
i'm very new to the electronics world coming from a programming background, so forgive me if my vocabulary isn't on point and if i do not explain well what i want to do.
So (and i'll provide an image to clarify myself) my project is to build an Arduino driven circuit where i can control multiple RGB leds individually,
my concept is to throw data out in series, specifying to which led it has to go, and i think (emphasis on the "think") that i got this part sorted, i would do something like:
My understanding is that to "electronically close switches" you can use NPNs, having:
But then i was thinking: "what if i want to have 2 leds on at the same time?", and this is for me a "walk in the dark". Is there some kind of "memory" which can "remember" the PWM clock so that the LED can stay on without the Arduino constantly feeding the values?
I know this is a vague question, but i've been researching a lot and i'm not seeing the light at the end of the tunnel (which is funny, given that we're talking about leds), can anybody help me find the right way?
Thanks in advance.
Bare sketch of what i want to do to hopefully clarify:
i'm very new to the electronics world coming from a programming background, so forgive me if my vocabulary isn't on point and if i do not explain well what i want to do.
So (and i'll provide an image to clarify myself) my project is to build an Arduino driven circuit where i can control multiple RGB leds individually,
my concept is to throw data out in series, specifying to which led it has to go, and i think (emphasis on the "think") that i got this part sorted, i would do something like:
- RRR, GGG, BBB on 3 different PWM pins
- and HIGH on a pin exclusive to one led
My understanding is that to "electronically close switches" you can use NPNs, having:
- the aforementioned HIGH pin on the base
- one of the values (for instance RRR), acting like a "battery" and one of the RGB led pins (for instance R) between the collector and the emitter
But then i was thinking: "what if i want to have 2 leds on at the same time?", and this is for me a "walk in the dark". Is there some kind of "memory" which can "remember" the PWM clock so that the LED can stay on without the Arduino constantly feeding the values?
I know this is a vague question, but i've been researching a lot and i'm not seeing the light at the end of the tunnel (which is funny, given that we're talking about leds), can anybody help me find the right way?
Thanks in advance.
Bare sketch of what i want to do to hopefully clarify: