

This circuit integrates an Arduino Leonardo with two LCD modules: a generic LCD 16x2 (Wokwi Compatible) and an LCM1602 IIC module. The Arduino Leonardo serves as the microcontroller, controlling the LCD displays via I2C communication. The LCM1602 IIC module is used as an interface between the Arduino and the generic LCD, facilitating easier communication through the I2C protocol. The circuit is designed to display text on the LCD screen.
GND connected to LCM1602 IIC GND5V connected to LCM1602 IIC VCCSDA connected to LCM1602 IIC SDASCL connected to LCM1602 IIC SCLVSS connected to LCM1602 IIC KVDD connected to LCM1602 IIC AV0 connected to LCM1602 IIC D7RS connected to LCM1602 IIC D6RW connected to LCM1602 IIC D5E connected to LCM1602 IIC D4D0 connected to LCM1602 IIC D3D1 connected to LCM1602 IIC D2D2 connected to LCM1602 IIC D1D3 connected to LCM1602 IIC D0D4 connected to LCM1602 IIC ED5 connected to LCM1602 IIC RWD6 connected to LCM1602 IIC RSD7 connected to LCM1602 IIC V0A connected to LCM1602 IIC VDDK connected to LCM1602 IIC VSSLED_A connected to LED_B (Backlight control)#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
lcd.begin();
}
void loop() {
lcd.setCursor(0, 0);
lcd.print("TEST LCD i2C");
lcd.setCursor(0, 1);
lcd.print("KelasRobot.com");
}
LiquidCrystal_I2C library.lcd object with the I2C address 0x27 for a 16x2 LCD.setup() function, it begins communication with the LCD.loop() function sets the cursor to the beginning of the first line and prints "TEST LCD i2C".