User’s Manual
13
•
KEYLCD.C
—demonstrates a simple setup for a 2 × 6 keypad and a 2 × 20 LCD.
Connect the keypad to Parallel Ports B, C, and D.
PB0—Keypad Col 0
PC1—Keypad Col 1
PB2—Keypad Col 2
PB3—Keypad Col 3
PB4—Keypad Col 4
PB5—Keypad Col 5
PD3—Keypad Row 0
PD4—Keypad Row 1
Connect the LCD to Parallel Port A.
PA0—backlight (if connected)
PA1—LCD /CS
PA2—LCD RS (High = Control,
Low = Data) / LCD Contrast 0
PA3—LCD /WR/ LCD Contrast 1
PA4—LCD D4 / LCD Contrast 2
PA5—LCD D5 / LCD Contrast 3
PA6—LCD D6 / LCD Contrast 4
PA7—LCD D7 / LCD Contrast 5
Once the connections have been made and the sample program is running, the LCD
will display two rows of 6 dots, each dot representing the corresponding key. When a
key is pressed, the corresponding dot will become an asterisk.
PB2
PB0
PB3
PB4
PB5
PC1
VCC
10 k
W
resistors
RCM2200/RCM2300
Prototyping Board
J8
J7
11
12
13
14
4
11
10
PD4
PD3
Keypad
Col 1
Row 0
Row 1
NC
NC
Col 0
Col 2
Col 3
Col 4
Col 5
10
7
8
9
10
PA2
PA1
PA3
PA4
PA5
PA6
PA7
VLC
20
k
W
10
k
W
4.7
k
W
2.2
k
W
1
k
W
470
W
680
W
100 nF
3
6
4
5
11
12
13
14
2
RCM2200/RCM2300
Prototyping Board
J8
2
3
4
5
6
7
8
2x20 LCD
/CS
RS
/WR
D4
D5
D6
D7
D0
D1
D2
D3
VLC
VCC
Summary of Contents for RabbitCore RCM2200
Page 1: ...RabbitCore RCM2200 C Programmable Module with Ethernet User s Manual 019 0097 090417 G...
Page 6: ...RabbitCore RCM2200...
Page 36: ...30 RabbitCore RCM2200...
Page 42: ...36 RabbitCore RCM2200...
Page 66: ...60 RabbitCore RCM2200...
Page 76: ...70 RabbitCore RCM2200...
Page 80: ...74 RabbitCore RCM2200...
Page 86: ...80 RabbitCore RCM2200...
Page 90: ......