Once program is loaded using Arduino IDE, into RTC DS3231 it should run by itself using Lithium battery and my Arduino Uno should be detached. I am not sure about which port of RTC DS3231 should be connected to Relay and how to make it run by itself.
Basically I am saying, I will upload my code in RTC DS3231
power from internal battery of my machine and pass it to VCC and GND pins of RTC DS3231
if I am removing the Arduino Uno and supply power from different source to DS3231 and make my relay work when my machine is down.
If my logic is correct, please suggest me which pin of SDA (data line) and SCL (clock line) are supposed to be connected to 1 channel 5V relay and please guide me with programming commands using which I will try to program.