Hey Chris,
The approach is key ![]()
Using a DS1307RTC
void setup() {
 Serial.begin(9600);
 while (!Serial) ; // Needed for Leonardo only
 setSyncProvider(RTC.get); // the function to get the time from the RTC
 if (timeStatus() != timeSet)
  Serial.println("Unable to sync with the RTC");
 else
  Serial.println("RTC has set the system time"); Â
   setSyncInterval(600);
Setting time from the RTC this is an example sketch that im building from.
The Idea of the project is to Turn Lights on between certain frames and Pumps ETC for an Aquaponic system.
Idea of the RTC is from powerouts/resets i need to maintain the time frames rather than actual running time IUKWIM
18/6 Light periods, But want to make sunrise sunsets and work on longer/shorter days over time which i guess i can work out once iv got the basic approach to working with time.
I am not an overly experienced coder but have made a fair few simple projects with arduino.