Arduino RTC timer (ds1307) l2c module code needed

Job ID: 35530189

Budget: €8 – €30 EUR

For a project I need a timer fuction on my arduino/tiny rtc module.

Please make/provide a code and wiring schedule.

Its needs to the next few things:

1) When power up arduino, directly starts a timer that counts minutes upwards. 0-1-2-3 etc.
2) When more then 24 hours running count 1 day, and 0 zero minutes and go on with counting. (weeks not necessary)
3) Constantly write every new minute the count to the memory/ram of ds1307 rtc (it includes battery)
4) When power goes down and up again, the timer must read the memmory go on and start with the latest saved time. So dont start over again with accounting.
5) Give oppertunity in the code the clear the memory/restart the counter bij pressing button x or signal pin x.
6) give me a wire picture (may be easy paint or something) rtc to arduino etc.

If finished correctly new small projects can follow up!