Hello everyone after losing so many nights to the PC , I managed to develop the sketch that I needed , it may be useful to someone , this allows to design simple , as in my case, turning on the lights in the driveway of the house in two stages eg . (First phase ) from 18:00 pm to 01:00 am permanently , ( II phase ) from subsequent 01:00 am to 4:00 am only to the passage and / or movement of people , this to save some electricity , because in my opinion it makes no sense that the drive stays on unnecessarily at night unless I fall in house at that hour or guests leave.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: NECESSARY MATERIAL
ARDUINO UNO or MINI-PRO;
CLOCK MODULE RTC DS1307 ;
MOTION SENSOR MODULE - PIR;
Step 2: SCHEME ASSEMBLY
Step 3: CODICE ARDUINO
I hope that this project can be useful to someone , sorry if it is not written correctly , I used the translator of " google " Hello