How to interface 16 X 2 LCD with evive?

LCD setup with evive
About This Tutorial
This tutorial discusses how we can interface 16 X 2 with evive . How we can display the data on the lcd? All the answers are given in this tutorial.LET’S BEGIN….
Tutorial Info

Components Required

Image Component Quantity Available in Kit
evive 1
USB A-B Cable 1
Male to Female Jumper Cable 10cm 12
  • None


LCD (Liquid Crystal Display) screen is a display module which displays 16 characters per line and there are 2 such lines. In this LCD each character is displayed in the 5×8 pixel matrix. We know that each character has (5×8=40) 40 Pixels and for 32 Characters we will have (32×40) 1280 Pixels. LCD 16x2

Working of 16 X 2 LCD display

The LCDs have a parallel interface, meaning that the microcontroller has to manipulate several interface pins at once to control the display. The interface consists of the following pins:

  • Register select (RS) pin that controls where in the LCD’s memory you’re writing data to. You can select either the data register, which holds what goes on the screen or an instruction register, which is where the LCD’s controller looks for instructions on what to do next.
  • Read/Write (R/W) pin that selects reading mode or writing mode.
  • Enable pin that enables writing to the registers
  • data pins (D0 -D7). The states of these pins (high or low) are the bits that you’re writing to a register when you write, or the values you’re reading when you read.
  • Display contrast pin (Vo)power supply pins (+5V and Gnd) and LED Backlight (Bklt+ and BKlt-) pin that you can use to power the LCD, control the display contrast, and turn on and off the LED backlight, respectively.

16 X 2 LCD display

Interfacing LCD display with evive

The Arduino connections of the 16 X 2 LCD display are explained below:

  1. Firstly, solder the berg pin to the LCD. Take 16 male to female jumper wires and connect them as shown in the figure.16 X 2 LCD circuit
  2. Make sure the wires are properly connected.

PictoBlox Program

In this example, we will display the potentiometer value on the LCD Display:

  1. Open PictoBlox.
  2. Select the board as evive:
    Selecting Board
  3. Connect the evive.
    Select Port
  4. Add Other Display Modules extension to access 16×2 LCD Display blocks.
    Load Extensions
  5. Create the following script using when evive starts up block:
    16x2 LCD Display Example
  6. Upload the code onto evive:
    Upload Code

You can download the PictoBlox program from here: 16×2 LCD Display

Share this Tutorial
Share on facebook
Share on twitter
Share on pinterest
Share on reddit
Share on print
Featured Projects

Leave a Reply