Experiment - 9
Experiment - 9
Theory
A 16×2 LCD display is a special thin flat panel display technology that can show 16 characters
in each of its two rows, providing a total of 32 characters of information. It’s commonly used
to display alphanumeric information in various electronic devices. It can perform as an optical
transmission device from a light source at the rare of the structure to the front of face.
#include <LiquidCrystal.h> LIQUID CRYSTAL DISPLAY
LiquidCrystal lcd(2,3,4,5,6,7);
Reset
VDD
VSS
VEE
PB4/MISO
RW
11
lcd.begin(16, 2);}
RS
D0
D1
D2
D3
D4
D5
D6
D7
~ PB3/MOSI/OC2A
E
ARDUINO
10
~ PB2/OC1B
9
~ PB1/OC1A
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void loop() { 8
ATMEGA328P-PU
PB0/ICP1/CLKO
1121
7
PD7/AIN1
lcd.setCursor(0, 0); A0
A1
PC0/ADC0
~ PD7/AIN1
~ PD5/T1/OC0B
6
5
4
PC1/ADC1 PD4/T0/XCK
lcd.print("Department of"); A2
A3
A4
PC2/ADC2
PC3/ADC3
~ PD3/INT1/OC2B
PD2/INT0
3
2
1
PC4/ADC4/SDA PD1/TXD
lcd.setCursor(0, 1); A5
PC5/ADC5/SCL PD0/RXD
by TEP
0
Procedure
1. To download and installed Arduino IDE software which write C programming language.
2. To download and installed Proteus software which simulate the hardware components.
3. To add Arduino Library to Proteus software.
4. To draw circuit diagram on Proteus software.
5. To write the source code on Arduino IDE software.
6. To verify the source code and add hex file to upload hex file on Proteus software.
7. To run the connecting components.
8. To investigate the circuit how to stimulate the system.