Scheduled door opener on a specific time

Hi, all I am seeking some advice
I have garage door that currently is programmed to open in 12 hour intervals via the arduino trigger a relay after so many microsecond. this is effecitve but not efficent here is my current code that functions fine.
int led = 13;
void setup() {
pinMode(led, OUTPUT);
digitalWrite(led, LOW);

}
void loop(){
digitalWrite(led, LOW);
delay(43200000);
digitalWrite(led, HIGH);
delay(3000);
}
The goal of what I want to accomplish now is to use a time module ( I am unsure which would work best) but I want to be able to set different times for the door to be triggered as opposed to my current 12 hour interval. but also make it only trigger on week days, I need to door to stay closed on saturday and sunday. Can someone please direct me in way of the best RTC for this application as well as and shields i may need and the code to make it operate. I am not very advanced in Coding. Currently utilizing the Arduino Uno R3. Thank you in advance

Try looking for a multiple alarm clock example, it should do what you want. You will need a clock chip and some way of setting it every so often. My real concern is what is what happens if some small animal or even a small kid is under the door when it closes, it is possible they could be permanently terminated? Maybe your favorite car may be under it? The sensors on garage doors are not the best.

Garage door has genral laser sensors like all garage door to prevent such thing from happening

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.