Guide de brochage et de câblage de l'écran LCD graphique
Graphic LCD Pinout and Wiring Guide
Graphic LCD modules are widely used in industrial equipment, systèmes embarqués, dispositifs médicaux, instruments, panneaux de contrôle, et électronique grand public. Contrairement aux écrans LCD à caractères, graphic LCDs allow developers to display custom icons, graphique, symboles, waveforms, menus, and text in different layouts.
Cependant, before a graphic LCD can work correctly, its pins must be connected properly to the controller or microcontroller. Incorrect wiring may cause a blank screen, unstable images, poor contrast, communication errors, or even damage to the LCD module.
This graphic LCD pinout and wiring guide explains the common pins found on graphic LCD modules, their functions, and the basic considerations when connecting an LCD to a microcontroller.
What Is a Graphic LCD Pinout?
Graphic LCD pinout is the arrangement and function of the electrical pins located on the LCD module.
Depending on the LCD controller, interface, résolution, and module design, a graphic LCD may use 10, 14, 16, 20, or more pins. These pins normally provide connections for:
- Alimentation
- Ground
- LCD contrast
- Data communication
- Control signals
- Reset
- Chip selection
- Backlight power
Before connecting a module, always check the specific LCD datasheet because pin assignments can vary between manufacturers and LCD controllers.
Common Graphic LCD Pins
Although different graphic LCD modules may have different pin configurations, the following pins are commonly found on modules such as 128×64, 122×32, 192×64, and other monochrome graphic displays.
VSS – Ground
VSS is normally the ground connection of the LCD module.
It should be connected to the GND terminal of the microcontroller or power supply. A stable common ground is essential for reliable communication between the LCD and the control system.
VDD – Power Supply
VDD supplies operating voltage to the LCD controller.
Many traditional graphic LCD modules operate at 5V, while some modern modules use 3.3V. Connecting an incorrect voltage may result in unstable operation or permanent damage.
Always confirm the operating voltage from the LCD specification before wiring.
V0 / VEE – LCD Contrast
The V0 or VEE pin controls the LCD contrast voltage.
In many designs, a potentiometer is connected between the LCD power terminals, with the center terminal connected to V0. Adjusting the potentiometer changes the contrast between the LCD pixels and background.
Some graphic LCD modules may require a negative voltage for contrast adjustment. Certain modules include a built-in negative voltage generator, while others require an external circuit.
RS / D-I – Register Select
RS may also be labeled D/I, A0, or CD depending on the LCD controller.
This pin tells the LCD whether the incoming data represents a command or display data.
Par exemple:
- Command mode is used for LCD configuration.
- Data mode is used for sending pixel or character information.
The exact HIGH and LOW logic conditions should be confirmed in the controller datasheet.
R/W – Read/Write
The R/W pin determines whether the microcontroller is reading data from or writing data to the graphic LCD.
In many simple applications, the microcontroller only writes information to the LCD. In this case, the R/W pin may be permanently connected to ground if supported by the LCD controller.
For applications that need to read LCD status information, R/W should be connected to a microcontroller GPIO pin.
E – Enable
The Enable pin controls when the LCD accepts command or data signals.
When the microcontroller sends data to the LCD, the Enable signal is normally toggled according to the timing requirements of the LCD controller.
Incorrect Enable timing is one of the common reasons why an LCD powers on but displays no information.
Graphic LCD Data Pins
Parallel graphic LCD modules commonly use several data pins labeled:
DB0, DB1, DB2, DB3, DB4, DB5, DB6, and DB7.
Together, these pins create an 8-bit parallel data bus between the LCD and the microcontroller.
An 8-bit interface provides fast communication but requires more GPIO pins.
Some LCD controllers also support a 4-bit communication mode. This reduces the number of microcontroller pins required but may slightly reduce communication speed.
Modern graphic LCD modules may instead use SPI or I²C interfaces, which require significantly fewer connections.
CS1 and CS2 – Chip Select Pins
Larger graphic LCDs may use more than one LCD controller internally.
Par exemple, a 128×64 graphic LCD based on certain controller architectures may divide the display into two sections. CS1 controls one part of the screen, while CS2 controls the other.
The microcontroller selects the required section before sending display data.
Some modules may use different names such as:
CS, CS1, CS2, CE, or SS.
The chip select logic can also be active HIGH or active LOW depending on the controller.
RST – Reset Pin
The Reset pin initializes the LCD controller.
When the system starts, the microcontroller may briefly activate the reset signal before sending initialization commands.
Proper reset sequence helps prevent random pixels, incorrect display states, and startup communication problems.
The required reset timing should be checked in the LCD controller datasheet.
LED+ and LED− – Backlight Pins
Graphic LCD modules with LED backlights normally include separate backlight terminals.
They may be labeled:
- LED+
- LED−
- A and K
- BLA and BLK
LED+ is normally the backlight anode, while LED− is the cathode.
The LED backlight may require a current-limiting resistor or dedicated LED driver. Some LCD modules already contain the required resistor, while others do not.
Do not connect the backlight directly to a power source without confirming its electrical specifications.
Basic Graphic LCD Wiring
Typical parallel graphic LCD connection may look like this:
LCD VSS → MCU GND
LCD VDD → 3.3V or 5V power supply
LCD V0 → Contrast adjustment circuit
LCD RS/D-I → MCU GPIO
LCD R/W → MCU GPIO or GND
LCD E → MCU GPIO
LCD DB0–DB7 → MCU data GPIO pins
LCD CS1/CS2 → MCU GPIO
LCD RST → MCU GPIO
LCD LED+ / LED− → Backlight power circuit
After the hardware connections are completed, the microcontroller firmware must initialize the LCD controller correctly.
Graphic LCD Wiring Precautions
Several factors should be checked before powering the LCD module.
First, confirm the LCD operating voltage. A 3.3V LCD should not automatically be connected to a 5V microcontroller without checking its logic voltage tolerance.
Second, verify every pin against the manufacturer datasheet. Graphic LCD connectors may look similar even when their pin assignments are completely different.
Third, check the contrast circuit. If the backlight turns on but nothing appears on the screen, contrast voltage is one of the first things to inspect.
Fourth, keep communication wires reasonably short. Long wires may introduce electrical noise, especially when using high-speed parallel or SPI communication.
Enfin, check the LCD controller model. Controllers such as ST7920, KS0108, ST7565, UC1701, and other devices use different initialization commands and communication protocols.
Troubleshooting a Graphic LCD
If the graphic LCD does not work after wiring, start with the power connections.
Measure VDD and confirm that the voltage is within the LCD specification. Check that the LCD and microcontroller share the same ground.
If the backlight works but the display remains blank, adjust the contrast voltage.
Suivant, inspect the control pins, especially Reset, Enable, Register Select, and Chip Select.
If the hardware connections are correct, verify the software initialization sequence and communication timing.
For SPI or parallel interfaces, an oscilloscope or logic analyzer can also help determine whether commands and data are actually being transmitted.
Custom Graphic LCD Pinout Design
For custom equipment, the graphic LCD pinout can often be designed according to the customer's PCB layout and system requirements.
Emplacement du connecteur, pin sequence, type d'interface, tension, rétroéclairage, cable length, FPC structure, and controller IC can all influence the final LCD design.
Customized pin configuration can simplify PCB routing, reduce cable complexity, and make assembly more convenient.
Conclusion
Understanding the graphic LCD pinout is an important step in integrating an LCD module into an electronic system. Power, ground, contraste, données, contrôle, reset, chip select, and backlight connections must all be correctly configured before the display can operate reliably.
Because graphic LCD modules can use different controllers and connector arrangements, there is no universal pinout for every display. Always refer to the specific module datasheet before connecting the LCD.
For custom graphic LCD projects, the interface and pin configuration can also be optimized according to the PCB, microcontrôleur, operating voltage, display size, résolution, rétroéclairage, and application requirements.






