2.8" LCD Display + RTC DS1307

Hi everybody, I have an 2.8" LCD w/ touch display (Cyan Infinite | 2.8" TFT LCD Touchscreen Shield) working just perfect with Arduino Nano. And I also have an RTC DS1307 working very well with the same Arduino.

When I put them both in the same Arduino, one of them doesn´t work.

I know the LCD display uses the D2 - D9 and A0 - A5 ports and the RTC A4 and A5 (SDA and SCL), I just don´t know if is it possible (and how) to them coexist in the same project.

Can anybody give me some tips?

Thanks!

I know the LCD display uses the D2 - D9 and A0 - A5 ports

Can you provide the documentation or link to it that shows the requirement for A4 A5 with the display?

cattledog:
Can you provide the documentation or link to it that shows the requirement for A4 A5 with the display?

I found this:

https://www.microcontroller-project.com/uploads/2/2/1/5/22159166/8044063_orig.jpg

And this:

https://m.media-amazon.com/images/S/aplus-seller-content-images-us-east-1/ATVPDKIKX0DER/A2WWHQ25ENKVJ1/fdc64abf-ac12-4874-aba9-674c4d09c561.CR192,0,1617,1000_PT0_SX970_.jpg

It indeed looks like the display shield has comandeered the I2C bus pins. Consequently you will have to use software i2c on two free pins to deal with the RTC.

There is a large number of libraries available to do this.

I have no direct experience with them, but there are two libraries available through the library manager, so I would start there.