Skip to main content

LCD interface with arduino

Project Name:- LCD interface with Arduino



In this project, i am going to interface  LCD display with arduino. Essential components for this project are listed below

1> LCD [16*2]
2>Arduino
3>Arduino cable
4>Jumper wires
5>Preset (for making voltage divider circuit)
6>PC

Circuit diagram

fig :- circuit diagram


Arrange the complete circuit as shown in above figure.Connect the arduino with the PC using arduino cable and upload the following code.

Code

#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("WELCOME TO");
}

void loop() {
    lcd.setCursor(0, 1);
  lcd.print("MIRACLEBYECE");
  
}

we get the following result after uploading the code 




Popular posts from this blog

SMPS of computer

                                            fig:- working principle of SMPS       fig :- SMPS of computer From the above figure, we came to know that the function of SMPS in computer which is to convert  the high 220V-AC to 0-12V DC.SMPS contain several color of wires which carry the different voltage to the different parts of the computer.The following table shows the different color cables and its carrying voltage.      

warm clothes distribution program

‘ Small step can make a big difference ’ Rural Women Development Centre from morang,Nepal distributed the warm clothes to the needy people. They manage it possible by collecting fund from working staffs and management committe. Here is the video link of the distribution program. https://youtu.be/AxaHbivcQUM

Multiple mcp23017 interfacing with Arduino

MCP23017 is the I/O port extender that runs on 12C. It is 16-bit I/O expender.in this tutorial we are going to interface the single and multiple  mcp23017 with arduino.  fig:- mcp32017 module IT has 16 I/O ports from PA0 to PA7 and PB0 to PB7. first of all we are going to interface the single mcp23017 with Arduino. For this  connect the circuit as shown on figure. Download the library for mcp23017  from  sketch-- include library -- manage libraries.