Connecting a Teensy 3.0 to a LCD (HD44780 display)

display_connecting_SteckplatineI wanted to use my HD44780 display with my Teensy 3.0, but I couldn’t find any tutorial how to connect it up.

Finally I found a picture how to connect it up. I just tried to connect it up and it worked, so I created this picture with Fritzing.

To use the LCD you need to create the object in your code. If you connect it up like in this picture you need to create the instance like this:

LiquidCrystal lcd(23, 22, 16, 15, 14, 13);

To test if it works you can just run the example in Arduino IDE:

File -> Example -> LiquidCristal -> HelloWorld

You need to change the “LiquidCrystal” instance in line 42.

When you run it it should run nicely.

Hope it worked for you 🙂

lg Darcade


EDIT: Because someone requested it here is some example source code:

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(23, 22, 16, 15, 14, 13);

void setup() {
  // set up the LCD's number of columns and rows: 
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");

void loop() {
  // set the cursor to column 0, line 1
  // (note: line 1 is the second row, since counting begins with 0):
  lcd.setCursor(0, 1);
  // print the number of seconds since reset:

6 thoughts on “Connecting a Teensy 3.0 to a LCD (HD44780 display)

  1. First I wanted to thank you for the pinouts. I have to get a few 10K resistors to finish my project. I have already used the teensy with orvtech’s code, but was unable to unlock my Macbook Air A1466. But I decided to go ahead and finish my project by adding the LCD I bought.

    I was writing to check to see if you would post the code you used with yours, it will save me some time learning the code needed to get my display up and running. Any help would be greatly appreciated.

    I am now moving and have bought a Bus Pirate and SOIC8 clip.

Leave a Reply

Your email address will not be published. Required fields are marked *