The first thing that we have to do is to make this electronic circuit in Proteus:
To don't focus all my efforts in unnecesary things, most of the parts of this circuit are explained in the previous I2C practice, so you can find out what are them in this link: http://marcoselectronicblog.blogspot.com.es/2016/05/temperature.html
The main difference with the previous practice is that here we use the DS1307 RTC: