How to connect ILI9486 and DS1307 together to UNO

I want to make a project that calculates the time elapsed from a certain date to this date and display it on my TFT display shield. So, the display shield almost takes all the pins and I need 5V pin to power up my RTC module, also I need a GND pin. I wonder is it possible to connect these two components without breadboard. You can see my TFT shield below. Can you help?

Can you read?

What part of "DO NOT CREATE TOPICS IN THIS CATEGORY" was confusing you?

I will move your topic to an appropriate forum section.

1 Like

What about the SPI port on the Uno? That has a 5V and ground pin.

Please post a link to the specifications and details of the TFT shield so we can see what Uno pins might be available.

Personally, I always build prototypes on breadboard. That's why I would never choose an Uno or a shield. I always try to find components that are breadboard compatible, if I can.

You also need the pins for I2C communication with the RTC and the shield occupies the SDA pin (A4) to reset the display, so you have a small problem that is difficult to solve (the power supply is just a detail)

Note that the SDA and SCL pins are connected to pins A4 and A5, they are not independent pins.

I thought SDA and SCL pins are independent from A4 and A5. If they are dependent I have a bigger problem like you said.

On some models of Arduino they are separate, but on Uno they are the same, connected.

I was going to suggest a "proto-shield"

But I don't know if it can fix the problem with A4.

EDIT: hmmmm... maybe....

The proto shield comes with some female PCB header strips with long pins. You can see them at the bottom of this photo. You solder these into the proto shield so that you can then plug the proto shield on top of the Uno, then plug the TFT shield in top of the proto shield.

learn_arduino_2077-03

So maybe what you can do is solder those headers, then cut the long pin that goes into the A4 socket of the Uno. This frees up A4 to use with your RTC, which you can solder onto the proto shield. You can't connect the RTC to A4 because you cut that pin. But you can connect the RTC to the SDA and SCL pins. There are plenty of points to connect 5V and ground on the proto shield.

So now your RTC can work, but you need to get the TFT shield to work also. Find an unused pin on the Uno. Put a connecting wire on the proto shield to connect from that unused pin to the RESET pin of the TFT. Then change the code to use that pin for the TFT RESET pin.

Dang. I can't see any. This TFT shield uses up every last Uno pin.

Do you plan to use the SD card reader? If not, use one of the pins for that.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.