I2C LCD 16×2 with Arduino simulation in proteus
In this article we will learn how to interface arduino with I2C & LCD in proteus.
In the last post we will learn how to interface arduino with RFID simulation & LCD in proteus. You can visit our website,
I hope you appreciate my work, let’s discuss about today’s project.
Components which we use in this project are listed below:
- Arduino nano
- Virtual terminal
- I2C
- LCD 16×2
- Jumper wires
Diagram of this project is below:
Construction of I2C LCD 16×2 with Arduino simulation in proteus
- Connect the TX point of virtual terminal with the point RX of arduino nano
- Connect the RX point of virtual terminal with the point TX of arduino nano
- Connect A4 pin of arduino nano with the SDA pin of I2C
- Connect the A5 pin of arduino nano with the SCL pin of I2C
- Connect A0,A1,A2 points of I2C with the GND
- Connect P0 pin of I2C with the RS point of LCD display
- Connect P1 pin of I2C with the RW point of LCD display
- Connect P2 pin of I2C with the E point of LCD display
- Connect P3 pin of I2C with the D3 point of LCD display
- Connect the P4 pin of I2C with the D4 point of LCD display
- Connect the P5 pin of I2C with the D5 point of LCD display
- Connect the P6 pin of I2C with the D6 point of LCD display
- Connect the P7 pin of I2C with the D7 point of LCD display
Working of I2C LCD 16×2 with Arduino simulation in proteus
Using an Arduino with I2C and an LCD is a common project that allows you to display information on the LCD screen with minimal wiring and efficient communication.
Applications of I2C LCD 16×2 with Arduino simulation in proteus
- Temperature and Humidity Monitoring
- Weather Station
- Digital Thermometer
- Clock and Calendar
Advantages of I2C LCD 16×2 with Arduino simulation in proteus
- Simplicity
- Cost-Effective
- Scalability
- Reduced Pin Usage
Program code of this project:
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x20, 16, 2);
void setup()
{
// initialize the LCD
lcd.begin();
// Turn on the blacklight and print a message.
lcd.backlight();
lcd.print(“Hello, world!”);
delay(1500);
lcd.clear();
}
void loop()
{
lcd.setCursor(0, 0);
lcd.print(“Projectiot123.co”);
lcd.setCursor(0, 1);
lcd.print(“visit”);
delay(500);
lcd.setCursor(0, 1);
lcd.print(” “);
delay(500);
// Do nothing here…
}