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

         HT16H25 Treadmill Display Application Guideline 

 

AN0505E  V1.00 

7 / 22 

January 8, 2019 

F3  F2  F1  F0 

Frame Frequency (Hz) 

 

Stati

c  1/2  1/3  1/4  1/5  1/6  1/7  1/8  1/9 

1/1

1/1

1/1

1/1

1/1

1/1

1/1

6  duty 

0  0  0  0  50    50    44    50    80    67    57    50    44    40    73    67    62    57    53    50   

 

0  0  0  1  60    60    53    60    96    80    69    60    53    48    87    80    74    69    64    60   

 

0  0  1  0  70    70    62    70   112   93    80    70    62    56   102   93    86    80    75    70   

 

0  0  1  1  80    80    71    80   128   107   91    80    71    64   116   107   98    91    85    80   

 

0  1  0  0  90    90    80    90   144   120   103   90    80    72   131   120   111   103   96    90   

 

0  1  0  1  100   100   89   100   160   133   114   100   89    80   145   133   123   114   107   100   

 

0  1  1  0  120   120   107   120   192   160   137   120   107   96   175   160   148   137   128   120   

 

0  1  1  1  140   140   124   140   224   187   160   140   124   112   204   187   172   160   149   140   

 

1  0  0  0  160   160   142   160   256   213   183   160   142   128   233   213   197   183   171   160   

 

1  0  0  1  180   180   160   180   288   240   206   180   160   144   262   240   222   206   192   180   

 

1  0  1  0  200   200   178   200   320   267   229   200   178   160   291   267   246   229   213   200   default 
1  0  1  1  220   220   196   220   352   293   251   220   196   176   320   293   271   251   235   220   

 

1  1  0  0  240   240   213   240   384   320   274   240   213   192   349   320   295   274   256   240   

 

1  1  0  1  260   260   231   260   416   347   297   260   231   208   378   347   320   297   277   260   

 

1  1  1  0  280   280   249   280   448   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 

Bit0 

Def. 

Blinking 

Setting 

8Ah 

BK1 

BK0 

00h 

Note: BK[1:0]:    The LCD flicker frequency is set as shown in the following table. The 

value of the flicker frequency is for reference only. When the set duty and frame 
frequency are different, the flicker frequency will deviate. 

BK1  BK0  Blinking Frequency Setting 

off (default) 

2Hz 

1Hz 

0.5Hz 

LCD RAM R/W Command 

The display RAM is a static 60×8×2 bits of RAM for storing LCD data. A logic "1" indicates 
the "on" state of the corresponding segment and a logic "0" represents the "off" state. The 
display memory address has a one-to-one correspondence with the segment output while 
individual bits correspond to the column output. This mapping is used to map the RAM 
data to the LCD to display the desired image. 

It supports a page storage function. When the duty

1/8, the user can write data to page 

0 and page1 of the RAM and select the corresponding page storage to display using a 
control command. 

The communication data transmission format is as follows: 

MSB   

 

 

 

 

 

LSB 

Bit7 

Bit6 

Bit5 

Bit4 

Bit3 

Bit2 

Bit1 

Bit0 

D7 

D6 

D5 

D4 

D3 

D2 

D1 

D0 

The following table shows the maximum memory address and valid Commons for 

Содержание 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...

Отзывы: