Holtek HT16H25 Application Manuallines Download Page 13

         HT16H25 Treadmill Display Application Guideline 

 

AN0505E  V1.00 

13 / 22 

January 8, 2019 

LCD Bias Function Command 

The LCD Bias can be selected to come from  the Charge Pump or  from the  Resistor 
Divider using a control command. 

When  the  LCD Bias selects the  Charge Pump, the Charge Pump coefficient selection 
depends on the Bias setting. The relationship between the  LCD Bias and the Charge 
Pump coefficient  is shown in the table below. Here, all the capacitors used with  the 
Charge Pump should have a value of 

0.1μF

. The Charge Pump output requires about 

20ms to stabilise after being enabled. 

LCD Bias 

Charge Pump Ratio Setting 

Static 

Charge Pump Input Voltage 

1/2 

X2 

1/3 

X3 

1/4 

X4 

1/5 

X5 

When the LCD Bias chooses the resistor divider, there are 3 resistor values to choose: 4K, 
8K or 16K. For this option, V

LCD

 can only be provided by an external power supply. 

 

LCD Bias Circuit Select Command 

Command 

R/W  Bit7  Bit6  Bit5  Bit4  Bit3  Bit2  Bit1  Bit0  Def. 

LCD Bias 

Circuit select 

D0h 

BV 

BC1  BC0 

00h 

Note: "BV" bit: VLCD Select Control 

BV 

VLCD Select 

VLCD is supplied from Charge Pump (default) 

VLCD is supplied from external power 

BC[1:0]: LCD Bias Circuit Select 

BC1 

BC0 

LCD Bias Circuit Select 

disable (default) 

Charge Pump 

Invalid 

Resistor divider 

 

Contrast Adjustment Command 

Command 

R/W  Bit7  Bit6  Bit5  Bit4  Bit3  Bit2  Bit1  Bit0  Def. 

Contrast 

Adjustment 

D2h 

CA3  CA2  CA1  CA0 

00h 

Note: When the LCD Bias selects the Charge Pump this instruction has no effect. 

CA[3:0]: Contrast adjustment bit, LCD Bias circuit select Resistor Divider. 

 

 

Summary of Contents for HT16H25

Page 1: ...divider to drive LCD screens with an operating voltage range of 2 5V to 12V The device supports 4 of GPO output ports and can set the GPO output to a 64 level PWM output mode to drive the LED backligh...

Page 2: ...ART RATE Heart rate display FITNESS SCORE Fitness score display TODAY S AWARDS Present day s award AVG SPEED Average Speed display TIME Display time for example 0 02 59 DISTANCE Distance Display AVG C...

Page 3: ...nt continuous register data can be sent after which it is ended with a STOP signal The timing for writing a compound command is as follows Slave Address ACK Write Register byte ACK S 0 1 1 1 1 0 0 0 A...

Page 4: ...ollows ACK Write ACK P Slave Address S 0 1 1 1 1 0 0 0 Data byte NACK D7 D6 D5 D4 D3 D2 D1 D0 1st data Data byte ACK P D7 D6 D5 D4 D3 D2 D1 D0 Nth data Data byte D7 D6 D5 D4 D3 D2 D1 D0 2nd data ACK A...

Page 5: ...HT16H25 Treadmill Display Application Guideline AN0505E V1 00 5 22 January 8 2019...

Page 6: ...tus of each register is as follows Both internal clock and LCD display are off All Commons and Segments are set to VSS GPO functions are disabled PWM function and outputs are disabled Set RE 0 and CE...

Page 7: ...48 373 320 280 249 224 407 373 345 320 299 280 1 1 1 1 300 300 267 300 480 400 343 300 267 240 436 400 369 343 320 300 Blinking Frequency Setting Command Command R W Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1...

Page 8: ...5 A4 A3 A2 A1 A0 00h W D7 D6 D5 D4 D3 D2 D1 D0 Note A 7 0 Memory address If the setup LCD RAM address is not within the address range the entered data is invalid D 7 0 display data Read Display Data f...

Page 9: ...LCD display data comes from RAM page 1 GPO PWM Function Command The GPO output function can output control signals to control external circuits The outputs can be set to be logical outputs or PWM outp...

Page 10: ...it1 Bit0 Def Write PWM data to GPO0 W 1 0 1 1 0 0 0 0 B2h W X X D5 D4 D3 D2 D1 D0 00h Write PWM data to GPO1 W 1 0 1 1 0 0 0 0 B4h W X X D5 D4 D3 D2 D1 D0 00h Write PWM data to GPO2 W 1 0 1 1 0 0 0 0...

Page 11: ...Regulator 2 7 2 7 5 4 8 1 10 8 13 5 1 1 1 1 2 2 3 3 4 4 5 5 2 8 2 8 5 6 8 4 11 2 14 0 1 2 1 2 2 4 3 6 4 8 6 0 2 9 2 9 5 8 8 7 11 6 14 5 1 3 1 3 2 6 3 9 5 2 6 5 3 0 3 0 6 0 9 0 12 0 15 0 1 4 1 4 2 8 4...

Page 12: ...8 0 0 0 1 1 1 3 1 0 0 1 1 2 9 0 0 1 0 0 1 4 1 0 1 0 0 3 0 0 0 1 0 1 1 5 1 0 1 0 1 3 1 0 0 1 1 0 1 6 1 0 1 1 0 3 2 0 0 1 1 1 1 7 1 0 1 1 1 3 3 0 1 0 0 0 1 8 1 1 0 0 0 3 4 0 1 0 0 1 1 9 1 1 0 0 1 3 5 0...

Page 13: ...CD Bias chooses the resistor divider there are 3 resistor values to choose 4K 8K or 16K For this option VLCD can only be provided by an external power supply LCD Bias Circuit Select Command Command R...

Page 14: ...perating Flow Initialisation The device initialisation process is shown in the figure below After the system is powered on first reset the device software then set the Charge Pump circuit according to...

Page 15: ...this corresponding address after which enable the LCD display should be enabled This is shown in the following flowchart Next Processing Start Address Setting Display Data RAM Write Display on Operati...

Page 16: ...U power is a DC 5V voltage The main control MCU uses an HT66F50 to communicate with the HT16H25 using the I 2 C interface to drive the LCD display FB1 1 2 3 4 5 P1 MicroUSB 22uF 1206 C2 0 1uF 0805 C1...

Page 17: ...G4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG3...

Page 18: ...HT16H25_100LQFP IO_CSB IO_CLK IO_DIO C1 1uF 0805 C2 0 1uF 0805 C3 0 1uF 0805 C4 0 1uF 0805 C5 C6 0 1uF 0805 C7 0 1uF 0805 C8 0 1uF 0805 C9 0 1uF 0805 C10 0R 0805 R1 0R 0805 R2 0R 0805 R3 0R 0805 R4 0R...

Page 19: ...16 COM and 58 SEG output drive pins GPO0 GPO3 can be selected to be either logic or PWM outputs to control the LCD RGB backlight Software Description In accordance with the above application the HT16...

Page 20: ...de Select Select the treadmill internal program P1 P7 The LCD displays a corresponding example and the speed changes accordingly The speed shows the initial running speed The PWM duty is adjusted acco...

Page 21: ...ented every 100ms until 93 During this process illuminate The heart rate is updated every 300ms and decreases to 84 Shows the average speed for this activity Maintains the screen for 3s adjusts the PW...

Page 22: ...ising in using or in connection with the use of this website by any party There may be links in this area which allow you to visit the websites of other companies These websites are not controlled by...

Reviews: