please give a hand to this newbie and tell me how to built this project.
I have searched all the web but could not find an answer for a long time...
PROJECT IS;
at night (photocell) when motion detected (PIR) arduino should fade in leds via mosfet. ( when there is no motion leds should dim/fade out gradually)
can you spare max 30sec to copy and paste a source to do this project?
There are many experienced Arduino programmers here, but even they could not write new code for your exact project in 30s, even if they wanted to.
You need to show you are willing to learn and put a little effort in!
Break down the problem and treat each part of the project as a separate mini-project. Perhaps start with just reading the photocell (ldr?) and echoing the value back to the pc. Then maybe the pir sensor. Then fading a small led connected directly to the arduino output, and so on.
Examples of all the software components required are to be found as part of the Arduino IDE.
If you show some effort towards reaching your goal, I'm sure people will help you.
(It took me almost 30 seconds just to type this post).