480-503-4295

Level Shifting Voltages for LCDs

1. Introduction

The most common digital input voltages for displays and other electronics are five volts or three volts. Newer display technologies and the supporting electronics are shifting the required input voltage from five volts to the three volt input. This has to do with the internal semiconductors used to drive the displays which now require smaller digital input voltages. Having a lower input voltage is ideal for low power consumption and high speed signaling.

fan9204-level-shifting-voltages-for-lcds-image1.jpg

Converting the digital input voltage from a five volt source can be done through voltage level shifting. This will protect the display from exceeding the defined voltage tolerances and prevent damage to the internal display driver. The level shifting is done to every digital voltage signal supplied to the display. This application note will cover the details on level shifting input voltages for displays.

fan9204-level-shifting-voltages-for-lcds-image2.png

The display used in this application is a graphic LCD G126FLGFGSW64T33XAR with an input voltage of three volts. Graphic LCDs will commonly have an input voltage of five or three volts. The input voltage is specified in the datasheet of the display.

fan9204-level-shifting-voltages-for-lcds-image3.png

The voltage will be specified as a range of levels. The details of the input voltages are described in the datasheet of the display driver. The display driver used in this example is a graphic LCD dot matrix controller ST7565.

The voltages that will require level shifting will be the digital logic voltages that apply to the three wire serial communication interface. The voltage for the heater, backlight and internal voltage boosting circuit will not require level shifting.

For many graphic LCDs, there will be pins for capacitors and output voltages. These pins should not be level shifted because they require voltages that exceed three volts to be generated for the liquid crystal in the display. This note will review the voltage level shifting of five volts to three volts for the digital logic circuits of a graphic LCD.

Defining LCD Voltages

LCDs will have two voltages specified in the datasheet. One voltage, labeled as VDD, is for the digital logic used in signaling the display controller. The other voltage is used to create the various voltage levels seen as the contrast on the liquid crystal display. This voltage is typically defined as VLCD or Vout. The VLCD voltage will be used for the voltage follower, voltage booster and voltage regulating circuits.

fan9204-level-shifting-voltages-for-lcds-image4.png

The VLCD voltage is generally provided by the internal circuits of the display driver. The value is specified as the highest voltage level that the display will use to create the contrast of the liquid crystal. The pin specifications for the display G126FLGFGSW64T33XAR are reviewed in the table below with the standard graphic LCD voltages defined.

No.SymbolDefinitionValueI/O
1SCLSerial interface clock signalDigital input pinI
2SISerial interface input signalDigital input pinI
3VDDDigital logic input voltage3V supplyP
4A0Data or command selection pinDigital input pinI
5RESETReset signal of the display driverDigital or analog highI
6CSChip select signalDigital input pinI
7VSSDigital logic groundGroundP
8H-LCD heater groundHeater groundI
9H+LCD heater voltage supplyHeater supplyI
10LED-Backlight circuit groundGNDI
11LED+Backlight circuit voltage supply3.3VI
12NCNot connectedNC

I: Input, O: Output, P: Power

Table 1: G126FLGFGSW64T33XAR Pin Assignment

The voltage pins are defined in detail below. The digital voltage input is at three volts and is referred to as VDD. Pins 8 and 9 are the power supply for the heater of the display. The heater is used to support display applications operating in very cold temperatures. The different symbols used for these voltages are described in the final column.

fan9204-level-shifting-voltages-for-lcds-image5.png

The connection between the LCD heater and the display panel are represented by the reference circuit. The heater panel is external from the voltage level shifting done in this application. The voltage supplied to the heater is 12V and will not be level shifted. The higher voltage should be supplied by an external source independent of the digital voltage and the backlight power.

fan9204-level-shifting-voltages-for-lcds-image6.png

The backlight of the LCD should be used to illuminate the display and operates at 3.3V. The backlight should be powered externally from the level shifted voltage and externally from the heater circuit. The backlight LED circuit requires 50mA minimum to illuminate the LED circuit. This current is not provided at the output of the voltage level shifting circuit. Certain hardware integrations can power the backlight from the level shifted voltage but that will not be covered in this example.

