Special Port

This is a bunch of most used port pins of PIC microcontroller. These ports ease the process of interfacing external modules. Modules available through special ports are SPI (J45), I2C (J19), UART (J35), Analog (AN0), PWM and External Interrupt (INT) pins with power & ground.

Special Port for external connectivity

 UART

J35

1

2

3

Pin Name

TX

RX

GND

Pin description

TX – UART transmitter pin, RC6

RX – UART receiver pin, RC7

GND – Ground pin

I2C

J19

1

2

3

Pin Name

SDA

SCL

GND

Pin description

SDA – Serial Data pin of I2C module, RB0

SCL – Serial Clock pin of I2C module, RB1

GND – Ground pin

SPI

J45

1

2

3

4

Pin Name

CS

SCK

SDI

SDO

Pin description

CS – Chip Select pin, RB4

SCK – Serial Clock pin of SPI module, RB1

SDI – Serial Data pin of SPI module, RB0

GND – Ground pin

Common Port

J31

1

2

3

4

Pin Name

AN0

GND

PWM

INT

Pin description

AN0 – Analog pin, RA0

GND – Ground

PWM – Pulse width modulator pin, RC2

INT – External interrupt, RD1

Power Port

J31

1

2

Pin Name

GND

5V

Pin description

GND – Ground pin

5V – Power, 5V