5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



EASY PLUG Super Starter Kit For Arduino Project 14: how to use an LCD module

Posted by Fiona Su on

Overview
In this arduino project, you will learn how to use an LCD module. An LCD, or liquid crystal display, is a simple screen that can display commands, bits of information, or readings from your sensor - all depending on how you program your board.
Component Required
  • EASY plug control board*1
  • EASY plug 1602 LCD Module *1
  • EASY plug Tilt sensor *1
  • EASY plug LED Module *2
  • RJ11 cable*1
  • USB cable*1
Component Introduction

Keyestudio EASY plug 1602 LCD Module
This is a basic 16 character by 2 line LCD display with white text on blue background.
It comes with EASY Plug connector, you can use one line for simple connection.
Compatible with Arduino LiquidCrystal Library
White text on blue background
  • 16 characters wide, 2 rows
  • I2C Address: 0x27
  • Back Light: Blue
  • Text Color: White
  • Supply Voltage: 5V

Adjusting contrast by a potentiometer
Connect It Up
Connect the EASY Plug 1602 LCD module to control board using an RJ11 cable.

thumb

Upload the Code
Below is an example code.

thumb

What You Should See

thumb

Initially, you should see the words “hello, word!” and “keyestudio!” pop up on your LCD.
Remember you can adjust the contrast using the potentiometer on the module back if you can’t make out the words clearly.

thumb

Little Knowledge:

  • If you want to change the characters showed on the LCD screen, you can modify it in the code shown below.

thumb

  • Remember you can adjust the contrast by rotating a blue potentiometer on the LCD back if you can’t make out the words clearly.

thumb

Extension Experiment

Tilt Controlled Counting
Next, let’s get started with a little bit more complicated experiment.
For instance, use a tilt sensor to control the 1602 LCD show the counting. Let’s get started right now!
Hookup Guide
Connect the EASY Plug LCD module, two LED modules and a tilt sensor to control board using RJ11 cables.

thumb

Test Code
Below is an example code.

thumb


What You Should See
Done uploading the code, if tilt the sensor, the red LED is turned on, and you should see the number showed on the first line of 1602 LCD will plus 1 per second, and ++ is displayed on the second line.

thumb

If tilt the sensor to another side, the white LED is turned on, and you should see the number showed on the first line of 1602 LCD will subtract 1, and -- is displayed on the second line.

thumb

Little Knowledge:

  • Remember you can adjust the contrast by rotating a blue potentiometer on the LCD back if you can’t make out the words clearly.

thumb

  • But if you want to show other characters, you can also change it in the code shown below.

thumb

All Tutorial

 Buy here>>EASY PLUG Super Starter Kit For Arduino STEM EDU

0 comments

Leave a comment

Please note, comments must be approved before they are published