Power and Voltage Definitions

SymbolDescriptionAlt. Symbols
VSSPower ground for all digital circuitsGND
VDDDigital logic voltage for signaling the display controllerVCC
VLCDVoltage for pixel contrast. The output voltage will be generated internally. VLCD = 8.7VVO
H-Heater ground for the attached liquid crystal and circuit heater
H+Heater voltage for the attached liquid crystal and circuit heater
LEDAExternal backlight power input voltageA
LEDKExternal backlight power groundK

Table 2: Graphic LCD Voltages

The voltages enabled in the internal voltage generating circuit are generated by the internal voltage boosting circuits. These voltages are created as levels for the liquid crystal to step from and are defined by the level VLCD.

The number of levels is defined by the voltage bias for each display. The voltage duty is the ratio of time that the liquid crystal is in the ON state for the multiplexed design. Below are the values of the duty and voltage bias for the graphic display used in this example.

SymbolNameDescriptionValue
DDuty CycleDuty cycle of the LCD. Defines the amount of time the liquid crystal is in the ON state. It can also be called the multiplex ratio.1/64
1/NVoltage BiasVoltage bias is the number of levels the display can step between when driving the LCD. The number of levels define1/9

Table 3: Voltage Bias and Duty Cycle

The voltage duty and bias are defined in the datasheet of the display. The voltage bias and duty are based on the number of pixels or dots that will be displayed. These values are selectable through the programmable interface of the controller. The bias voltage levels are generated from the input voltage at VDD.

These voltages are separated into the digital logic circuits and the power supply circuits for the voltage generating circuits. The digital logic voltage applies to the VDD power supply and the data and signal pins. If the internal power generating circuits are used, the VDD voltage will boosted and output at VO.

fan9204-level-shifting-voltages-for-lcds-image7.png

The voltage level shifting will only apply to the digital logic supply circuits. This includes the data lines and the VDD voltage input. In many cases, graphic LCDs will require external capacitors to be supplied to the display pins. These capacitors are used for the voltage booster circuit to create the voltage levels. These capacitor input pins should not be connected through the voltage level translator.

The voltage levels defined by V0, V1, V2, V3 and V4 may be available on many graphic LCD pin outs. These are each of the stages of the voltage boosting circuit and will be used as the levels for the voltage to step between. These voltages should not be connected to the level translator and will exceed 3.3 volts.

Hardware Definitions and Connections

The circuit used to shift the voltage levels from five to three will be reviewed in the section below. The required parts are described in the following table. The parts used can be replaced by the functional equivalent to fit the display application.

No.NamePartDescriptionQty.
1Voltage Level ShifterSN74LVC4245APWR8-channel bidirectional voltage level translator1
2Voltage RegulatorLD2980ABM30TRLinear voltage regulator 5V to 3V1
3ResistorR0603500 ohm resistor3
4CapacitorC06035uF capacitor1
5Capacitor1uF capacitor1

Table 4: Component Selection

The voltage level shifter will require an input voltage of 3V to provide the level shift maximum for the digital logic signals. The voltage regulator is a five to three volt regulator that operates with very low current. The voltage regulator will be connected to the 5V power supply and output the 3.3V or 3V depending on the hardware configuration of the resistors and capacitors.

The voltage regulator has an on and off pin that will need to be connected to the five volt supply to enable the device. The enable pin can be used to turn on or off the voltage regulator which would also turn off the voltage level translator.

fan9204-level-shifting-voltages-for-lcds-image8.png

Below are the connections required for the voltage regulator.

No.SymbolDescriptionConnection
1VINVoltage input pin5V
2GNDGroundCircuit ground
3INHIBITON/OFF switch for the regulator5V
4NCNot connected
5VOUTVoltage output pinOutput 3V to Level Shifting Circuit

