Rajkumar2506
Published © GPL3+

Interfacing LCD With Arduino Using Only 3 Pins

Many of them face difficulty in interfacing LCD with Arduino using six pins. This project helps you to connect LCD using only three pins.

IntermediateFull instructions provided553
Interfacing LCD With Arduino Using Only 3 Pins

Things used in this project

Hardware components

1k pot
×1
Shift Register- Serial to Parallel
Texas Instruments Shift Register- Serial to Parallel
×1
Amazon Web Services Male to Male Jumper Wires
×1
Amazon Web Services LCD 16x2
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Amazon Web Services Bread Board

Story

Read more

Schematics

Schematic Diagram

Schematic Diagram Used to Connect parts
Bpyc692e4cdcekjguqcl

Components Required

Fensvdcpttadbzpfcias

Code

Program Code

C/C++
Code to program your arduino.Open it in Arduino IDE
#include <Wire.h>
#include <LiquidCrystal_SR.h>

// Defining LCD and Pins for interfacing.
LiquidCrystal_SR lcd(6, 5, 9); // Pin 6 - Data Enable/ SER, Pin 5 - Clock/SCL, Pin 9 -SCK


void setup(){
  lcd.begin(16,2);               // Initializing LCD
  lcd.home ();                   // Setting Cursor at Home i.e. 0,0
  
}

void loop(){
  
  lcd.print("3 Pin LCD");       // Print Something on LCD
  delay(2000);                  // Waiting for a while
  lcd.clear();                  // Clearing LCD      
  lcd.print("ARDUINO");     
 
  delay(2000);
  lcd.clear();                  

  
}

Credits

Rajkumar2506

Rajkumar2506

1 project • 2 followers
Contact

Comments