Holtek HT16H25 Скачать руководство пользователя страница 9

         HT16H25 Treadmill Display Application Guideline 

 

AN0505E  V1.00 

9 / 22 

January 8, 2019 

 

Read Display Data from Page 1 Command 

Command 

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

Read Display 

Data from 

Page 1 

71h 

A7 

A6 

A5 

A4 

A3 

A2 

A1 

A0 

00h 

D7 

D6 

D5 

D4 

D3 

D2 

D1 

D0 

 

Note: This command is invalid when the duty is set to 1/9~1/16. 

 

Page Config. Mode Commands 

Command 

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

Page Config. 

Mode 

72h 

PM 

00h 

Note: "PM" bit: Display Page selection. This command is only effective when the duty 

 1/8. 

PM 

Page Config. 

Page0 – LCD display data comes from RAM page 0 - default 

Page1 – 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 outputs using the control commands. 
The PWM output has a 64-step duty cycle adjustment that can be used to drive LEDs. 

 

Write GPO Data Command 

Command 

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

Write GPO 

Data 

90h 

D3 

D2 

D1 

D0 

 

Note: D[3:0]: GPO3~GPO0 data 

Bit 

GPO pin 

D3 

GPO3 

D2 

GPO2 

D1 

GPO1 

D0 

GPO0 

 

Binary/PWM Function Select Command 

Command 

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

Binary/PWM 

Select 

92h 

BPS3  BPS2  BPS1  BPS0  00h 

Note: BPS[3:0]: Select the GPO output to be logic or PWM 

BPSn 

GPOn or PWM output   

GPO output 

PWM output 

Note: n=0~3 

Bit 

GPO pin 

BPS3 

GPO3 

BPS2 

GPO2 

BPS1 

GPO1 

BPS0 

GPO0 

Содержание HT16H25

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 5: ...HT16H25 Treadmill Display Application Guideline AN0505E V1 00 5 22 January 8 2019...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: