Microchip Technology DV164136 User Manual

Page of 38
Getting Started
© 2008 Microchip Technology Inc.
DS51721B-page 19
2.5
CONNECTING TO HOST PC FOR RS-232 COMMUNICATION
As shown in Figure 2-9, there are two ways to connect a PC to the PICDEM PIC18 
Explorer Demonstration Board.
• Via the USB Port 
• Via the DB9 Pin (RS-232 Port)
FIGURE 2-9:
BOARD TO PC CONNECTION
2.5.1
PC Connection Via DB9 Pin
To connect the PICDEM PIC18 Explorer Demonstration Board to a host PC via the 
nine-pin DB9 connector, set jumper J13, as shown in the first illustration in Figure 2-10.
This routes the main microcontroller’s communications through a transceiver.
FIGURE 2-10:
JUMPER J13 – SETTINGS FOR RS-232 OR USB
Host
PC
Board
USB
DB9
PIC18LF2450
Microcontroller
J13
Main
PIC
®
MCU
UART Transceiver
Tx
Rx
Tx
Rx
Tx
Rx
X
1
X
2
Connecting to 
Nine-Pin RS-232 Port
Connecting to 
USB Port
J13
J1
3