Arduino Uno With LCD Screen

by Ayush Menon in Circuits > Arduino

363 Views, 1 Favorites, 0 Comments

Arduino Uno With LCD Screen

download.jpeg

Hey guys, my name is Ayush, and in today's tutorial you will learn how to build a circuit using the Arduino Uno to display letters and words on a LCD screen. Now before we start any new project we do research.

Our main component we are going to use in the circuit is a Arduino Uno.

Therefore, we must first know what it does and how it works.

Now an Arduino Uno is an open-source microcontroller board designed by Arduino.cc and based on the Microchip ATmega328P microprocessor. The board has a number of digital and analogue input/output (I/O) pins that can be used to connect to different expansion boards (shields) and other circuits. The board features 14 digital I/O pins (six of which are capable of PWM output), 6 analogue I/O pins, and is programmable through a type B USB cable using the Arduino IDE (Integrated Development Environment). It can be powered by a USB cable or an external 9-volt battery, with voltages ranging from 7 to 20 volts. It's similar to the Arduino Nano and Leonardo microcontrollers. The Italian word "uno" means "one" and was chosen to represent the first release of Arduino Software. The Arduino Uno board is the first in a series of USB-based Arduino boards; it, along with version 1.0 of the Arduino IDE, served as the standard version of Arduino, which has since been superseded by newer releases. The ATmega328 on the board is preprogrammed with a bootloader, allowing it to be programmed without the use of an external hardware programmer.

Our second main component is the LCD screen.

A liquid-crystal display (LCD) is a flat-panel display or other electronically modified optical device that uses liquid crystals and polarizers to manipulate light. Liquid crystals do not directly emit light; instead, they use a backlight or reflector to create colour or monochrome images. LCDs can show arbitrary images (like on a general-purpose computer display) or fixed images with minimal information content that can be shown or hidden. Preset words, digits, and seven-segment displays, such as those seen in a digital clock, are all examples of devices that use these displays. They all employ the same basic technology, but arbitrary images are created using a matrix of small pixels, whereas other displays use larger elements. Depending on the polarizer configuration, LCDs can be turned on (positive) or off (negative). A character positive LCD with a backlight, for example, will have black lettering on a backlight-colored backdrop, but a character negative LCD will have a black background with letters that are the same colour as the backlight. Optical filters are used to give white and blue LCDs their distinctive appearance.

Supplies

Bodacious Bigery-Luulia.png

To make a proper functioning circuit we will need the following components:

  1. Arduino UNO
  2. LCD screen
  3. Breadboard
  4. 220 ohm resistor
  5. Connecting wires

Anyone can find these components online or in store.

  1. Arduino UNO: https://www.amazon.ca/ARDUINO-A000066-Uno-DIP-1-5...
  2. LCD screen: https://www.adafruit.com/product/782
  3. Breadboard: https://www.adafruit.com/product/64
  4. 220 ohm resistor: https://www.adafruit.com/product/2780
  5. Connecting Wires: https://www.amazon.ca/Breadboard-Jumper-Wire-75pc..

Assembling the Circuit

F6KY28LI4J73NVC.png

Step - 1

Gather the components needed for assembling the circuit.

Step - 2

Hook up the LCD Screen to the breadboard

Step -3

Hook up the wires to the breadboard from the arduino so that the board can recieve power

Step - 4

hook up the wires to the LCD screen now

1 VSS 0V Ground

2 VDD 5V Supply Voltage

3 VO (Variable) Operating voltage

4 RS H/L H: DATA, L: Instruction code

5 R/W H/L H: Read(MPU?Module) L: Write(MPU?Module)

6 EH H->L Chip enable signal

7 DB0 H/L Data bus line

8 DB1 H/L Data bus line

9 DB2 H/L Data bus line

10 DB3 H/L Data bus line

11 DB4 H/L Data bus line

12 DB5 H/L Data bus line

13 DB6 H/L Data bus line

14 DB7 H/L Data bus line

15 A 5V LED +

16 K 0V LED-

Code for the LCD Screen

Screenshot 2021-06-23 14.45.32.png

Now for the LCD screen to work, we need to input a code into the arduino, then the Arduino will execute the code.

The code is as below:

#include<LiquidCrystal.h>

LiquidCrytal lcd(12, 11, 5, 4, 3, 2);

void setup()

{

lcd.begin(16, 2);

}

void loop()

{

lcd.setCursor(0,0);

lcd.print("Hello,Miss! My ");

lcd.setCursor(0,1);

lcd.print("Final project");

}