User`s guide
UART via USB
Modern PC computers, laptops and notebooks are
no longer equipped with RS-232 connectors and
UART controllers. They are nowadays replaced with
USB connectors and USB controllers. Still, certain technology
enables UART communication to be done via USB connection.
FT232RL from FTDI® convert UART signals to the appropriate USB
standard. In order to use USB-UART module on EasyPIC
™
v7, you must
rst install FTDI drivers on your computer. Drivers can be
found on Product DVD:
USB-UART communication is being done through
a FT232RL controller, USB connector (CN32),
and microcontroller UART module. To establish this connection,
you must put J3 and J4 jumpers in the USB-UART
position, and connect RX and TX lines to the
appropriate pins of the microcontroller.
This connection is done using DIP
switches SW1 and SW2.
1
2
3
4
5
6
7
8
9
10
11
12
13
14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
TXD
DTR#
RTS#
VCCIO
RXD
RI#
GND
NC
DSR#
DCD#
CTS#
CBUS4
CBUS2
CBUS3
CBUS0
CBUS1
OSCO
OSCI
TEST
AGND
NC
GND
GND
VCC
RESET#
3V3OUT
USBDM
USBDP
FT232RL
U2
FT232RL
VCC-5V
C32
100nF
RX-LED
TX-LED
R9
4K7
R8
2K2
R78
4K7
R79
10K
1
2
3
4
VCC
GND
D-
D+
CN32
USB B
C34
100nF
C50
100nF
E12
10uF
VCC-5VVCC-5V
TX-FTDI
RX-FTDI
USB UA RT
CONNECTOR
TXRX
VCC-MCU VCC-MCU VCC-MCU
VCC-MCU
1 2 3 4 5 6 7 8
O
N
SW1
RX-FTDI
RX-232
RX
1 2 3 4 5 6 7 8
O
N
SW2
TX-FTDI
TX-232
TX
RB1
RB4
RB2
RC7
RA3
RB5
RC5
RD7
RB2
RB1
RB5
RC6
RA2
RB7
RC4
RD6
J3
J4
DATA BUS
Figure 7-1: USB-UART connection schematic
Enabling USB-UART
In order to enable USB-UART
communication, you must set J3
and J4 jumpers in the USB-UART
position, and enable desired RX
and TX lines via SW1 and SW2 DIP
switches. For example, if you want
to enable USB-UART connection
on UART1 module of the default
PIC18F45K22 chip, you should
enable SW1.1 (RC7) and SW2.1
(RC6) lines.
DVD://download/eng/software/development-tools/
universal/ftdi/vcp_drivers.zip
page 17
communication
19122011
www.mikroe.com
Copyright ©2011 Mikroelektronika.
All rights reserved. Mikroelektronika, Mikroelektronika logo and other
Mikroelektronika trademarks are the property of Mikroelektronika.
All other trademarks are the property of their respective owners.
Unauthorized copying, hiring, renting, public performance
and broadcasting of this DVD prohibited.
A
v
a
i
l
a
b
l
e
o
n
P
r
o
d
u
c
t
D
V
D
!