Holtek HT16C22 Applications Manual

Holtek HT16C22 Applications Manual

Electric meter applications

Advertisement

Quick Links

Electric Meter Applications Using the HT16C22
D/N:AN0255E

Introduction

The HT16C22 provides a maximum display driver pin of 4 Commons and 44 Segments
and is driven by I
the related setup and application methods for a 4x40 LCD electric meter driven by the
HT16C22.

Operation Principles

The HT16C22 device is a memory mapping and multi-function LCD controller driver. With
its software configuration functions, it is very suitable for various LCD applications.
HT16C22 Features:
Operation Voltage:2.4V~5.5V
Internal 32kHz RC oscillator
Bias : 1/2 or 1/3
Duty : 1/4
2
I
C-bus interface
Two selectable LCD frame frequencies: 80Hz or 160Hz
44×4 bits RAM for display data storage
4 kinds of flashing modes
Read/write address auto increment
Internal 16-level voltage adjustment to adjust LCD operating voltage
Low power consumption
VLCD pin for adjustable LCD operating voltage
Electric Meter Applications Using the HT16C22
2
C communication control. The following application content describes
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT16C22 and is the answer not in the manual?

Questions and answers

Summary of Contents for Holtek HT16C22

  • Page 1 Electric Meter Applications Using the HT16C22 D/N:AN0255E Introduction The HT16C22 provides a maximum display driver pin of 4 Commons and 44 Segments and is driven by I C communication control. The following application content describes the related setup and application methods for a 4x40 LCD electric meter driven by the HT16C22.
  • Page 2 Electric Meter Applications Using the HT16C22 HT16C22 Related Command Setup HT16C22 Operating Mode The operating mode of the HT16C22 can be setup using Mode Set. The settings are as follows.  M0 : LCD driver offset voltage mode bit 0 : 1/3 Bias;1 : 1/2 Bias ...
  • Page 3 DA3~DA0. ------ HT16C22 Operation Flow HT16C22 Initialization When using the HT16C22, start with an initialization using the following steps:  Step 1: Enable the HT16C22 internal system clock  Step 2: Set the HT16C22 Internal LCD bias voltage ...
  • Page 4 Electric Meter Applications Using the HT16C22 Figure 1 Start Signal Figure 2 Stop Signal  C communication data operation When SCL is high, the SDA data is valid. When SCL is low, the SDA data changes as shown in figure 3.
  • Page 5 Electric Meter Applications Using the HT16C22  C Communication Write Operation A byte write operation requires a Start signal, a read/write flag (0: write, 1: read), one valid slave address, data and a stop signal. After each step, the device responds with an ACK as shown in figure 5.
  • Page 6 Electric Meter Applications Using the HT16C22 HT16C22 Electric Meter Application Figure 8 Electric Meter LCD Figure 8 illustrates an electric meter interface, which shows indications such as the amount, voltage, current, consumption and remote copy etc. Application Circuit HT68F30 PA0/C0X/TP0_0...
  • Page 7 VDD and VSS pins of the  When the VLCD/SEG35 in the HT16C22 is set as a SEG pin and not in use, it can only be placed into a floating condition as it is not able to connect to VDD through a resistor.
  • Page 8 Initialize the main program including the RAM, I/O and SFR. The I2C initialization is the same as the initialization of the HT16C22, such as to the HT16C22 internal system clock control, LCD bias voltage selection, frame frequency selection, VLCD/SEG pin selection and the LCD blinking frequency selection.

Table of Contents