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