Вы находитесь на странице: 1из 11

PIC-MT-USB development board

Users Manual

All boards produced by Olimex are ROHS compliant

Rev. A, November 2007

Copyright(c) 2011, OLIMEX Ltd, All rights reserved

Page 1

INTRODUCTION:
PIC-MT-USB is small development board for 40 pin PIC microcontroller.
With its LCD, two buttons, USB, ICSP and extension connector for some of the
microcontroller's pins this board is suitable for different embedded systems
applications.

BOARD FEATURES:

ICSP/ICD connector for programming with PIC-MCP-USB, PIC-MCP or


PIC-PG1, PIC-PG2, PIC-PG3, PIC-PG4 and debugging with PIC-ICD2, PICICD2-POCKET, PIC-ICD2-TINY or is PIC16F87X microcontroller is used
PIC-ICD1

DIL-40 for PIC microcontroller

LCD 16x2 alphanumeric display with backlight

2 Buttons

bi-color LED

Power supply taken from USB port

Virtual USB-RS232 port

20 Mhz crystal

Extension headers for PIC unused ports

Four mounting holes

FR-4, 1.5 mm (0,062"), green soldermask, white silkscreen


component print

Dimensions 95x36 mm (3,7x1,4")

Page 2

ELECTROSTATIC WARNING:
The PIC-MT-USB board is shipped in protective anti-static packaging. The board
must not be subject to high electrostatic potentials. General practice for working
with static sensitive devices should be applied when working with this board.

BOARD USE REQUIREMENTS:


Cables:
Depends on the used programming/debugging tool. It could be 1.8
meter USB A-B cable to connect PIC-ICD2-POCKET, PIC-ICD2, PIC-MCP-USB to
USB host on PC or RS232 cable in case of PIC-ICD2-TINY, PIC-MCP or other
programming/debugging tools.
Hardware:
Programmer/Debugger some of Olimex programmers are
applicable, for example PIC-ICD2, PIC-ICD2-POCKET, PIC-ICD2-TINY, PICMCP, PIC-MCP-USB or other compatible programming/debugging tool.

Page 3

USB

C26

NA

C15

NA

C36
100nF

C37

10uF/6.3V

B1

GND

0
0

Page 4

100nF

C5

220

R11

B1

B2
100nF

C6

220

R12
B2

A1

LED
2X3MMLED

A2(RED)

R3
470

7
25

R2
10K

18
LED1

26
21

R1
10K

+5V

23
22
13
14
12

1
5
3
11
2
9
10
6

R18
R19

LED2

R9
470

1.5K

R4

R10
opt

R5
10K

C2
20pF
C3
20pF

RTS

RXD
TXD

R7
opt

220
220

LIGHT_LCD

TR1
10K

FT232RLSSOP28

CBUS0
CBUS1
CBUS2
CBUS3
CBUS4

TXD
RXD
RTS#
CTS#
DTR#
DSR#
DCD#
RI#

C40
47uF/6.3V

T1
BC846

R6

Q2
20MHz

RXD
TXD
RTS
CTS
DTR
DSR
DCD
RI

RC0
RC1
RC2
RC3
RS
R/W

RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2

RST

RS
R/W
E

DB4
DB5
DB6
DB7

R8
10K

4
5
6

11
12
13
14

15
16

13
14
15
16
17
18
19
20

2
3
4
5
6
7
8
9
10

VDD

_RS
R/W
E

DB4
DB5
DB6
DB7

LIGHT+
LIGHT-

VO

+5V

OSC1/CLKIN
OSC2/CLKOUT
RC0/T1OSO
RC1/T1OSI
RC2/CCP1
RC3/SCK
RD0/PSP0
RD1/PSP1
VSS

RA0/AN0
RA1/AN1
RA2/AN2
RA3/AN3
RA4/T0CKI
RA5/AN4
RE0/RD#/AN5
RE1/WR#/AN6
RE2/CS#/AN7

MCLR#/THV

U1

+5V

VDD

+5V

GND1
AGND

http://www.olimex.com/dev

3V3OUT

NC1
#RESET
NC2
OSCI
OSCO

GND2

COPYRIGHT(C) 2007, OLIMEX Ltd.

100nF

C38

17

8
19
24
27
28

USBDM
USBDP

VCCIO
VCC

TEST
GND3

Rev. A

R13
10K

4.7K

R14

16
15

4
20

FT232RL

PIC-MT-USB

R20
R15

USBDM
USBDP

10nF

C14

S H IE L D

1
2
3
4

FB1

PWREN

USB

1K

R17

100nF

C39

+5V

11
32

U2

FET
IRLML6402

10
8
6
4
2

RXD
RC4
RC2
RC0

RA0
RA2
RA4
RE0
RE2

DB7
DB6
DB5
DB4
RXD
TXD
RC5
RC4
LIGHT_LCD
E

30
29
28
27
26
25
24
23
22
21

EXT2

EXT1

LED1
LED2
RB0

B1
B2

+5V
40
39
38
37
36
35
34
33

9
7
5
3
1

PIC16F877P

PSP7/RD7
PSP6/RD6
PSP5/RD5
PSP4/RD4
RX/RC7
TX/RC6
SDO/RC5
SDI/RC4
RD3/PSP3
RD2/PSP2

PGD/RB7
PGC/RB6
RB5
RB4
PGM/RB3
RB2
RB1
INT/RB0

C1
100nF

C4
100nF

9
7
5
3
1

10
8
6
4
2

RST

RA1
RA3
RA5
RE1
RB0

TXD
RC5
RC3
RC1

1
2
3
4
5
6

+5V

ICSP

SCHEMATIC:

12
31
VSS 1

BOARD LAYOUT:

POWER CIRCUIT:
PIC-MT-USB can take power +5V from USB.

RESET CIRCUIT:
PIC-MT-USB reset circuit includes R8 (10k) pull-up, ICSP pin 1, U1 - pin 1
(MCLR#).

CLOCK CIRCUIT:
Quartz crystal Q2 (20 MHz) is connected to U1 pin 13 (OSC1/CLKIN) and pin 14
(OSC2/CLKOUT).

Page 5

JUMPER DESCRIPTION:
- There are no jumpers on this board.

INPUT/OUTPUT:
User button with name B1, connected to U1 - pin 38 (RB5).
User button with name B2, connected to U1 - pin 37 (RB4).
LCD 16x2 display with BACKLIGHT, connected as follows: RS to U1 - pin 19
(RD0); R/W to U1 - pin 20 (RD1); E to U1 - pin 21 (RD2), DB4 to U1 - pin 27
(RD4), DB5 to U1 - pin 28 (RD5), DB6 to U1 - pin 29 (RD6), DB7 to U1 - pin 30
(RD7).
Potentiometer with name TR1 for setting LCD contrast voltage.
Bi-colour status Led with name LED connected to U1 - pin 35 (red) and to U1 pin
34 (green).

EXTERNAL CONNECTORS DESCRIPTION:


ICSP:
Pin #

Signal Name

RST

+5V

GND

U1 pin 40 (RB7)

U1 pin 39 (RB6)

U1 pin 36 (RB3)

USB:
Pin #

Signal Name

USB_PWR

USBDM

USBDP

GND

Page 6

EXT1:

Pin #

Signal Name

RC0

RC1

RC2

RC3

RC4

RC5

RXD

TXD

GND

10

+5V

Pin #

Signal Name

RB0

RE2

RE1

RE0

RA5

RA4

RA3

RA2

RA1

10

RA0

EXT2:

Page 7

MECHANICAL DIMENSIONS:

Page 8

AVAILABLE DEMO SOFTWARE:

Blinking LED for PIC16F877 demo code (C source and HEX)

Button read for PIC16F877 demo code (C source and HEX)


RS232 send / receive for PIC16F877 demo code (C source and HEX)
LCD display write for PIC16F877 demo code (C source and HEX)

Page 9

ORDER CODE:
PIC-MT-USB - completely assembled and tested.
How to order?
You can order to us directly or by any of our distributors.
Check our web www.olimex.com/dev for more info.

Revision history:
Rev. A

- create November 2007

Page 10

Disclaimer:
2011 Olimex Ltd. All rights reserved. Olimex, logo and combinations thereof, are registered trademarks of
Olimex Ltd. Other terms and product names may be trademarks of others.
The information in this document is provided in connection with Olimex products. No license, express or implied
or otherwise, to any intellectual property right is granted by this document or in connection with the sale of
Olimex products.
Neither the whole nor any part of the information contained in or the product described in this document may be
adapted or reproduced in any material from except with the prior written permission of the copyright holder.
The product described in this document is subject to continuous development and improvements. All particulars
of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties
implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are
excluded.
This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for
any loss or damage arising from the use of any information in this document or any error or omission in such
information or any incorrect use of the product.

Page 11