2.2" TFT Module for Arduino from dx.com

Hi guys.

I have this screen from dx.com http://www.dx.com/p/2-2-serial-spi-tft-color-lcd-module-for-arduino-red-silver-234675#.VBfvI3VdVcY
My first problem is I don’t know how to connect this with arduino uno. I was looking on adafuit page Graphics Library | 1.8" TFT Display Breakout and Shield | Adafruit Learning System but still have a problem. I can do that my screen is white but is little bit hot. I’m connecting VCC to 5V and LED to 3,3V

Those are values on my board:

  1. SDO(MISO)
  2. LED —> 3,3V
  3. SCK
    4.SDI(MOSI)
  4. D/C
    6.RESET
    7.CS
    8.GRN
    9.VCC —> 5V

Could you please help me?

This display needs 3.3V on all pins use a CD4050BE or similar to connect. Like described here.

I have the same display, it works with the Adafruit and UTFT library: http://www.bajdi.com/2-2-inch-tft-display/

Thank you guys for help. Still fighting with this. I’ve did all follow yours links and still my LCD not working.

I’ve tried many libs and still no luck :slight_smile:
This is my last setup

Pins:
SDO (MISO) → not connected
LED → 10 Ohm resistor to VCC/3.3V (only I had)
SCK → Pin 7
SDI → Pin 6
D/C → Pin 5
RESET → Pin 4
CS → Pin 3
GND → GND
VCC → 3.3V

This is code what I trying to run:

// UTFT_ViewFont (C)2014 Henning Karlsen
// web: http://www.henningkarlsen.com/electronics
//
// This program is a demo of the included fonts.
//
// This demo was made for modules with a screen resolution 
// of 320x240 pixels.
//
// This program requires the UTFT library.
//

#include <UTFT.h>

// Declare which fonts we will be using
extern uint8_t SmallFont[];
extern uint8_t BigFont[];
extern uint8_t SevenSegNumFont[];

// Set the pins to the correct ones for your development shield
// ------------------------------------------------------------
// Arduino Uno / 2009:
// -------------------
// Standard Arduino Uno/2009 shield            : <display model>,A5,A4,A3,A2
// DisplayModule Arduino Uno TFT shield        : <display model>,A5,A4,A3,A2
//
// Arduino Mega:
// -------------------
// Standard Arduino Mega/Due shield            : <display model>,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Mega      : <display model>,38,39,40,41
//
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(ILI9341_S5P,6,7,3,4,5);

void setup()
{
  myGLCD.InitLCD();

  myGLCD.clrScr();
}

void loop()
{
  myGLCD.setColor(0, 255, 0);
  myGLCD.setBackColor(0, 0, 0);

  myGLCD.setFont(BigFont);
  myGLCD.print(" !\"#$%&'()*+,-./", CENTER, 0);
  myGLCD.print("0123456789:;<=>?", CENTER, 16);
  myGLCD.print("@ABCDEFGHIJKLMNO", CENTER, 32);
  myGLCD.print("PQRSTUVWXYZ[\\]^_", CENTER, 48);
  myGLCD.print("`abcdefghijklmno", CENTER, 64);
  myGLCD.print("pqrstuvwxyz{|}~ ", CENTER, 80);

  myGLCD.setFont(SmallFont);
  myGLCD.print(" !\"#$%&'()*+,-./0123456789:;<=>?", CENTER, 120);
  myGLCD.print("@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_", CENTER, 132);
  myGLCD.print("`abcdefghijklmnopqrstuvwxyz{|}~ ", CENTER, 144);

  myGLCD.setFont(SevenSegNumFont);
  myGLCD.print("0123456789", CENTER, 190);

  while(1) {
  };
}

I did not use this CD4050BE. Are you sure that I need this? I already have 3.3V in arduino Uno v3

Regards
cry5t41

It will not work with 5v, needs 3.3V. Google it, see if you can find people running this display without the logic level conversion.

For Arduino UNO: you will need to drop the voltage for all of the connections.

Bajdi: I have the same display, it works with the Adafruit and UTFT library: http://www.bajdi.com/2-2-inch-tft-display/

Hi Bajdi,

I see that you use different board. I'm using arduino uno. Did you connect all using logic level conversion?

And question for all you guys: Is it good for my board?

http://www.amazon.co.uk/4050-Integrated-Circuit-CMOS-Logic/dp/B008F7U8FM/ref=sr_1_1?ie=UTF8&qid=1410941159&sr=8-1&keywords=CD4050#productDetails

If you have connected a 3.3 volt board to a 5 volt supply you may have already caused irreparable damage, especially if it was connected long enough to get hot.

cry5t41: And question for all you guys: Is it good for my board?

http://www.amazon.co.uk/4050-Integrated-Circuit-CMOS-Logic/dp/B008F7U8FM/ref=sr_1_1?ie=UTF8&qid=1410941159&sr=8-1&keywords=CD4050#productDetails

Yes, you can use one of those. Here they are a bit cheaper.

This should get you going with code.

You MUST run both Arduino & display at 3.3Volt or use voltage conversion.

I use the 2.2" unit in many Arduino projects: http://www.hackster.io/rayburne/blazing-paddles http://www.hackster.io/rayburne/the-qbf-signal-generator http://www.hackster.io/rayburne/color-glcd-terminal-26-ch-x-15-ln http://www.hackster.io/rayburne/5-billion-arduino-gps-clock-for-25 http://www.hackster.io/rayburne/psoc-4-using-the-color-glcd-ili9341 PSoC ARM implementation

If you need more, search this forum for ILI9341

Ray

I used an ATmega328 @ 3.3V, these TFT's don't work with 5V signals.

cry5t41:

Bajdi: I have the same display, it works with the Adafruit and UTFT library: http://www.bajdi.com/2-2-inch-tft-display/

Hi Bajdi,

I see that you use different board. I'm using arduino uno. Did you connect all using logic level conversion?

And question for all you guys: Is it good for my board?

http://www.amazon.co.uk/4050-Integrated-Circuit-CMOS-Logic/dp/B008F7U8FM/ref=sr_1_1?ie=UTF8&qid=1410941159&sr=8-1&keywords=CD4050#productDetails

HI Guys

Finally I got mine 4050 and I connect all like in http://forum.arduino.cc/index.php?topic=181679.90

#post 92.

buy I have not got any code to test it. I think I did something wrong and maybe my lcd is broken.

Is any one can paste me some code to test it is working?

dannable: If you have connected a 3.3 volt board to a 5 volt supply you may have already caused irreparable damage, especially if it was connected long enough to get hot.

You have already been given the most likely answer.

Regards,

Graham