Arduino LCD 1602 serial tutorial

“Hello World!”

arduino_lcdThe LiquidCrystal library allows you to control LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you can usually tell them by the 16-pin interface.

Hardware Required

  • Arduino Uno Board
  • LCD Screen 1602
  • pin headers to solder to the LCD display pins
  • 10k ohm potentiometer
  • 220 ohm resistor
  • hook-up wires
  • breadboard

Circuit

Before wiring the LCD screen to your Arduino board you should solder a pin header strip to the pin connector of the LCD screen, as you can see in the image above.
To wire your LCD screen to your board, connect the following pins:

LCD_Base_bb_Schem

  • LCD RS pin to digital pin 12
  • LCD Enable pin to digital pin 11
  • LCD D4 pin to digital pin 5
  • LCD D5 pin to digital pin 4
  • LCD D6 pin to digital pin 3
  • LCD D7 pin to digital pin 2

You have to wire a 10k pot to +5V and GND, with it’s wiper (output) to LCD screens VO pin (pin3). A 220 ohm resistor is used to power the backlight of the display, usually on pin 15 and 16 of the LCD connector.

LCD_Base_bb_Fritz

 

 

Install the Arduino Desktop IDE

Step-by-step instructions select for your operating system.  [Here]

Download the Arduino IDE – [Here]

Here comes the first code to test you Arduino and the Display  [Get Code]