Port assignment DP-113 demoboard
|
LCD DISPLAY (1602 type = 16 character/ 2 lines ) |
|||
|
RW bit |
|
portA |
2 |
|
RS bit |
|
portA |
3 |
|
E bit |
|
portA |
1 |
|
Databit d0 |
|
portD |
0 |
|
Databit d1 |
|
portD |
1 |
|
Databit d2 |
|
portD |
2 |
|
Databit d3 |
|
portD |
3 |
|
Databit d4 |
|
portD |
4 |
|
Databit d5 |
|
portD |
5 |
|
Databit d6 |
|
portD |
6 |
|
Databit d7 |
|
portD |
7 |
|
VEE (contrast) |
|
portC |
1 |
|
7 segment LED display (4 digits) |
|||
|
Segment a |
|
portD |
0 |
|
Segment b |
|
portD |
1 |
|
Segment c |
|
portD |
2 |
|
Segment d |
|
portD |
3 |
|
Segment e |
|
portD |
4 |
|
Segment f |
|
portD |
5 |
|
Segment g |
|
portD |
6 |
|
Segment decimal point |
|
portD |
7 |
|
Digit 1 |
|
portB |
7 |
|
Digit 2 |
|
portB |
6 |
|
Digit 3 |
|
portB |
5 |
|
Digit 4 |
|
portB |
4 |
|
LEDs |
|||
|
PWR |
|
|
|
|
RB0 |
|
portB |
0 |
|
RB1 |
|
portB |
1 |
|
RB2 |
|
portB |
2 |
|
RB3 |
|
portB |
3 |
|
SWITCHES |
|||
|
SW1 RA4 |
|
portA |
4 |
|
SW2 RB0 |
|
portB |
0 |
|
SW3 (reset/mclr) |
|
portE |
3 |
|
CP2102 (USB/RS232 converter) |
|||
|
USB Tx |
|
portC |
7 |
|
USB Rx |
|
portC |
6 |
|
SPEAKER |
|||
|
output |
|
portC |
2 |
|
LM75 temperature tmx (I2C addr. = 0xA0 ) |
|||
|
SDA |
|
portC |
4 |
|
SCL |
|
portC |
5 |
|
24C04 EEPROM (4K bit serial I2C eeprom) |
|||
|
SDA |
|
portC |
4 |
|
SCL |
|
portC |
5 |
|
OSCILLATOR (20 Mhz crystal) |
|||
|
OSC1 |
|
portA |
6 |
|
OSC2 |
|
portA |
7 |


