analogue dials with central tft display free sample
Glass substrate with ITO electrodes. The shapes of these electrodes will determine the shapes that will appear when the LCD is switched ON. Vertical ridges etched on the surface are smooth.
A liquid-crystal display (LCD) is a flat-panel display or other electronically modulated optical device that uses the light-modulating properties of liquid crystals combined with polarizers. Liquid crystals do not emit light directly,backlight or reflector to produce images in color or monochrome.seven-segment displays, as in a digital clock, are all good examples of devices with these displays. They use the same basic technology, except that arbitrary images are made from a matrix of small pixels, while other displays have larger elements. LCDs can either be normally on (positive) or off (negative), depending on the polarizer arrangement. For example, a character positive LCD with a backlight will have black lettering on a background that is the color of the backlight, and a character negative LCD will have a black background with the letters being of the same color as the backlight. Optical filters are added to white on blue LCDs to give them their characteristic appearance.
LCDs are used in a wide range of applications, including LCD televisions, computer monitors, instrument panels, aircraft cockpit displays, and indoor and outdoor signage. Small LCD screens are common in LCD projectors and portable consumer devices such as digital cameras, watches, digital clocks, calculators, and mobile telephones, including smartphones. LCD screens are also used on consumer electronics products such as DVD players, video game devices and clocks. LCD screens have replaced heavy, bulky cathode-ray tube (CRT) displays in nearly all applications. LCD screens are available in a wider range of screen sizes than CRT and plasma displays, with LCD screens available in sizes ranging from tiny digital watches to very large television receivers. LCDs are slowly being replaced by OLEDs, which can be easily made into different shapes, and have a lower response time, wider color gamut, virtually infinite color contrast and viewing angles, lower weight for a given display size and a slimmer profile (because OLEDs use a single glass or plastic panel whereas LCDs use two glass panels; the thickness of the panels increases with size but the increase is more noticeable on LCDs) and potentially lower power consumption (as the display is only "on" where needed and there is no backlight). OLEDs, however, are more expensive for a given display size due to the very expensive electroluminescent materials or phosphors that they use. Also due to the use of phosphors, OLEDs suffer from screen burn-in and there is currently no way to recycle OLED displays, whereas LCD panels can be recycled, although the technology required to recycle LCDs is not yet widespread. Attempts to maintain the competitiveness of LCDs are quantum dot displays, marketed as SUHD, QLED or Triluminos, which are displays with blue LED backlighting and a Quantum-dot enhancement film (QDEF) that converts part of the blue light into red and green, offering similar performance to an OLED display at a lower price, but the quantum dot layer that gives these displays their characteristics can not yet be recycled.
Since LCD screens do not use phosphors, they rarely suffer image burn-in when a static image is displayed on a screen for a long time, e.g., the table frame for an airline flight schedule on an indoor sign. LCDs are, however, susceptible to image persistence.battery-powered electronic equipment more efficiently than a CRT can be. By 2008, annual sales of televisions with LCD screens exceeded sales of CRT units worldwide, and the CRT became obsolete for most purposes.
Each pixel of an LCD typically consists of a layer of molecules aligned between two transparent electrodes, often made of Indium-Tin oxide (ITO) and two polarizing filters (parallel and perpendicular polarizers), the axes of transmission of which are (in most of the cases) perpendicular to each other. Without the liquid crystal between the polarizing filters, light passing through the first filter would be blocked by the second (crossed) polarizer. Before an electric field is applied, the orientation of the liquid-crystal molecules is determined by the alignment at the surfaces of electrodes. In a twisted nematic (TN) device, the surface alignment directions at the two electrodes are perpendicular to each other, and so the molecules arrange themselves in a helical structure, or twist. This induces the rotation of the polarization of the incident light, and the device appears gray. If the applied voltage is large enough, the liquid crystal molecules in the center of the layer are almost completely untwisted and the polarization of the incident light is not rotated as it passes through the liquid crystal layer. This light will then be mainly polarized perpendicular to the second filter, and thus be blocked and the pixel will appear black. By controlling the voltage applied across the liquid crystal layer in each pixel, light can be allowed to pass through in varying amounts thus constituting different levels of gray.
Most color LCD systems use the same technique, with color filters used to generate red, green, and blue subpixels. The LCD color filters are made with a photolithography process on large glass sheets that are later glued with other glass sheets containing a TFT array, spacers and liquid crystal, creating several color LCDs that are then cut from one another and laminated with polarizer sheets. Red, green, blue and black photoresists (resists) are used. All resists contain a finely ground powdered pigment, with particles being just 40 nanometers across. The black resist is the first to be applied; this will create a black grid (known in the industry as a black matrix) that will separate red, green and blue subpixels from one another, increasing contrast ratios and preventing light from leaking from one subpixel onto other surrounding subpixels.Super-twisted nematic LCD, where the variable twist between tighter-spaced plates causes a varying double refraction birefringence, thus changing the hue.
LCD in a Texas Instruments calculator with top polarizer removed from device and placed on top, such that the top and bottom polarizers are perpendicular. As a result, the colors are inverted.
The optical effect of a TN device in the voltage-on state is far less dependent on variations in the device thickness than that in the voltage-off state. Because of this, TN displays with low information content and no backlighting are usually operated between crossed polarizers such that they appear bright with no voltage (the eye is much more sensitive to variations in the dark state than the bright state). As most of 2010-era LCDs are used in television sets, monitors and smartphones, they have high-resolution matrix arrays of pixels to display arbitrary images using backlighting with a dark background. When no image is displayed, different arrangements are used. For this purpose, TN LCDs are operated between parallel polarizers, whereas IPS LCDs feature crossed polarizers. In many applications IPS LCDs have replaced TN LCDs, particularly in smartphones. Both the liquid crystal material and the alignment layer material contain ionic compounds. If an electric field of one particular polarity is applied for a long period of time, this ionic material is attracted to the surfaces and degrades the device performance. This is avoided either by applying an alternating current or by reversing the polarity of the electric field as the device is addressed (the response of the liquid crystal layer is identical, regardless of the polarity of the applied field).
Displays for a small number of individual digits or fixed symbols (as in digital watches and pocket calculators) can be implemented with independent electrodes for each segment.alphanumeric or variable graphics displays are usually implemented with pixels arranged as a matrix consisting of electrically connected rows on one side of the LC layer and columns on the other side, which makes it possible to address each pixel at the intersections. The general method of matrix addressing consists of sequentially addressing one side of the matrix, for example by selecting the rows one-by-one and applying the picture information on the other side at the columns row-by-row. For details on the various matrix addressing schemes see passive-matrix and active-matrix addressed LCDs.
LCDs, along with OLED displays, are manufactured in cleanrooms borrowing techniques from semiconductor manufacturing and using large sheets of glass whose size has increased over time. Several displays are manufactured at the same time, and then cut from the sheet of glass, also known as the mother glass or LCD glass substrate. The increase in size allows more displays or larger displays to be made, just like with increasing wafer sizes in semiconductor manufacturing. The glass sizes are as follows:
The origins and the complex history of liquid-crystal displays from the perspective of an insider during the early days were described by Joseph A. Castellano in Liquid Gold: The Story of Liquid Crystal Displays and the Creation of an Industry.IEEE History Center.Peter J. Wild, can be found at the Engineering and Technology History Wiki.
In 1888,Friedrich Reinitzer (1858–1927) discovered the liquid crystalline nature of cholesterol extracted from carrots (that is, two melting points and generation of colors) and published his findings at a meeting of the Vienna Chemical Society on May 3, 1888 (F. Reinitzer: Beiträge zur Kenntniss des Cholesterins, Monatshefte für Chemie (Wien) 9, 421–441 (1888)).Otto Lehmann published his work "Flüssige Kristalle" (Liquid Crystals). In 1911, Charles Mauguin first experimented with liquid crystals confined between plates in thin layers.
The MOSFET (metal-oxide-semiconductor field-effect transistor) was invented by Mohamed M. Atalla and Dawon Kahng at Bell Labs in 1959, and presented in 1960.Paul K. Weimer at RCA developed the thin-film transistor (TFT) in 1962.
In 1964, George H. Heilmeier, then working at the RCA laboratories on the effect discovered by Williams achieved the switching of colors by field-induced realignment of dichroic dyes in a homeotropically oriented liquid crystal. Practical problems with this new electro-optical effect made Heilmeier continue to work on scattering effects in liquid crystals and finally the achievement of the first operational liquid-crystal display based on what he called the George H. Heilmeier was inducted in the National Inventors Hall of FameIEEE Milestone.
The idea of a TFT-based liquid-crystal display (LCD) was conceived by Bernard Lechner of RCA Laboratories in 1968.dynamic scattering mode (DSM) LCD that used standard discrete MOSFETs.
On December 4, 1970, the twisted nematic field effect (TN) in liquid crystals was filed for patent by Hoffmann-LaRoche in Switzerland, (Swiss patent No. 532 261) with Wolfgang Helfrich and Martin Schadt (then working for the Central Research Laboratories) listed as inventors.Brown, Boveri & Cie, its joint venture partner at that time, which produced TN displays for wristwatches and other applications during the 1970s for the international markets including the Japanese electronics industry, which soon produced the first digital quartz wristwatches with TN-LCDs and numerous other products. James Fergason, while working with Sardari Arora and Alfred Saupe at Kent State University Liquid Crystal Institute, filed an identical patent in the United States on April 22, 1971.ILIXCO (now LXD Incorporated), produced LCDs based on the TN-effect, which soon superseded the poor-quality DSM types due to improvements of lower operating voltages and lower power consumption. Tetsuro Hama and Izuhiko Nishimura of Seiko received a US patent dated February 1971, for an electronic wristwatch incorporating a TN-LCD.
In 1972, the concept of the active-matrix thin-film transistor (TFT) liquid-crystal display panel was prototyped in the United States by T. Peter Brody"s team at Westinghouse, in Pittsburgh, Pennsylvania.Westinghouse Research Laboratories demonstrated the first thin-film-transistor liquid-crystal display (TFT LCD).high-resolution and high-quality electronic visual display devices use TFT-based active matrix displays.active-matrix liquid-crystal display (AM LCD) in 1974, and then Brody coined the term "active matrix" in 1975.
In 1972 North American Rockwell Microelectronics Corp introduced the use of DSM LCDs for calculators for marketing by Lloyds Electronics Inc, though these required an internal light source for illumination.Sharp Corporation followed with DSM LCDs for pocket-sized calculators in 1973Seiko and its first 6-digit TN-LCD quartz wristwatch, and Casio"s "Casiotron". Color LCDs based on Guest-Host interaction were invented by a team at RCA in 1968.TFT LCDs similar to the prototypes developed by a Westinghouse team in 1972 were patented in 1976 by a team at Sharp consisting of Fumiaki Funada, Masataka Matsuura, and Tomio Wada,
The first color LCD televisions were developed as handheld televisions in Japan. In 1980, Hattori Seiko"s R&D group began development on color LCD pocket televisions.Seiko Epson released the first LCD television, the Epson TV Watch, a wristwatch equipped with a small active-matrix LCD television.dot matrix TN-LCD in 1983.Citizen Watch,TFT LCD.computer monitors and LCD televisions.3LCD projection technology in the 1980s, and licensed it for use in projectors in 1988.compact, full-color LCD projector.
In 2007 the image quality of LCD televisions surpassed the image quality of cathode-ray-tube-based (CRT) TVs.LCD TVs were projected to account 50% of the 200 million TVs to be shipped globally in 2006, according to Displaybank.Toshiba announced 2560 × 1600 pixels on a 6.1-inch (155 mm) LCD panel, suitable for use in a tablet computer,transparent and flexible, but they cannot emit light without a backlight like OLED and microLED, which are other technologies that can also be made flexible and transparent.
In 2016, Panasonic developed IPS LCDs with a contrast ratio of 1,000,000:1, rivaling OLEDs. This technology was later put into mass production as dual layer, dual panel or LMCL (Light Modulating Cell Layer) LCDs. The technology uses 2 liquid crystal layers instead of one, and may be used along with a mini-LED backlight and quantum dot sheets.
Since LCDs produce no light of their own, they require external light to produce a visible image.backlight. Active-matrix LCDs are almost always backlit.Transflective LCDs combine the features of a backlit transmissive display and a reflective display.
CCFL: The LCD panel is lit either by two cold cathode fluorescent lamps placed at opposite edges of the display or an array of parallel CCFLs behind larger displays. A diffuser (made of PMMA acrylic plastic, also known as a wave or light guide/guiding plateinverter to convert whatever DC voltage the device uses (usually 5 or 12 V) to ≈1000 V needed to light a CCFL.
EL-WLED: The LCD panel is lit by a row of white LEDs placed at one or more edges of the screen. A light diffuser (light guide plate, LGP) is then used to spread the light evenly across the whole display, similarly to edge-lit CCFL LCD backlights. The diffuser is made out of either PMMA plastic or special glass, PMMA is used in most cases because it is rugged, while special glass is used when the thickness of the LCD is of primary concern, because it doesn"t expand as much when heated or exposed to moisture, which allows LCDs to be just 5mm thick. Quantum dots may be placed on top of the diffuser as a quantum dot enhancement film (QDEF, in which case they need a layer to be protected from heat and humidity) or on the color filter of the LCD, replacing the resists that are normally used.
WLED array: The LCD panel is lit by a full array of white LEDs placed behind a diffuser behind the panel. LCDs that use this implementation will usually have the ability to dim or completely turn off the LEDs in the dark areas of the image being displayed, effectively increasing the contrast ratio of the display. The precision with which this can be done will depend on the number of dimming zones of the display. The more dimming zones, the more precise the dimming, with less obvious blooming artifacts which are visible as dark grey patches surrounded by the unlit areas of the LCD. As of 2012, this design gets most of its use from upscale, larger-screen LCD televisions.
RGB-LED array: Similar to the WLED array, except the panel is lit by a full array of RGB LEDs. While displays lit with white LEDs usually have a poorer color gamut than CCFL lit displays, panels lit with RGB LEDs have very wide color gamuts. This implementation is most popular on professional graphics editing LCDs. As of 2012, LCDs in this category usually cost more than $1000. As of 2016 the cost of this category has drastically reduced and such LCD televisions obtained same price levels as the former 28" (71 cm) CRT based categories.
Mini-LED: Backlighting with Mini-LEDs can support over a thousand of Full-area Local Area Dimming (FLAD) zones. This allows deeper blacks and higher contrast ratio.MicroLED.)
Today, most LCD screens are being designed with an LED backlight instead of the traditional CCFL backlight, while that backlight is dynamically controlled with the video information (dynamic backlight control). The combination with the dynamic backlight control, invented by Philips researchers Douglas Stanton, Martinus Stroomer and Adrianus de Vaan, simultaneously increases the dynamic range of the display system (also marketed as HDR, high dynamic range television or FLAD, full-area local area dimming).
Due to the LCD layer that generates the desired high resolution images at flashing video speeds using very low power electronics in combination with LED based backlight technologies, LCD technology has become the dominant display technology for products such as televisions, desktop monitors, notebooks, tablets, smartphones and mobile phones. Although competing OLED technology is pushed to the market, such OLED displays do not feature the HDR capabilities like LCDs in combination with 2D LED backlight technologies have, reason why the annual market of such LCD-based products is still growing faster (in volume) than OLED-based products while the efficiency of LCDs (and products like portable computers, mobile phones and televisions) may even be further improved by preventing the light to be absorbed in the colour filters of the LCD.
A standard television receiver screen, a modern LCD panel, has over six million pixels, and they are all individually powered by a wire network embedded in the screen. The fine wires, or pathways, form a grid with vertical wires across the whole screen on one side of the screen and horizontal wires across the whole screen on the other side of the screen. To this grid each pixel has a positive connection on one side and a negative connection on the other side. So the total amount of wires needed for a 1080p display is 3 x 1920 going vertically and 1080 going horizontally for a total of 6840 wires horizontally and vertically. That"s three for red, green and blue and 1920 columns of pixels for each color for a total of 5760 wires going vertically and 1080 rows of wires going horizontally. For a panel that is 28.8 inches (73 centimeters) wide, that means a wire density of 200 wires per inch along the horizontal edge.
The LCD panel is powered by LCD drivers that are carefully matched up with the edge of the LCD panel at the factory level. The drivers may be installed using several methods, the most common of which are COG (Chip-On-Glass) and TAB (Tape-automated bonding) These same principles apply also for smartphone screens that are much smaller than TV screens.anisotropic conductive film or, for lower densities, elastomeric connectors.
Monochrome and later color passive-matrix LCDs were standard in most early laptops (although a few used plasma displaysGame Boyactive-matrix became standard on all laptops. The commercially unsuccessful Macintosh Portable (released in 1989) was one of the first to use an active-matrix display (though still monochrome). Passive-matrix LCDs are still used in the 2010s for applications less demanding than laptop computers and TVs, such as inexpensive calculators. In particular, these are used on portable devices where less information content needs to be displayed, lowest power consumption (no backlight) and low cost are desired or readability in direct sunlight is needed.
A comparison between a blank passive-matrix display (top) and a blank active-matrix display (bottom). A passive-matrix display can be identified when the blank background is more grey in appearance than the crisper active-matrix display, fog appears on all edges of the screen, and while pictures appear to be fading on the screen.
Displays having a passive-matrix structure are employing Crosstalk between activated and non-activated pixels has to be handled properly by keeping the RMS voltage of non-activated pixels below the threshold voltage as discovered by Peter J. Wild in 1972,
STN LCDs have to be continuously refreshed by alternating pulsed voltages of one polarity during one frame and pulses of opposite polarity during the next frame. Individual pixels are addressed by the corresponding row and column circuits. This type of display is called response times and poor contrast are typical of passive-matrix addressed LCDs with too many pixels and driven according to the "Alt & Pleshko" drive scheme. Welzen and de Vaan also invented a non RMS drive scheme enabling to drive STN displays with video rates and enabling to show smooth moving video images on an STN display.
Bistable LCDs do not require continuous refreshing. Rewriting is only required for picture information changes. In 1984 HA van Sprang and AJSM de Vaan invented an STN type display that could be operated in a bistable mode, enabling extremely high resolution images up to 4000 lines or more using only low voltages.
High-resolution color displays, such as modern LCD computer monitors and televisions, use an active-matrix structure. A matrix of thin-film transistors (TFTs) is added to the electrodes in contact with the LC layer. Each pixel has its own dedicated transistor, allowing each column line to access one pixel. When a row line is selected, all of the column lines are connected to a row of pixels and voltages corresponding to the picture information are driven onto all of the column lines. The row line is then deactivated and the next row line is selected. All of the row lines are selected in sequence during a refresh operation. Active-matrix addressed displays look brighter and sharper than passive-matrix addressed displays of the same size, and generally have quicker response times, producing much better images. Sharp produces bistable reflective LCDs with a 1-bit SRAM cell per pixel that only requires small amounts of power to maintain an image.
Segment LCDs can also have color by using Field Sequential Color (FSC LCD). This kind of displays have a high speed passive segment LCD panel with an RGB backlight. The backlight quickly changes color, making it appear white to the naked eye. The LCD panel is synchronized with the backlight. For example, to make a segment appear red, the segment is only turned ON when the backlight is red, and to make a segment appear magenta, the segment is turned ON when the backlight is blue, and it continues to be ON while the backlight becomes red, and it turns OFF when the backlight becomes green. To make a segment appear black, the segment is always turned ON. An FSC LCD divides a color image into 3 images (one Red, one Green and one Blue) and it displays them in order. Due to persistence of vision, the 3 monochromatic images appear as one color image. An FSC LCD needs an LCD panel with a refresh rate of 180 Hz, and the response time is reduced to just 5 milliseconds when compared with normal STN LCD panels which have a response time of 16 milliseconds.
Samsung introduced UFB (Ultra Fine & Bright) displays back in 2002, utilized the super-birefringent effect. It has the luminance, color gamut, and most of the contrast of a TFT-LCD, but only consumes as much power as an STN display, according to Samsung. It was being used in a variety of Samsung cellular-telephone models produced until late 2006, when Samsung stopped producing UFB displays. UFB displays were also used in certain models of LG mobile phones.
Twisted nematic displays contain liquid crystals that twist and untwist at varying degrees to allow light to pass through. When no voltage is applied to a TN liquid crystal cell, polarized light passes through the 90-degrees twisted LC layer. In proportion to the voltage applied, the liquid crystals untwist changing the polarization and blocking the light"s path. By properly adjusting the level of the voltage almost any gray level or transmission can be achieved.
In-plane switching is an LCD technology that aligns the liquid crystals in a plane parallel to the glass substrates. In this method, the electrical field is applied through opposite electrodes on the same glass substrate, so that the liquid crystals can be reoriented (switched) essentially in the same plane, although fringe fields inhibit a homogeneous reorientation. This requires two transistors for each pixel instead of the single transistor needed for a standard thin-film transistor (TFT) display. The IPS technology is used in everything from televisions, computer monitors, and even wearable devices. IPS displays belong to the LCD panel family screen types. The other two types are VA and TN. Before LG Enhanced IPS was introduced in 2009, the additional transistors resulted in blocking more transmission area, thus requiring a brighter backlight and consuming more power, making this type of display less desirable for notebook computers. Currently Panasonic is using an enhanced version eIPS for their large size LCD-TV products as well as Hewlett-Packard in its WebOS based TouchPad tablet and their Chromebook 11.
In 2015 LG Display announced the implementation of a new technology called M+ which is the addition of white subpixel along with the regular RGB dots in their IPS panel technology.
Most of the new M+ technology was employed on 4K TV sets which led to a controversy after tests showed that the addition of a white sub pixel replacing the traditional RGB structure would reduce the resolution by around 25%. This means that a 4K TV cannot display the full UHD TV standard. The media and internet users later called this "RGBW" TVs because of the white sub pixel. Although LG Display has developed this technology for use in notebook display, outdoor and smartphones, it became more popular in the TV market because the announced 4K UHD resolution but still being incapable of achieving true UHD resolution defined by the CTA as 3840x2160 active pixels with 8-bit color. This negatively impacts the rendering of text, making it a bit fuzzier, which is especially noticeable when a TV is used as a PC monitor.
In 2011, LG claimed the smartphone LG Optimus Black (IPS LCD (LCD NOVA)) has the brightness up to 700 nits, while the competitor has only IPS LCD with 518 nits and double an active-matrix OLED (AMOLED) display with 305 nits. LG also claimed the NOVA display to be 50 percent more efficient than regular LCDs and to consume only 50 percent of the power of AMOLED displays when producing white on screen.
This pixel-layout is found in S-IPS LCDs. A chevron shape is used to widen the viewing cone (range of viewing directions with good contrast and low color shift).
Vertical-alignment displays are a form of LCDs in which the liquid crystals naturally align vertically to the glass substrates. When no voltage is applied, the liquid crystals remain perpendicular to the substrate, creating a black display between crossed polarizers. When voltage is applied, the liquid crystals shift to a tilted position, allowing light to pass through and create a gray-scale display depending on the amount of tilt generated by the electric field. It has a deeper-black background, a higher contrast ratio, a wider viewing angle, and better image quality at extreme temperatures than traditional twisted-nematic displays.
Some LCD panels have defective transistors, causing permanently lit or unlit pixels which are commonly referred to as stuck pixels or dead pixels respectively. Unlike integrated circuits (ICs), LCD panels with a few defective transistors are usually still usable. Manufacturers" policies for the acceptable number of defective pixels vary greatly. At one point, Samsung held a zero-tolerance policy for LCD monitors sold in Korea.ISO 13406-2 standard.
Dead pixel policies are often hotly debated between manufacturers and customers. To regulate the acceptability of defects and to protect the end user, ISO released the ISO 13406-2 standard,ISO 9241, specifically ISO-9241-302, 303, 305, 307:2008 pixel defects. However, not every LCD manufacturer conforms to the ISO standard and the ISO standard is quite often interpreted in different ways. LCD panels are more likely to have defects than most ICs due to their larger size. For example, a 300 mm SVGA LCD has 8 defects and a 150 mm wafer has only 3 defects. However, 134 of the 137 dies on the wafer will be acceptable, whereas rejection of the whole LCD panel would be a 0% yield. In recent years, quality control has been improved. An SVGA LCD panel with 4 defective pixels is usually considered defective and customers can request an exchange for a new one.
Some manufacturers, notably in South Korea where some of the largest LCD panel manufacturers, such as LG, are located, now have a zero-defective-pixel guarantee, which is an extra screening process which can then determine "A"- and "B"-grade panels.clouding (or less commonly mura), which describes the uneven patches of changes in luminance. It is most visible in dark or black areas of displayed scenes.
The zenithal bistable device (ZBD), developed by Qinetiq (formerly DERA), can retain an image without power. The crystals may exist in one of two stable orientations ("black" and "white") and power is only required to change the image. ZBD Displays is a spin-off company from QinetiQ who manufactured both grayscale and color ZBD devices. Kent Displays has also developed a "no-power" display that uses polymer stabilized cholesteric liquid crystal (ChLCD). In 2009 Kent demonstrated the use of a ChLCD to cover the entire surface of a mobile phone, allowing it to change colors, and keep that color even when power is removed.
Resolution The resolution of an LCD is expressed by the number of columns and rows of pixels (e.g., 1024×768). Each pixel is usually composed 3 sub-pixels, a red, a green, and a blue one. This had been one of the few features of LCD performance that remained uniform among different designs. However, there are newer designs that share sub-pixels among pixels and add Quattron which attempt to efficiently increase the perceived resolution of a display without increasing the actual resolution, to mixed results.
Spatial performance: For a computer monitor or some other display that is being viewed from a very close distance, resolution is often expressed in terms of dot pitch or pixels per inch, which is consistent with the printing industry. Display density varies per application, with televisions generally having a low density for long-distance viewing and portable devices having a high density for close-range detail. The Viewing Angle of an LCD may be important depending on the display and its usage, the limitations of certain display technologies mean the display only displays accurately at certain angles.
Temporal performance: the temporal resolution of an LCD is how well it can display changing images, or the accuracy and the number of times per second the display draws the data it is being given. LCD pixels do not flash on/off between frames, so LCD monitors exhibit no refresh-induced flicker no matter how low the refresh rate.
Color performance: There are multiple terms to describe different aspects of color performance of a display. Color gamut is the range of colors that can be displayed, and color depth, which is the fineness with which the color range is divided. Color gamut is a relatively straight forward feature, but it is rarely discussed in marketing materials except at the professional level. Having a color range that exceeds the content being shown on the screen has no benefits, so displays are only made to perform within or below the range of a certain specification.white point and gamma correction, which describe what color white is and how the other colors are displayed relative to white.
Brightness and contrast ratio: Contrast ratio is the ratio of the brightness of a full-on pixel to a full-off pixel. The LCD itself is only a light valve and does not generate light; the light comes from a backlight that is either fluorescent or a set of LEDs. Brightness is usually stated as the maximum light output of the LCD, which can vary greatly based on the transparency of the LCD and the brightness of the backlight. Brighter backlight allows stronger contrast and higher dynamic range (HDR displays are graded in peak luminance), but there is always a trade-off between brightness and power consumption.
Low power consumption. Depending on the set display brightness and content being displayed, the older CCFT backlit models typically use less than half of the power a CRT monitor of the same size viewing area would use, and the modern LED backlit models typically use 10–25% of the power a CRT monitor would use.
No theoretical resolution limit. When multiple LCD panels are used together to create a single canvas, each additional panel increases the total resolution of the display, which is commonly called stacked resolution.
As an inherently digital device, the LCD can natively display digital data from a DVI or HDMI connection without requiring conversion to analog. Some LCD panels have native fiber optic inputs in addition to DVI and HDMI.
Limited viewing angle in some older or cheaper monitors, causing color, saturation, contrast and brightness to vary with user position, even within the intended viewing angle.
Display motion blur on moving objects caused by slow response times (>8 ms) and eye-tracking on a sample-and-hold display, unless a strobing backlight is used. However, this strobing can cause eye strain, as is noted next:
As of 2012, most implementations of LCD backlighting use pulse-width modulation (PWM) to dim the display,CRT monitor at 85 Hz refresh rate would (this is because the entire screen is strobing on and off rather than a CRT"s phosphor sustained dot which continually scans across the display, leaving some part of the display always lit), causing severe eye-strain for some people.LED-backlit monitors, because the LEDs switch on and off faster than a CCFL lamp.
Only one native resolution. Displaying any other resolution either requires a video scaler, causing blurriness and jagged edges, or running the display at native resolution using 1:1 pixel mapping, causing the image either not to fill the screen (letterboxed display), or to run off the lower or right edges of the screen.
Fixed bit depth (also called color depth). Many cheaper LCDs are only able to display 262144 (218) colors. 8-bit S-IPS panels can display 16 million (224) colors and have significantly better black level, but are expensive and have slower response time.
Input lag, because the LCD"s A/D converter waits for each frame to be completely been output before drawing it to the LCD panel. Many LCD monitors do post-processing before displaying the image in an attempt to compensate for poor color fidelity, which adds an additional lag. Further, a video scaler must be used when displaying non-native resolutions, which adds yet more time lag. Scaling and post processing are usually done in a single chip on modern monitors, but each function that chip performs adds some delay. Some displays have a video gaming mode which disables all or most processing to reduce perceivable input lag.
Dead or stuck pixels may occur during manufacturing or after a period of use. A stuck pixel will glow with color even on an all-black screen, while a dead one will always remain black.
Subject to burn-in effect, although the cause differs from CRT and the effect may not be permanent, a static image can cause burn-in in a matter of hours in badly designed displays.
Loss of brightness and much slower response times in low temperature environments. In sub-zero environments, LCD screens may cease to function without the use of supplemental heating.
Several different families of liquid crystals are used in liquid crystal displays. The molecules used have to be anisotropic, and to exhibit mutual attraction. Polarizable rod-shaped molecules (biphenyls, terphenyls, etc.) are common. A common form is a pair of aromatic benzene rings, with a nonpolar moiety (pentyl, heptyl, octyl, or alkyl oxy group) on one end and polar (nitrile, halogen) on the other. Sometimes the benzene rings are separated with an acetylene group, ethylene, CH=N, CH=NO, N=N, N=NO, or ester group. In practice, eutectic mixtures of several chemicals are used, to achieve wider temperature operating range (−10..+60 °C for low-end and −20..+100 °C for high-performance displays). For example, the E7 mixture is composed of three biphenyls and one terphenyl: 39 wt.% of 4"-pentyl[1,1"-biphenyl]-4-carbonitrile (nematic range 24..35 °C), 36 wt.% of 4"-heptyl[1,1"-biphenyl]-4-carbonitrile (nematic range 30..43 °C), 16 wt.% of 4"-octoxy[1,1"-biphenyl]-4-carbonitrile (nematic range 54..80 °C), and 9 wt.% of 4-pentyl[1,1":4",1-terphenyl]-4-carbonitrile (nematic range 131..240 °C).
Critics of the report point out that it assumes that all of the NF3 produced would be released to the atmosphere. In reality, the vast majority of NF3 is broken down during the cleaning processes; two earlier studies found that only 2 to 3% of the gas escapes destruction after its use.3"s effects with what it replaced, perfluorocarbon, another powerful greenhouse gas, of which anywhere from 30 to 70% escapes to the atmosphere in typical use.
Castellano, Joseph A (2005). Liquid Gold: The Story of Liquid Crystal Displays and the Creation of an Industry. World Scientific Publishing. ISBN 978-981-238-956-5.
Rong-Jer Lee; Jr-Cheng Fan; Tzong-Shing Cheng; Jung-Lung Wu (March 10, 1999). "Pigment-dispersed color resist with high resolution for advanced color filter application". Proceedings of 5th Asian Symposium on Information Display. ASID "99 (IEEE Cat. No.99EX291). pp. 359–363. doi:10.1109/ASID.1999.762781. ISBN 957-97347-9-8. S2CID 137460486 – via IEEE Xplore.
Liquid Gold: The Story of Liquid Crystal Displays and the Creation of an Industry, Joseph A. Castellano, 2005 World Scientific Publishing Co. Pte. Ltd., ISBN 981-238-956-3.
Gray, George W.; Kelly, Stephen M. (1999). "Liquid crystals for twisted nematic display devices". Journal of Materials Chemistry. 9 (9): 2037–2050. doi:10.1039/a902682g.
Kawamoto, H. (2012). "The Inventors of TFT Active-Matrix LCD Receive the 2011 IEEE Nishizawa Medal". Journal of Display Technology. 8 (1): 3–4. Bibcode:2012JDisT...8....3K. doi:10.1109/JDT.2011.2177740. ISSN 1551-319X.
Brody, T. Peter; Asars, J. A.; Dixon, G. D. (November 1973). "A 6 × 6 inch 20 lines-per-inch liquid-crystal display panel". 20 (11): 995–1001. Bibcode:1973ITED...20..995B. doi:10.1109/T-ED.1973.17780. ISSN 0018-9383.
Hirohisa Kawamoto (2013), The history of liquid-crystal display and its industry, HISTory of ELectro-technology CONference (HISTELCON), 2012 Third IEEE, Institute of Electrical and Electronics Engineers, DOI 10.1109/HISTELCON.2012.6487587
Competing display technologies for the best image performance; A.J.S.M. de Vaan; Journal of the society of information displays, Volume 15, Issue 9 September 2007 Pages 657–666; http://onlinelibrary.wiley.com/doi/10.1889/1.2785199/abstract?
Pixel-by-pixel local dimming for high dynamic range liquid crystal displays; H. Chen; R. Zhu; M.C. Li; S.L. Lee and S.T. Wu; Vol. 25, No. 3; 6 Feb 2017; Optics Express 1973; https://www.osapublishing.org/oe/viewmedia.cfm?uri=oe-25-3-1973&seq=0
Broadband reflective polarizers based on form birefringence for ultra-thin liquid crystal displays; S.U. Pan; L. Tan and H.S. Kwok; Vol. 25, No. 15; 24 Jul 2017; Optics Express 17499; https://www.osapublishing.org/oe/viewmedia.cfm?uri=oe-25-15-17499&seq=0
Printable Reflective Color Filter Arrays from Cholesteric Reactive Mesogen Nanoposts; M.E. Sousa and G.P. Crawford; Society of Information Displays; SID digest, Volume 36, Issue 1; May 2005; Pages 706–709; http://onlinelibrary.wiley.com/doi/10.1889/1.2036540/full#references
P. J. Wild, Matrix-addressed liquid crystal projection display, Digest of Technical Papers, International Symposium, Society for Information Display, June 1972, pp. 62–63.
K. H. Lee; H. Y. Kim; K. H. Park; S. J. Jang; I. C. Park & J. Y. Lee (June 2006). "A Novel Outdoor Readability of Portable TFT-LCD with AFFS Technology". SID Symposium Digest of Technical Papers. 37 (1): 1079–1082. doi:10.1889/1.2433159. S2CID 129569963.
Jack H. Park (January 15, 2015). "Cut and Run: Taiwan-controlled LCD Panel Maker in Danger of Shutdown without Further Investment". www.businesskorea.co.kr. Archived from the original on May 12, 2015. Retrieved April 23, 2015.
NXP Semiconductors (October 21, 2011). "UM10764 Vertical Alignment (VA) displays and NXP LCD drivers" (PDF). Archived from the original (PDF) on March 14, 2014. Retrieved September 4, 2014.
"Display (LCD) replacement for defective pixels – ThinkPad". Lenovo. June 25, 2007. Archived from the original on December 31, 2006. Retrieved July 13, 2007.
Explanation of why pulse width modulated backlighting is used, and its side-effects, "Pulse Width Modulation on LCD monitors", TFT Central. Retrieved June 2012.
Discussions of severe eye strain with the new MacBook Pro, "Eye strain from LED backlighting in MacBook Pro", Apple Support Communities. Retrieved June 2012.
Displaying small digital numbers of temperature and humidity etc on a tiny screen is not always the best way to show information. The old style analogue meters are better in some situations and are great for a quick visual check of a sensor reading from a distance, they are also a good way of showing trends. So here we have a retro looking analogue meter on a modern TFT display, complete with smoothly animated needle!
I"ve pulled together a couple of functions in a demo sketch here for digital and analogue meters. I have not got around to "parameterising" the functions, so at the moment it is not easy to draw the meters anywhere on the screen with defined size and scales, but if there is sufficient interest (and given time!) I will try to do this at some point, in which case this Instructable will be updated.
The latest Chinese TFT displays are quite low in price but work perfectly with Arduino and Raspberry Pi. There are two different types of TFT shields available: one with 26 pins (13×2 DIL) for Raspberry Pi and the other as Arduino TFT shield for Arduino Uno board.
Arduino TFT shield can be perfectly mounted on top of an Arduino Uno board. But a major disadvantage is that after mounting the shield on Arduino Uno board, it is difficult to use its GPIO pins for any other application.
The Arduino TFT shield has a micro SD card attached that gets connected to its serial peripheral interface (SPI) pins for communication with the microcontroller. This micro SD card is not used in this project.
The main hurdle with this display is that it is not common and is available only from mcufriend.com. Fortunately, the mcufriend_kbd.h header file is freely available and it works out of the box for this and many other similar displays. The other header file required for this display is Adafruit_GFX.h. Both these header files, along with the main source code, are given below.
This project creates an analogue dial clock along with digital date, time and temperature display using an LM35/TMP36 temperature sensor. The time signal is derived from a U-Blox NEO-6M GPS receiver module. Once the technique is understood, it can be deployed for many other applications.
The connections are easy to make as shown in Fig. 2. The pin connections of the Arduino TFT shield are straightforward; you just need to mount the shield on top of the Arduino Uno board. The pin-to-pin connection details between TFT shield and Arduino Uno are given in the table.
Since top portion of the Arduino Uno is covered by TFT shield, the connections for the TMP36 and GPS receiver are taken from the bottom side of the Arduino Uno board (refer Fig. 3). In case you want to free some Arduino pins then you should see the mcufriend_shield.h file and re-write the connections to do so.
Writing the Arduino code/sketch (GPS_analog_clock.ino) for the project is real fun! You can make TFT display in many different ways through coding. Creating a thick border line, making the hour and minutes hands move smoothly were quite challenging as Adafruit_GFX library is not so much developed. High school trigonometry is all that you need to make it happen for you.
After uploading the code, solder the pins of TMP36 and GPS module to the Arduino board. Then mount the TFT shield on top of the Arduino board. After all the connections are done as per Fig. 2, connect it to 3.3V DC source. GPS module requires a few minutes to trace the satellites.
Most GPS receivers have an inbuilt patch antenna that can locate the low Earth orbit (LEO) GPS satellites very easily, even if your room’s windows are closed. As soon as two such satellites are located, the time starts appearing on the analogue dial. At the same time, the date, time and temperature are shown digitally on right side of the TFT display.
This is a graphics library for the family of small colour TFT displays based on the ST7735 and ST7789 driver chips. These are really nice displays; bright, colourful, available in a variety of useful sizes, and available at low cost from suppliers like Adafruit, AliExpress, or Banggood:
This library allows you to plot points, draw lines, draw filled rectangles, and plot text with an optional scale factor. I"ve included a demo histogram-plotting program that adjusts itself to fit each of the displays I"ve supported.
Unlike most other TFT display libraries this one doesn"t require a memory buffer, allowing it to be run on any processor down to an ATtiny85. The displays are SPI and require four pins to drive the display, leaving one pin free on an ATtiny85 to interface to another device, such as a temperature sensor. If you need more pins choose a larger chip, such as the ATtiny84; see Using the library with other AVR chips at the end of the article for information about how to convert the code for different chips.
I"ve published a library for a colour OLED display in a previous article: Colour Graphics Library. The main difference between the colour TFT displays and the colour OLED displays is that the TFT displays are not self-illuminating, and so need a backlight; they therefore have a slightly higher power consumption. However, they are exceedingly cheap, and they are available in larger sizes than the colour OLED displays.
I wrote an initial version of this library in uLisp, my Lisp interpreter for microcontrollers, which made it easy to experiment with different approaches. I then converted it to C to run on an ATtiny85. I can publish the uLisp version if anyone"s interested.
This library will work with displays based on the ST7735 which supports a maximum display size of 132 (H) x 162 (V), or the similar ST7789 which supports a maximum display size of 240 (H) x 320 (V).
The display driver interfaces to the displays with the longer side as the vertical dimension, which is why the rectangular displays are usually listed with the longer dimension second. My library allows you to rotate the image for any desired orientation.
All the Adafruit breakout boards for these displays include level-shifting circuitry, so they will work with either 5V or 3.3V microcontroller boards. They also include an SD card socket, if that"s of interest to you. The Adafruit boards have pullups on the backlight and reset pins, so the display will work if you leave these pins unconnected.
The boards available from AliExpress or Banggood are generally 3.3V only. If you"re using them with a 5V microcontroller you need to include a regulator and level-shifting circuitry.
The pullup resistor from the display"s CS pin is optional; it holds the chip select high to prevent the display from being affected by the ISP signals while programming the ATtiny85.
The different displays are catered for by six constants which specify the size of the display, the offsets relative to the area supported by the display driver, whether the display is inverted, and the rotation value; for example:
Note that on some displays you may also have to change the xoff or yoff value when rotating the display. For example, to rotate the image on the 240x240 displays by 180° use the settings:
To check or adjust the values for each display I ran this program, which draws a one-pixel border around the display area, and plots an "F" to show the orientation:
The ATtiny85 and other AVR processors supports toggling of one or more bits in a port, so provided you set all the pins to their disabled state at startup, for speed the display access routines can simply toggle the appropriate pins to enable or disable them.
The InitDisplay() routine first defines the four display pins as outputs, and takes the SCK, DC, and CS pins high (inactive). It then sends the essential configuration commands to the display.
The display memory stores 18 bits per pixel: 6 bits per colour. However, you can write to the display in three alternative modes, with 12, 16, or 18 bits per pixel. I chose the 16 bit mode, which assigns 5 bits to red, 6 bits to green, and 5 bits blue. It"s the most convenient one to work with as you simply send two bytes to define the colour of each pixel.
To clear the display the ClearDisplay() routine sends the appropriate number of zero bytes. The routine temporarily switches to 12-bit colour mode, which reduces the time to clear the display by 25%:
The library includes basic graphics routines for plotting points and drawing lines. These work on a conventional coordinate system with the origin at lower left. For example, on the 80x160 display:
The DrawTo()line-drawing routine uses Bresenham"s line algorithm to draw the best line between two points without needing any divisions or multiplications
My first version of PlotChar() plotted characters by calling PlotPoint() for each pixel. However, I then tried the following alternative approach which defines an area of the display using the CASET (Column Address Set) and RASET (Row Address Set) commands, and then sends a stream of the appropriate bytes to define the character. This turned out to be over three times faster!
The default value of scale is 1, but you can change it to plot larger characters. After plotting a character PlotChar() moves the plot position to the start of the next character to make it easy to plot several characters in a row without needing to callMoveTo().
14th January 2020: Tested the program with the Adafruit 1.3" 240x240 TFT display, and updated the program to correct a problem when rotating the image on that display.
The TFT Display Shield Board (CY8CKIT-028-TFT) has been designed such that a TFT display, audio devices, and sensors can interface with Infineon"s PSoC 6™ MCUs.
The TFT Display Shield Board is compatible with the PSoC 6™ WiFi-BT Pioneer Kit CY8CKIT-062-WiFi-BT and the PSoC 6™ BLE Pioneer Kit CY8CKIT-062-BLE. Refer to the respective kit guides for more details.
A new compatible library is available here which can render TrueType fonts on a TFT screen (or into a sprite). This has been developed by takkaO here. (A pull request to the authors repository has been issued). I have been reluctant to support yet another font format but this is an amazing library which is very easy to use. It provides access to compact font files, with fully scaleable anti-aliased glyphs. Left, middle and right justified text can also be printed to the screen. I have added TFT_eSPI specific examples to the OpenFontRender library and tested on RP2040 and ESP32 processors. Here is a demo screen where a single 12kbyte font file binary was used to render fully anti-aliased glyphs of gradually increasing size on a 320x480 TFT screen:
The TFT configuration (user setup) can now be included inside an Arduino IDE sketch providing the instructions in the example Generic->Sketch_with_tft_setup are followed. See ReadMe tab in that sketch for the instructions. If the setup is not in the sketch then the library settings will be used. This means that "per project" configurations are possible without modifying the library setup files. Please note that ALL the other examples in the library will use the library settings unless they are adapted and the "tft_setup.h" header file included. Note: there are issues with this approach, #2007 proposes an alternative method.
Support has been added in v2.4.70 for the RP2040 with 16 bit parallel displays. This has been tested and the screen update performance is very good (4ms to clear 320 x 480 screen with HC8357C). The use of the RP2040 PIO makes it easy to change the write cycle timing for different displays. DMA with 16 bit transfers is also supported.
Support for the ESP32-S2, ESP32-S3 and ESP32-C3 has been added (DMA not supported at the moment). Tested with v2.0.3 RC1 of the ESP32 board package. Example setups:
Smooth fonts can now be rendered direct to the TFT with very little flicker for quickly changing values. This is achieved by a line-by-line and block-by-block update of the glyph area without drawing pixels twice. This is a "breaking" change for some sketches because a new true/false parameter is needed to render the background. The default is false if the parameter is missing, Examples:
New anti-aliased graphics functions to draw lines, wedge shaped lines, circles and rounded rectangles. Examples are included. Examples have also been added to display PNG compressed images (note: requires ~40kbytes RAM).
Frank Boesing has created an extension library for TFT_eSPI that allows a large range of ready-built fonts to be used. Frank"s library (adapted to permit rendering in sprites as well as TFT) can be downloaded here. More than 3300 additional Fonts are available here. The TFT_eSPI_ext library contains examples that demonstrate the use of the fonts.
Users of PowerPoint experienced with running macros may be interested in the pptm sketch generator here, this converts graphics and tables drawn in PowerPoint slides into an Arduino sketch that renders the graphics on a 480x320 TFT. This is based on VB macros created by Kris Kasprzak here.
The RP2040 8 bit parallel interface uses the PIO. The PIO now manages the "setWindow" and "block fill" actions, releasing the processor for other tasks when areas of the screen are being filled with a colour. The PIO can optionally be used for SPI interface displays if #define RP2040_PIO_SPI is put in the setup file. Touch screens and pixel read operations are not supported when the PIO interface is used.
DMA can now be used with the Raspberry Pi Pico (RP2040) when used with both 8 bit parallel and 16 bit colour SPI displays. See "Bouncy_Circles" sketch.
The library now supports the Raspberry Pi Pico with both the official Arduino board package and the one provided by Earle Philhower. The setup file "Setup60_RP2040_ILI9341.h" has been used for tests with an ILI9341 display. At the moment only SPI interface displays have been tested. SPI port 0 is the default but SPI port 1 can be specifed in the setup file if those SPI pins are used.
The library now provides a "viewport" capability. See "Viewport_Demo" and "Viewport_graphicstest" examples. When a viewport is defined graphics will only appear within that window. The coordinate datum by default moves to the top left corner of the viewport, but can optionally remain at top left corner of TFT. The GUIslice library will make use of this feature to speed up the rendering of GUI objects (see #769).
An Arduino IDE compatible graphics and fonts library for 32 bit processors. The library is targeted at 32 bit processors, it has been performance optimised for STM32, ESP8266 and ESP32 types. The library can be loaded using the Arduino IDE"s Library Manager. Direct Memory Access (DMA) can be used with the ESP32, RP2040 and STM32 processors with SPI interface displays to improve rendering performance. DMA with a parallel interface is only supported with the RP2040.
"Four wire" SPI and 8 bit parallel interfaces are supported. Due to lack of GPIO pins the 8 bit parallel interface is NOT supported on the ESP8266. 8 bit parallel interface TFTs (e.g. UNO format mcufriend shields) can used with the STM32 Nucleo 64/144 range or the UNO format ESP32 (see below for ESP32).
The library supports some TFT displays designed for the Raspberry Pi (RPi) that are based on a ILI9486 or ST7796 driver chip with a 480 x 320 pixel screen. The ILI9486 RPi display must be of the Waveshare design and use a 16 bit serial interface based on the 74HC04, 74HC4040 and 2 x 74HC4094 logic chips. Note that due to design variations between these displays not all RPi displays will work with this library, so purchasing a RPi display of these types solely for use with this library is not recommended.
A "good" RPi display is the MHS-4.0 inch Display-B type ST7796 which provides good performance. This has a dedicated controller and can be clocked at up to 80MHz with the ESP32 (55MHz with STM32 and 40MHz with ESP8266). The MHS-3.5 inch RPi ILI9486 based display is also supported.
Some displays permit the internal TFT screen RAM to be read, a few of the examples use this feature. The TFT_Screen_Capture example allows full screens to be captured and sent to a PC, this is handy to create program documentation.
The library supports Waveshare 2 and 3 colour ePaper displays using full frame buffers. This addition is relatively immature and thus only one example has been provided.
The library includes a "Sprite" class, this enables flicker free updates of complex graphics. Direct writes to the TFT with graphics functions are still available, so existing sketches do not need to be changed.
A Sprite is notionally an invisible graphics screen that is kept in the processors RAM. Graphics can be drawn into the Sprite just as they can be drawn directly to the screen. Once the Sprite is completed it can be plotted onto the screen in any position. If there is sufficient RAM then the Sprite can be the same size as the screen and used as a frame buffer. Sprites by default use 16 bit colours, the bit depth can be set to 8 bits (256 colours) , or 1 bit (any 2 colours) to reduce the RAM needed. On an ESP8266 the largest 16 bit colour Sprite that can be created is about 160x128 pixels, this consumes 40Kbytes of RAM. On an ESP32 the workspace RAM is more limited than the datasheet implies so a 16 bit colour Sprite is limited to about 200x200 pixels (~80Kbytes), an 8 bit sprite to 320x240 pixels (~76kbytes). A 1 bit per pixel Sprite requires only 9600 bytes for a full 320 x 240 screen buffer, this is ideal for supporting use with 2 colour bitmap fonts.
One or more sprites can be created, a sprite can be any pixel width and height, limited only by available RAM. The RAM needed for a 16 bit colour depth Sprite is (2 x width x height) bytes, for a Sprite with 8 bit colour depth the RAM needed is (width x height) bytes. Sprites can be created and deleted dynamically as needed in the sketch, this means RAM can be freed up after the Sprite has been plotted on the screen, more RAM intensive WiFi based code can then be run and normal graphics operations still work.
Drawing graphics into a sprite is very fast, for those familiar with the Adafruit "graphicstest" example, this whole test completes in 18ms in a 160x128 sprite. Examples of sprite use can be found in the "examples/Sprite" folder.
The "Animated_dial" example shows how dials can be created using a rotated Sprite for the needle. To run this example the TFT interface must support reading from the screen RAM (not all do). The dial rim and scale is a jpeg image, created using a paint program.
The XPT2046 touch screen controller is supported for SPI based displays only. The SPI bus for the touch controller is shared with the TFT and only an additional chip select line is needed. This support will eventually be deprecated when a suitable touch screen library is available.
The library supports SPI overlap on the ESP8266 so the TFT screen can share MOSI, MISO and SCLK pins with the program FLASH, this frees up GPIO pins for other uses. Only one SPI device can be connected to the FLASH pins and the chips select for the TFT must be on pin D3 (GPIO0).
Configuration of the library font selections, pins used to interface with the TFT and other features is made by editing the User_Setup.h file in the library folder, or by selecting your own configuration in the "User_Setup_Selet,h" file. Fonts and features can easily be enabled/disabled by commenting out lines.
Anti-aliased (smooth) font files in "vlw" format are generated by the free Processing IDE using a sketch included in the library Tools folder. This sketch with the Processing IDE can be used to generate font files from your computer"s font set or any TrueType (.ttf) font, the font file can include any combination of 16 bit Unicode characters. This means Greek, Japanese and any other UCS-2 glyphs can be used. Character arrays and Strings in UTF-8 format are supported.
It would be possible to compress the vlw font files but the rendering performance to a TFT is still good when storing the font file(s) in SPIFFS, LittleFS or FLASH arrays.
Anti-aliased fonts can also be drawn over a gradient background with a callback to fetch the background colour of each pixel. This pixel colour can be set by the gradient algorithm or by reading back the TFT screen memory (if reading the display is supported).
The common 8 bit "Mcufriend" shields are supported for the STM Nucleo 64/144 boards and ESP32 UNO style board. The STM32 "Blue/Black Pill" boards can also be used with 8 bit parallel displays.
Unfortunately the typical UNO/mcufriend TFT display board maps LCD_RD, LCD_CS and LCD_RST signals to the ESP32 analogue pins 35, 34 and 36 which are input only. To solve this I linked in the 3 spare pins IO15, IO33 and IO32 by adding wires to the bottom of the board as follows:
If the display board is fitted with a resistance based touch screen then this can be used by performing the modifications described here and the fork of the Adafruit library:
If you load a new copy of TFT_eSPI then