intensity control of LED

i want program for arduino uno based auto intensity control of led's so that led starts at full intensity and it's intensity fall with time in last led's goes off and get on with full intensity after few seconds, pls help me with it.

Abhishek05:
pls help me with it.

You go first.... post what code and circuit you have so far, explaining what is / is not working properly, then you'll almost certainly get some advice.

On the other hand if you haven't worked through the tutorials here, you should do that.

this is the circuit diagram i do not have the code for this.

Arduino_Based_Auto_Intensity_Control_of_Street_Lights_Block_Diagram.JPG

Abhishek05:
this is the circuit diagram

Here's the pic for others:

8b2883cfc465ec01fc58c08a2aeea2224bee6ef1.jpg

Abhishek05:
i do not have the code for this.

Nobody's going to write it for you: you'll get help if you make a start, but you have to at least do that.

Abhishek05:
this is the circuit diagram i do not have the code for this.

Actually, the code would be tricky because that is not a circuit diagram or "schematic" at all.

It seems you want to make something similar to fade. :wink:
Go to arduino program->examples->basics->fade, and see if is that what you want.

-LUCO19