# Matching PIN's from Old to New

**URL:** <https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066>\
**Category:** Displays\
**Created:** [October 25, 2023, 12:47pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066 "2023-10-25T12:47:32Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 12:47pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/1 "2023-10-25T12:47:32Z")

</div>

Hi everyone, hoping someone can help.  
I have a setup that is using a now broken display. I'm not sure of the original manufacturer as it doesn't say.

I have bought an Adafruit 1.3" Wide Angle TFT to replace it but the pin labels are different.

On the old I have cables in:  
GND  
VCC  
SCL  
SDA  
RES  
DC

The new has  
VIN  
3v3  
GND  
SCK  
SO  
SI  
TCS  
RST  
D/C  
CCS  
Lite

Any help would really be appreciated.

Thankyou!

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 1:51pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/2 "2023-10-25T13:51:10Z")

</div>

Welcome to the forum

Are you sure that the 2 displays have the same type of interface ? (SPI or I2C)

The old display has SCL and SDA pins, which means that it is an I2C interface

The new display has what looks more like SPI pin names

Please post a link to both displays or at least the new one

---

<div class="post-metadata">

**Author:** ![ZinggJM](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/zinggjm/32/237907_2.png) [@ZinggJM](https://forum.arduino.cc/u/ZinggJM)\
**Post date:** [October 25, 2023, 2:03pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/3 "2023-10-25T14:03:39Z")

</div>

> [@UKHeliBob](#):
>
> The old display has SCL and SDA pins, which means that it is an I2C interface

Many displays use these names also for SPI.  
SDA is generic for Serial Data, sometimes for input and output on same pin.  
SCL is generic for Serial Clock.  
If there is a DC or D/C pin, then it is for SPI, most likely  
But when there is no CS pin, it looks like it is not SPI.

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 2:09pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/4 "2023-10-25T14:09:02Z")

</div>

But the old display does not use enough pins for it to be an SPI interface unless they have gone mad with the names

@stevehunt77 Which pins on which Arduino does the old display use ?

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 2:30pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/5 "2023-10-25T14:30:27Z")

</div>

Thanks for helping.  
This is a link to the new one:

> **[Adafruit 1.3" 240x240 Wide Angle TFT LCD Display with MicroSD (ST7789) with...](https://thepihut.com/products/adafruit-1-3-240x240-wide-angle-tft-lcd-display-with-microsd-ada4313?variant=30679068835902)**
>
> We've been looking for a display like this for a long time - it's so small only 1.3" diagonal but has a high density 260 ppi, 240x240 pixel display with full-angle viewing. It looks a lot like our 1.44" 128x128 display, but has 4x as many pixels and...

The old one has Interface SPI on it. Looking in the description of the new one it also mentions SPI.

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 2:34pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/6 "2023-10-25T14:34:13Z")

</div>

Here is a pic of the old one.

 ![old tft](https://europe1.discourse-cdn.com/arduino/original/4X/6/d/6/6d64a0ff7ecbdd61ca670aaabde37fd896f33465.jpeg)

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 2:42pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/7 "2023-10-25T14:42:49Z")

</div>

From the site that you linked to

> Finally, we found one that is SPI  
> So it has an SPI interface, but according to the old board it too has an SPI interface  
> ![image](https://europe1.discourse-cdn.com/arduino/original/4X/0/2/7/0274b261e9546650616628a4d57a2b47250260d9.png)  
> I find that hard to believe but could still be true

Please post the details of how the old one was connected to the Arduino. Which pins on which board ?

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 2:51pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/8 "2023-10-25T14:51:44Z")

</div>

It connects to a Nano (I don't have details of the uploaded program).

Red goes to 3v3  
Black to GND  
Green to D13  
Blue to D11  
Yellow to D10  
Orange to D9

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 3:07pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/9 "2023-10-25T15:07:24Z")

</div>

OK, that is helpful and makes it sound like an SPI interface with weird names

Try this, using the pin names printed on the back of the new board

```arduino
SCK = 13
MIS = 12
MOS = 11  
SCK = 10
GND = GND
Vin = 5V

```

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 3:36pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/10 "2023-10-25T15:36:43Z")

</div>

Thankyou!  
The current screen goes to the 3v3 Pin on the board and I have an on off switch with battery link on the 5v Pin on the nano.  
So maybe I should put Red to the 3v3 of new screen?

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 3:38pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/11 "2023-10-25T15:38:48Z")

</div>

Supplying 3.3V to the screen 3.3V pin rather than 5V to the 5V pin will be safer but may not work

Try it and see

The connections may be more complicated because the new screen has a built in SD card reader

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 3:58pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/12 "2023-10-25T15:58:53Z")

</div>

> [@UKHeliBob](#):
>
> ```arduino
> SCK = 13
> MIS = 12
> MOS = 11  
> SCK = 10
> GND = GND
> Vin = 5V
> 
> ```

Just wanted to confirm as you have SCK twice.  
Is the second one meant to be SCS?

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 4:05pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/13 "2023-10-25T16:05:46Z")

</div>

Whoops, my bad

Yes, I meant SCS, (Chip Select in SPI speak). I am hoping that it means **S** creen **C** hip **S** elect  
and that TCS is the Chip Select for the SD card reader but don't know the relevance of the 'T'

---

<div class="post-metadata">

**Author:** ![stevehunt77](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@stevehunt77](https://forum.arduino.cc/u/stevehunt77)\
**Post date:** [October 25, 2023, 4:18pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/14 "2023-10-25T16:18:42Z")

</div>

Ok thankyou.  
Would you expect the screen to 'come to life' if just the Power & Ground are connected.  
Or is this likely to need all wires in the right place to come alive?

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [October 25, 2023, 4:57pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/15 "2023-10-25T16:57:51Z")

</div>

I suppose that you might see something happen with just power and GND but nothing sensible

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 22, 2024, 4:58pm UTC](https://forum.arduino.cc/t/matching-pins-from-old-to-new/1182066/16 "2024-04-22T16:58:05Z")

</div>

Closed on April 22, 2024, 4:58pm UTC

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