16x2 LCD তে Hello (I2C)LCD I2C Arduino (16x2)
I2C module থাকায় 16x2 LCD তে মাত্র ৪টা তার লাগে। কিছু না দেখালে সাধারণত address (0x27 বা 0x3F) ভুল।
An I2C backpack lets a 16x2 LCD use only 4 wires. LiquidCrystal_I2C prints text; if nothing shows, the address (0x27 or 0x3F) is the usual cause.
যা যা লাগবে · Parts you need
- 1 × Arduino Uno Arduino Uno
- 1 × LCD 16x2 with I2C LCD ১৬x২ (I2C)
- 4 × Jumper wires জাম্পার তার
তার লাগানো · Wiring
| LCD 16x2 with I2C VCC | → | Arduino Uno 5V |
| LCD 16x2 with I2C GND | → | Arduino Uno GND |
| LCD 16x2 with I2C SDA | → | Arduino Uno A4 |
| LCD 16x2 with I2C SCL | → | Arduino Uno A5 |
Code (Arduino C++)
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
lcd.init();
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Hello Tekko Sim");
}
void loop() {
lcd.setCursor(0, 1);
lcd.print("Time: ");
lcd.print(millis() / 1000);
lcd.print(" s ");
delay(500);
}
ভিডিও · Videos
Arduino Bangla Tutorial Part - 30: How to use I2C LCD Module with Arduino to Drive LCD Di…
How to Use I2C LCD with Arduino | Very Easy Arduino LCD I2C Tutorial | Arduino 16x2 LCD I…