STMicroelectronics AN1048 ST7 Software LCD Driver Application Note

This note describes a technique for driving Liquid Crystal Displays (LCD) with any standard ST7 Microcontroller (MCU) i.e without any specific on-chip LCD driver hardware. This technique offers a solution for applications which require a display at low cost together with the versatile capabilities of the standard ST7 MCUs. This note also provides a technique to control the LCD contrast through software.


STMicroelectronics AN1048 ST7 Software LCD Driver Application Note - cover page
Brand
STMicroelectronics
Document type
Application Note
Language
English
Pages
21
File format
PDF
File size
226 KB
Published
07 August, 2012
Updated
30 September, 2023
MD5 checksum
9A947FE1445BFFCE3932354788536167

About this manual

This document details a low-cost method for controlling Liquid Crystal Displays (LCDs) using any standard ST7 Microcontroller. It explains how to drive LCDs in single, duplex, and quadruplex modes using only standard I/O ports and one timer, eliminating the need for specific on-chip LCD driver hardware.

The note provides techniques for generating necessary waveforms, calculating contrast levels through software, and managing power consumption. Additionally, it includes an overview of a demo board based on the ST72F321B microcontroller, featuring schematics and programming instructions to help users develop and test their applications.

What's inside

  • LCD requirements
  • Single backplane LCD drive
  • Duplexed LCD drive
  • Quadruplex LCD drive
  • LCD mean voltage calculation
  • Contrast calculation
  • Example of a quadruplex LCD with ST72F321B
  • Software contrast control
  • LCD demo board schematic

Specifications

CPU load required for controlling the LCD0.2%
Program size~300 bytes

Frequently asked questions

What microcontrollers can be used to drive the LCD?

Any standard ST7 Microcontroller (MCU) can be used.

How many external components are required?

The solution requires two external resistors per COM line.

Download PDF (226 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →