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

This helped
This didn't help
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
All articles loaded
No more articles to load
Featured Projects
Robotic-Arm-Bartender
DIY Robotic Arm Bartender

This project will show you how to make your own robotic arm bartender that will make you a star host!

All articles loaded
No more articles to load
Close Menu
×

Cart

No mo #FOMO on the coolest project-making app out there!

Check it out RIGHT NOW on Product Hunt!
Launch-Pop-Up
Dabble is trending on Product Hunt!
Check it out and let us know what your favorite feature is. 😉
x