16x2 lcd module pinout made in china
With the two rows in this module, there are sixteen columns. The VA dimension of these modules are (66 x 16) millimetres and thickness is 13.2 millimetre. Its operating voltage is plus five or plus three volts. In today"s post we will have a look at working, applications, circuit, features, advantage and disadvantages. So let"s get started with Introduction to 16x2 LCD Module.
In this module there are 2 main types of register first one is data register and the second one is command register. The RS pinout is used for the change the register.
16×2 LCD is named so because; it has 16 Columns and 2 Rows. There are a lot of combinations available like, 8×1, 8×2, 10×2, 16×1, etc. But the most used one is the 16*2 LCD, hence we are using it here.
All the above mentioned LCD display will have 16 Pins and the programming approach is also the same and hence the choice is left to you. Below is the Pinout and Pin Description of 16x2 LCD Module:
These black circles consist of an interface IC and its associated components to help us use this LCD with the MCU. Because our LCD is a 16*2 Dot matrix LCD and so it will have (16*2=32) 32 characters in total and each character will be made of 5*8 Pixel Dots. A Single character with all its Pixels enabled is shown in the below picture.
So Now, we know that each character has (5*8=40) 40 Pixels and for 32 Characters we will have (32*40) 1280 Pixels. Further, the LCD should also be instructed about the Position of the Pixels.
It will be a hectic task to handle everything with the help of MCU, hence an Interface IC like HD44780 is used, which is mounted on LCD Module itself. The function of this IC is to get the Commands and Data from the MCU and process them to display meaningful information onto our LCD Screen.
The LCD can work in two different modes, namely the 4-bit mode and the 8-bit mode. In 4 bit mode we send the data nibble by nibble, first upper nibble and then lower nibble. For those of you who don’t know what a nibble is: a nibble is a group of four bits, so the lower four bits (D0-D3) of a byte form the lower nibble while the upper four bits (D4-D7) of a byte form the higher nibble. This enables us to send 8 bit data.
As said, the LCD itself consists of an Interface IC. The MCU can either read or write to this interface IC. Most of the times we will be just writing to the IC, since reading will make it more complex and such scenarios are very rare. Information like position of cursor, status completion interrupts etc. can be read if required, but it is out of the scope of this tutorial.
The Interface IC present in most of the LCD is HD44780U,in order to program our LCD we should learn the complete datasheet of the IC. The datasheet is given here.
There are some preset commands instructions in LCD, which we need to send to LCD through some microcontroller. Some important command instructions are given below:
SPI I2C 16x2 Alphanumeric lcd displays module Number of characters: 16 characters x 2 lines Display types: COB STN/FSTN, blue/gray/yellow green and negative/positive Duty: 1/16 Bias: 1/5 Input voltages: 5.0/3.3V DC Controller: AIP31068 Connector: zebra LED backlight colors: white, blue and yellow green Operating temperature: 0 to 50/-20 to 70°C Storage temperatures: -10 to 60/-30 to 80°C Module dimensions: 122.0 x 44.0 x 13.2mm VA: 99.0 x 24.0mm AA: 94.84 x 20.0mm Character dimensions: 4.84 x 9.66mm Dot dimensions: 0.92 x 1.1mm Dot pitch: 0.06 x 0.06mm SPI I2C 16x2 Alphanumeric lcd displays module SPI I2C 16x2 Alphanumeric lcd displays module Product Certificates SPI I2C 16x2 Alphanumeric lcd displays module Our advantage and service 15 year"s design,manufacture and sales experience 300+ models available,custom orders welcome exporting to 100+ countries Free 1-year maintance Free sample for some styles Shenzhen Brilliant Crystal Technologic Co. ,ltd Bella Zou Skype:cjsz2002 QQ:2829642402 Celand whatsapp:+86-15889302786 Tel:+86-0755-29485608 & Related Product Related Product for 16x1 character lcd module About character lcd module ,we also have 16x1 character lcd module display ,16x2 character LCM,16x4 monochrome lcd display,20x2 lcd ,20x4 lcd display ,40x2 small size lcd module,40x4 lcd display module. Display Content Model No.
16x2 LCD modules are very commonly used in most embedded projects, the reason being its cheap price, availability, programmer friendly and available educational resources.
16×2 LCD is named so because; it has 16 Columns and 2 Rows. There are a lot of combinations available like, 8×1, 8×2, 10×2, 16×1, etc. but the most used one is the 16×2 LCD. So, it will have (16×2=32) 32 characters in total and each character will be made of 5×8 Pixel Dots. A Single character with all its Pixels is shown in the below picture.
Now, we know that each character has (5×8=40) 40 Pixels and for 32 Characters we will have (32×40) 1280 Pixels. Further, the LCD should also be instructed about the Position of the Pixels. Hence it will be a hectic task to handle everything with the help of MCU, hence an Interface IC like HD44780is used, which is mounted on the backside of the LCD Module itself. The function of this IC is to get the Commands and Data from the MCU and process them to display meaningful information onto our LCD Screen. You can learn how to interface an LCD using the above mentioned links. If you are an advanced programmer and would like to create your own library for interfacing your Microcontroller with this LCD module then you have to understand the HD44780 IC working and commands which can be found its datasheet.
WO1602I3 and WO1602I5 are two models of 16 characters by 2 lines of COG LCD P/N WO1602I with PCB board on module. WO1602I3 and WO1602I5 are built in with ST7032i IC; it supports I2C interface. The advantage of WO1602I3/WO1602I5 is having circuit layout on PCB board and with screw holes which make modules can be fixed on customers’ applications easily. Also, there are three kinds of connector pitch sizes of 2.54mm (default), 1.0mm and 0.5mm for options.
The supply voltage for logic (VDD) of WO1602I3 is 3.3V; as to the WO1602I5 is 5V, 1/16 duty circle, 1/5 bias. The module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃. WO1602I3 and WO1602I5 are available in FSTN positive Transflective LCD and with White LED backlight; please contact us if you need different types of LCDs or LED combinations.
WO12864K and WO12864K1 models are monochrome COG graphic LCD modules made of 128x64 dot matrix format. WO12864K/WO12864K1 COG Module is built in with ST7565 IC, it supports 8-bit 6800, 8-bit 8080 parallel and 4-wire serial SPI interface, power supply voltage 3V, VOP 9.5V, 1/65 duty. The WO12864K item is adopted ST7565V IC which is built-in with negative voltage, as to the WO12864K1 item is adopted ST7565P IC which is built- in with positive voltage.
This module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃. WO12864K/K1 are available in STN Negative, Blue Transmissive LCD and with White LED backlight. Please contact us if you need different types of LCDs or LED combinations.
WO128128A2 model is a round COG LCD display WO128128A model with a PCB board on module. This Round STN COG module is built in with ST75161 IC; it supports 8080 parallel (default), 6800 parallel, 3-wire and 4-wire serial SPI, I2C interface, power supply voltage 3V, 1/136 driving duty, 1/12 BIAS. The advantage of WO128128A2 is having circuit layout on PCB board and with screw holes which make modules can be fixed on customers’ applications easily. Also, there are three kinds of connector pitch sizes of 2.54mm (default), 1.0mm and 0.5mm for options. WO128128A2 also have VDD 5V power supply voltage for optional.
The supply voltage for logic of WO128128A2 is 2.7V to 3.3V, typical value 3V. This module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃. WO128128A2 is available in FSTN positive LCD type with white LED backlight. Please contact us if you need different types of LCDs or LED combinations.
WO240128B2 model is a COG LCD display WO240128B model with a PCB board on module, which is made of 240x128 dots. WO240128B2 is built in with ST7586S controller IC; it supports 6800 8-bit (default), 8080 8-bit parallel and serial SPI interface, power supply voltage 3.3V, 1/128 duty, 1/12 Bias. The advantage of WO240128B2 is having circuit layout on PCB board and with screw holes which make modules can be fixed on customers’ applications easily. Also, there are three kinds of connector pitch sizes of 2.54mm (default), 1.0mm and 0.5mm for options. WO240128B2 also have VDD 5V power supply voltage for optional.
This WO240128B2 module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃. The WO240128B2 is available for FSTN positive Transflective with white LED backlight. Please contact us if you need different types of LCDs or LED combinations.
WO256128A2 model is a COG LCD display WO256128A model featured with a PCB board on module which is made of 256x128 dots, diagonal size 2.9 inch. WO256128A2 is built in with ST75256 controller IC, it supports 8080 8-bit parallel (default), 6800 8-bit and 4-wire serial SPI and I2C interface, power supply voltage 3.3V, 1/128 duty, 1/12 Bias. The advantage of WO256128A2 is having circuit layout on PCB board and with screw holes which make modules can be fixed on customers’ applications easily. Also, there are three kinds of connector pitch sizes of 2.54mm (default), 1.0mm and 0.5mm for options. WO256128A2 also have VDD 5V power supply voltage for optional.
WO256128A2 module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃. The WO256128A2 is available for FSTN positive Transflective with white LED backlight. Please contact us if you need different types of LCDs or LED combinations.
Winstar 16x2 Character LCD Display WH1602W is having two pinout interfaces on upper and bottom sides of the LCD module. This 16x2 lcd display has the outline size of 80.0 x 36.0 mm and VA size of 66.0 x 16.0 mm and the maximum thickness is 13.2 mm. WH1602W 16x2 LCD Displays are built-in controller ST7066 or equivalent. It is optional for + 5.0 V or + 3.0 V power supply. The LEDs can be driven by pin 1, pin 2, or pin 15 pin 16 or A/K. This type of module can be operating at temperatures from -20℃ to +70℃; its storage temperatures range from -30℃ to +80℃.
As we all know, though LCD and some other displays greatly enrich the man-machine interaction, they share a common weakness. When they are connected to a controller, multiple IOs will be occupied of the controller which has no so many outer ports.
Also it restricts other functions of the controller. Therefore, LCD1602 with an I2C port is developed to solve the problem. It is also simple to handle. It has only two bidirectional data lines, a serial data line and a serial clock one.
Once you’ve played with LEDs, switches and stepper motors the next natural step is 16×2 alphanumeric LCD modules. These modules are cheap (less than $10) and easy to interface to the Raspberry Pi. They have 16 connections but you only need to use 6 GPIO pins on your Pi.
Most of the 16×2 modules available are compatible with the Hitachi HD44780 LCD controller. This allows you to buy almost any device and be sure it is going to work in much the same way as any other. There are loads to choose from on eBay with different coloured backlights. The one I purchased had a blue backlight.
This script can be downloaded using this link or directly to your Pi using the following command :wget https://bitbucket.org/MattHawkinsUK/rpispy-misc/raw/master/python/lcd_16x2.py
Additional Notes : RS is low when sending a command to the LCD and high when sending a character. RW is always low to ensure we only ever input data into the module. 8 bit bytes are sent 4 bits at a time. Top 4 bits first and the last 4 bits second. Delays are added between certain steps to ensure the module can react to the signal before it changes.
We come across Liquid Crystal Display (LCD) displays everywhere around us. Computers, calculators, television sets, mobile phones, digital watches use some kind of display to display the time.
An LCD screen is an electronic display module that uses liquid crystal to produce a visible image. The 16×2 LCD display is a very basic module commonly used in DIYs and circuits. The 16×2 translates o a display 16 characters per line in 2 such lines. In this LCD each character is displayed in a 5×7 pixel matrix.
Contrast adjustment; the best way is to use a variable resistor such as a potentiometer. The output of the potentiometer is connected to this pin. Rotate the potentiometer knob forward and backwards to adjust the LCD contrast.
A 16X2 LCD has two registers, namely, command and data. The register select is used to switch from one register to other. RS=0 for command register, whereas RS=1 for data register.
Command Register: The command register stores the command instructions given to the LCD. A command is an instruction given to LCD to do a predefined task. Examples like:
Data Register: The data register stores the data to be displayed on the LCD. The data is the ASCII value of the character to be displayed on the LCD. When we send data to LCD it goes to the data register and is processed there. When RS=1, data register is selected.
Generating custom characters on LCD is not very hard. It requires the knowledge about custom generated random access memory (CG-RAM) of LCD and the LCD chip controller. Most LCDs contain Hitachi HD4478 controller.
CG-RAM address starts from 0x40 (Hexadecimal) or 64 in decimal. We can generate custom characters at these addresses. Once we generate our characters at these addresses, we can print them by just sending commands to the LCD. Character addresses and printing commands are below.
LCD modules form a very important in many Arduino based embedded system designs to improve the user interface of the system. Interfacing with Arduino gives the programmer more freedom to customise the code easily. Any cost effective Arduino board, a 16X2 character LCD display, jumper wires and a breadboard are sufficient enough to build the circuit. The interfacing of Arduino to LCD display below.
The combination of an LCD and Arduino yields several projects, the most simple one being LCD to display the LED brightness. All we need for this circuit is an LCD, Arduino, breadboard, a resistor, potentiometer, LED and some jumper cables. The circuit connections are below.