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

ImageComponentQuantityAvailable in Kit
evive1
USB A-B Cable1
Male to Female Jumper Cable 10cm12
  • None

Introduction

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
Facebook
Share on twitter
Twitter
Share on google
Google+
Share on pinterest
Pinterest
Share on reddit
Reddit
Share on print
Print
Related Projects & Tutorials
ldr circuit
How to interface LDR sensor with evive ?
The tutorial will shows how to interface ldr sensor with evive and controlling the led state using the sensor.How does ldr sensor works? How to control lights using ldr sensor? All the answers are given in this tutorial.Let's begin...
How to interface Water Flow sensor with evive
In this tutorial, we will discuss how to interface water flow sensor with evive. How water flow rate, current water flowing and output water changes? The water flow rate in liters per hour, current water flowing and output water flowing data flowed since starting is displayed on the screen. All the answers are given in this tutorial.LET'S BEGIN...
All articles loaded
No more articles to load
Featured Projects
DIY Color-Sorter
DIY Color Sorter

This project will show you how to make a DIY color sorter using IR sensors and a servo motor.

All articles loaded
No more articles to load

Leave a Reply

Close Menu
×

Cart