The document provides details about the JHD 162a LCD module including its 16 pins, their names and functions. It also shows how to interface the LCD module with an mbed 1768 microcontroller by mapping the LCD pins to the appropriate mbed pins including power, ground, register select, read/write, enable and data pins. An example C++ code is given to initialize and print text on the LCD.
The document provides details about the JHD 162a LCD module including its 16 pins, their names and functions. It also shows how to interface the LCD module with an mbed 1768 microcontroller by mapping the LCD pins to the appropriate mbed pins including power, ground, register select, read/write, enable and data pins. An example C++ code is given to initialize and print text on the LCD.
The document provides details about the JHD 162a LCD module including its 16 pins, their names and functions. It also shows how to interface the LCD module with an mbed 1768 microcontroller by mapping the LCD pins to the appropriate mbed pins including power, ground, register select, read/write, enable and data pins. An example C++ code is given to initialize and print text on the LCD.
Pin No: Name Function 1 VSS This pin must be connected to the ground 2 VCC Positive supply voltage pin (5V DC) 3 VEE Contrast adjustment 4 RS Register selection 5 R/W Read or write 6 E Enable 7 DB0 Data 8 DB1 Data 9 DB2 Data 10 DB3 Data 11 DB4 Data 12 DB5 Data 13 DB6 Data 14 DB7 Data 15 LED+ Back light LED+ 16 LED- Back light LED- LCD Interfacing with mbed 1768 pin connections
LCD Pin LCD Pin name mbed Pin no.
No. 1 Gnd 0v (P1) 2 Vcc 3.3V (p39) 3 Vo 0v (P1) 4 RS P15 5 RW 0V (P1) 6 E P16 7 D0 Not Connected 8 D1 Not Connected 9 D2 Not Connected 10 D3 Not Connected 11 D4 P17 12 D5 P18 13 D6 P19 14 D7 P20 15 Vcc 3.3 V (p39) 16 Gnd 0V (P1) INTERFACING LCD