Skip to main content

TinkerKit Arduino LCD - Arduino & 2 Wires

The TinkerKit LCD module can be controlled straight from the Arduino, using the serial communication, without any shield or other module. Remember to upload the SerialFirmware into the LCD board, as we did in the four-cable serial tutorial. It’s located under examples->TKLCD->SerialFirmware

Verify Requirement

If you didn’t do it already, download the TKLCD library. Once downloaded, place TKLCD in the libraries folder inside your sketchbook.

How to install the library:

  1. unzip the downloaded file
  2. move the TKLCD folder inside the “libraries” folder, usually located in Documents\Arduino\libraries (if it’s not there, just create it)
  3. close the Arduino software, if it’s open, then relaunch it
  4. to verify the installation, open the software and from the top menu click on sketch->import library. You should be able to see the TKLCD element in the list

For our tutorial we’ll be using an Arduino UNO and three jumpers to make the connections

Connect the TinkerKit LCD directly with an Arduino Uno

For our tutorial we’ll be using an Arduino UNO and three M/F jumpers to make the connections to the LCD board's Serial port.

The cables needed are male-female, that’s because the Arduino pins are female, while the LCD connectors are male.

Serial port’s layout:

Connect the UNO board and the LCD board as following:

LCD Board Serial PortUNO Board Pin
TXNot Connected
RXPin 1 (TX)
5V5V
GNDGND

Example Code

Upload to the Arduino any sketch that uses the TKLCD_Serial and reset the Arduino manually by pressing the reset button after the upload is completed. In the following example we’re just writing “Hello World” on the board.

#include <Wire.h>
#include <LiquidCrystal.h>
#include <matrix_lcd_commands.h>
#include <TKLCD.h>

TKLCD_Serial lcd = TKLCD_Serial();

void setup() {
lcd.begin();
}

void loop() {
lcd.clear();
lcd.print("Hello");
delay(1000);

lcd.clear();
lcd.print("World");
delay(1000);
}

Now take a look at all the examples included in the TKLCD library to discover more functions.