Matrix Orbital PK202-24-USB User Manual

Page 3

Advertising
background image

3 Keypad Interface

15

3.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Keypad Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.3.1 Auto Repeat Mode On (254 126[mode])(R) . . . . . . . . . . . . . . . . . . . . . . 16
3.3.2 Auto Repeat Mode Off (254 96)(R) . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.3 Auto Transmit Keypresses On (254 65)(R) . . . . . . . . . . . . . . . . . . . . . . 17
3.3.4 Auto Transmit Keypresses Off (254 79)(R) . . . . . . . . . . . . . . . . . . . . . . 17
3.3.5 Clear Key Buffer (254 69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.6 Poll Keypad (254 38) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.3.7 Set Debounce Time (254 85 [time])(R) . . . . . . . . . . . . . . . . . . . . . . . . 18

4 Bar Graphs and Special Characters

18

4.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.1.1 Initialize Wide Vertical Bar Graph (254 118) . . . . . . . . . . . . . . . . . . . . . 18
4.1.2 Initialize Narrow Vertical Bar Graph (254 115) . . . . . . . . . . . . . . . . . . . . 18
4.1.3 Draw Vertical Bar Graph (254 61 [column][height]) . . . . . . . . . . . . . . . . . 18
4.1.4 Initialize Horizontal Bar Graph (254 104) . . . . . . . . . . . . . . . . . . . . . . . 19
4.1.5 Draw Horizontal Bar Graph (254 124 [column][row][dir][length]) . . . . . . . . . . 19
4.1.6 Define Custom Character (254 78 [c][8 bytes]) . . . . . . . . . . . . . . . . . . . . 19
4.1.7 Remember Custom Character (254 194 [c][8 bytes]) . . . . . . . . . . . . . . . . . 20
4.1.8 Initialize Medium Digits (254 109) . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.1.9 Draw Medium Digits (254 111 [row][column][digit]) . . . . . . . . . . . . . . . . . 21

5 Fan and GPO Commands

21

5.1 Display Return Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2 Fan and GPO Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

5.2.1 General Purpose Output Off (254 86 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 22
5.2.2 General Purpose Output On (254 87 [gpo #]) . . . . . . . . . . . . . . . . . . . . . 22
5.2.3 PWM Value (254 192 [fan #] [PWM value]) . . . . . . . . . . . . . . . . . . . . . . 22
5.2.4 Return Fan RPM (254 193 [fan #]) . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.2.5 Remember GPO / PWM State (254 195 [fan #] [PWM value]) . . . . . . . . . . . . 23
5.2.6 Set PWM Base Frequency (254 196 [index]) . . . . . . . . . . . . . . . . . . . . . 23
5.2.7 Remember PWM Base Frequency (254 197 [index]) . . . . . . . . . . . . . . . . . 24

6 1-Wire Commands

25

6.1 Device Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 ROM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.4 Display 1-Wire functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

6.4.1 Transaction command (254 C8 1 [flags] [Send Bits] [Recieve bits] [Send data]) . . . 26
6.4.2 Search command (254 C8 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Matrix Orbital

PK202-24-USB

iii

Advertising