ARDUINO interface with LCD and not in parallel as usual, that is using I2C communication with additional I2C module. A simpler connection and a clear savings pin. Only use 2 pin only (SDA, SCL) then more efficient than using LCD circuit in general which need 6 pin
Hardware Requirement
- 16 x 2 LCD Module
- I2C LCD Module
- Power supply +5 Volt
- Jumper
I2C Module | Source
Schematic
Arduino - I2C LCD Module
Source Code/Sketch
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
lcd.begin();
lcd.backlight();
lcd.print("TES I2C LCD");
}
void loop()
{
}
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
lcd.begin();
lcd.backlight();
lcd.print("TES I2C LCD");
}
void loop()
{
}
No comments:
Post a Comment