4D Systems uLCD-144-G2 with Arduino UNO

Hi guys,

I'm starting working with Arduino UNO and LCD screens. I bought the uLCD-144-G2 but I can't show info in the screen. I think the connection is right but I'm not sure. The connection is the following:

  • +5V of LCD is connected with +5V of Arduino
  • GND of LCD is connected with GND of Arduino
  • RESET of LCD is connected with the digital pin 8 of the Arduino (for example)
  • RX of LCD is connected with the TX of Arduino
  • TX of LCD is not connected

For example, I would like to show "HELLO" in the screen but I can't it. Could you help me about the code and if the connection is right, please?

Thanks in advance.

David Ortega.

Hoi,

please post your code to let us see what you already have. MAybe also a pic of your hadrware setup coukd beuseful...

The code that I’m using is the following:

#include <SPI.h>
#include <SD.h>
#include <TFT.h>

// pin definitions
#define CS 0 //I’m not sure if this is right or not
#define DC 1 //I’m not sure if this is right or not
#define RESET 8

TFT TFTscreen = TFT(CS, DC, RESET);

void setup()
{
TFTscreen.begin();
TFTscreen.background(255, 255, 255);
TFTscreen.println();
TFTscreen.println(“HELLO”);
}

void loop()
{
}

And I attach the pictures…

Thanks a lot in advance.

Cheers.

David Ortega.

See this:

Ups! Then my hardware connections are not OK :roll_eyes:

Should I connect TX and RX of LCD screen to A4 and A5 respectly, please? I think the connections are not clear for me... =(

Thanks & Cheers.

David Ortega

Please give us a link to the datasheet of the TFT

The datasheet of the LCD screen is here....

http://www.4dsystems.com.au/downloads/microLCD/uLCD-144-G2/Docs/uLCD-144-G2-Datasheet-REV1.1.pdf

Thanks for all A.R.Ty

Cheers.

David Ortega

The uLCD-144-G2 is a Serial display, which talks over a Serial UART, not SPI and not I2C.

I am unsure what TFT.h library is, but it most certainly is not a library made by 4D Systems.

Looking at your screenshots you have the display with SPE (Serial Platform Emulator) loaded, which is the default configuration when shipped. You talk to the uLCD-144-G2 using the Serial Protocol, and use the Serial Library which they provide.

If you havent already, look at the App Notes they provide. One good one is this: http://www.4dsystems.com.au/downloads/Application-Notes/4D-AN-G5005_Serial_Connecting_a_4D_Display_to_an_Arduino_Host_Using_a_Library_R_1_00.zip

Which is specific for Arduino, SPE and a Goldelox Display, which you have. More found here: http://www.4dsystems.com.au/appnotes/

And the library can be downloaded from Github if you dont have it by now, which is mentioned in the App Note: https://github.com/4dsystems/Goldelox-Serial-Arduino-Library

Also have a look at their product page for the product: http://www.4dsystems.com.au/product/1/4/4D_Intelligent_Display_Modules/uLCD_144_G2/

And additional doco is available from their IDE's product page: http://www.4dsystems.com.au/product/10/120/Development/4D_Workshop_4_IDE/

Hope that helps WanaGo