Table 5: Voltage Regulator Connections

The voltage level shifting circuit will take the input signals that are operated at five volts and maintain and level them at three volts. This is important when connecting a three volt display with hardware that output five volts. This will protect the display from damage due to overpowering the device and display driver.

fan9204-level-shifting-voltages-for-lcds-image10.png

The voltage level translator can be used in both directions to shift from 5V to 3V or vice vera. This is ideal for graphic display applications because many graphic LCDs are available at both voltage supply inputs.

fan9204-level-shifting-voltages-for-lcds-image9.png

Below are the connections to the voltage level shifting circuit.

No.SymbolDescriptionConnection
1VCCAPower supply input or outputInput 5V
2DIRDirection control A-B, B-A5V
3A1Transceiver I/O pinDigital logic input
4A2Transceiver I/O pinDigital logic input
5A3Transceiver I/O pinDigital logic input
6A4Transceiver I/O pinDigital logic input
7A5Transceiver I/O pinDigital logic input
8A6Transceiver I/O pinDigital logic input
9A7Transceiver I/O pinDigital logic input
10A8Transceiver I/O pinDigital logic input
11-13GNDGroundGround
14B8Transceiver I/O pinNC
15B7Transceiver I/O pinNC
16B6Transceiver I/O pinDigital logic output to display
17B5Transceiver I/O pinDigital logic output to display
18B4Transceiver I/O pinDigital logic output to display
19B3Transceiver I/O pinDigital logic output to display
20B3Transceiver I/O pinDigital logic output to display
21B1Transceiver I/O pinDigital logic output to display
22OE’Output enable pinGround
23VCCBPower output or input3 V from regulator
24VCCBPower output or input3 V from regulator

Table 6: Voltage Level Translator Pin Connections

The connections between the display and the voltage level shifter are connected to prevent the digital logic voltage from exceeding 3V. The table below defines the pin connections between the display and the voltage level shifter. The pins that are required signal translation are the connections for the three wire serial communication interface.

No.DisplayVoltage ShifterExternalDescription
1SCLB1Level shifted digital input
2SIB2Level shifted digital input
3VDDVCCBOutput voltage 3.0V
4A0B3Level shifted digital input
5RESETB4Level shifted digital input
6CSB5Level shifted digital input
7VSSGNDGNDSystem ground
8H-Heater groundLCD heater ground
9H+Heater voltageLCD heater voltage
10LED-Backlight GNDBacklight circuit ground
11LED+3.0VBacklight circuit voltage
12NC 

Table 7: Graphic LCD Pin Connections

The voltage level translator will allow the signals to be provided to the graphic LCD from a five volt source while preventing the display driver from surpassing its maximum voltages. The signals will be kept in the range of 3.0V and vary ±0.05 volts between on and off states. The SCL signal will operate around 2MHz and will keep this frequency through the voltage level translator.

Connection Schematic

Below is the schematic for the voltage translator and the connection interfaced to the display and voltage regulator. The circuit shows how to translate a five volt input from the MCU to a 3.0V input for the graphic LCD.

fan9204-level-shifting-voltages-for-lcds-image11.png

DISCLAIMER

Buyers and others who are developing systems that incorporate Focus LCDs products (collectively, “Designers”) understand and agree that Designers remain responsible for using their independent analysis, evaluation and judgment in designing their applications and that Designers have full and exclusive responsibility to assure the safety of Designers’ applications and compliance of their applications (and of all Focus LCDs products used in or for Designers’ applications) with all applicable regulations, laws and other applicable requirements.

Designer represents that, with respect to their applications, Designer has all the necessary expertise to create and implement safeguards that:

(1)     anticipate dangerous consequences of failures

(2)     monitor failures and their consequences, and

(3)     lessen the likelihood of failures that might cause harm and take appropriate actions.

Designer agrees that prior to using or distributing any applications that include Focus LCDs products, Designer will thoroughly test such applications and the functionality of such Focus LCDs products as used in such applications.