creating multiple LEDs that dim/brighten

hi there!

i'm an arts student and i'm very new to all this arduino stuff. i was looking to do a project that would involve connecting multiple LEDs and having them dim and brighten on their own terms, separately. the most i know is i would probably have to connect them to the PWMs, but i don't have much knowledge in terms of coding and connecting them together. i was wondering if someone would like to guide me through this process. any help would be appreciated :slight_smile:

lusk

You'd want to start by reading this page: http://www.arduino.cc/en/Tutorial/PWM

This page has some example code you can follow: http://arduino.cc/en/Tutorial/Fade

And I believe you're correct that you'll need to use the PWM pins, although I'm also new to Arduino myself.

i was looking to do a project that would involve connecting multiple LEDs and having them dim and brighten on their own terms, separately.]i was looking to do a project that would involve connecting multiple LEDs and having them dim and brighten on their own terms, separately.

The way you go about this depends on how many LEDs you want to control. Have you an idea of the number?

Have a look at my blinkenlight experiments: Blinkenlight | 20 LEDs are enough. Maybe this is already what you want but maybe not. Although it may not be 100% what you want it might serve as an example of how to implement it..

oh wow! there are a lot of replies already. i was expecting to receive them in my email...
i was looking to do about 8 or something, but i know there's only 5 or 6 pwm's to use. so i was going to have a couple connect to the same pwm and blink in the same pattern.

i have also looked at , but i am not looking to use a shield. great otherwise!

Best to use a shift register like this:-

But don't use that capacitor on the latch line that is an error. Then use shiftPWM to control them:-
http://www.elcojacobs.com/shiftpwm/