Overview
This project tells about how to print data on LCD.
In this project, data is printed on an LCD potentiometer is used to set LCD configurations.
Hardware required
- Arduino Uno R3
- LCD
- Resistor
- Jumper Wires
- Potentiometer
Schematic Diagram
Fig 1. Circuit Diagram
Arduino Code :
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("SARGA ADDITIVE");
}
void loop() {
lcd.setCursor(0, 1);
lcd.print("MANUFACTURING");
}
Precautions
- Connections should be done properly.
- Arduino is case Sensitive so code accordingly.
- Give different and appropriate colors to the wires.
- Use resistors for sensors and LED’s.