Microtronics PIC Lab-II User Manual Download Page 7

1

2

3

4

5

6

A

B

C

D

6

5

4

3

2

1

D

C

B

A

Title

Number

Revision

Size

B

Date:

14-Mar-2008

Sheet    of 

File:

D:\PIC3\40Pin.Ddb

Drawn By:

1
2

B1

9V

D1

4004

+

C1

100u

Vin

1

GND

2

Vout

3

U1
7805

+ C2

100u

R1

330

LED1

Pwr

SW1

ON-OFF

VDD

RA0

2

RA1

3

RA2

4

RA3

5

RA4/T0CKI

6

RA5/SS

7

RB0/INT

33

RB1

34

RB2

35

RB3

36

RB4

37

RB5

38

RB6

39

RB7

40

RC0/T0OSO/T1CKI

15

RC1/T0OSI

16

RC2/CCP1

17

RC3/SCK/SCL

18

RC4/SDI/SDA

23

RC5/SDO

24

RC6

25

RC7

26

RD0/PSP0

19

RD1/PSP1

20

RD2/PSP2

21

RD3/PSP3

22

RD4/PSP4

27

RD5/PSP5

28

RD6/PSP6

29

RD7/PSP7

30

RE0/RD

8

RE1/WR

9

RE2/CS

10

MCLR/VPP

1

OSC1/CLKIN

13

OSC2/CLKOUT

14

U2

16F877A

Y1

20MHz

C3
22p

C4
22p

R2
10K

VDD

SW2

RST

MCLR

RA0
RA1
RA2
RA3
RA4
RA5
RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7
RE0
RE1

RE2

RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7

LED2

LED3

LED4

LED5

LED6

LED7

LED8

LED9

1

2

3

4

5

6

7

8

16

15

14

13

12

11

10

9

RP1
220

RC0

RC1

RC2

RC3

RC4

RC5

RC6

RC7

1
6
2
7
3
8
4
9
5

J8

DB9

R1 IN

13

R2 IN

8

T1 IN

11

T2 IN

10

GND

15

V+

2

V-

6

VC

C

16

R1 OUT

12

R2 OUT

9

T1 OUT

14

T2 OUT

7

C1+

1

C1 -

3

C2+

4

C2 -

5

U3

MAX232

+

C5

10u

+ C6

10u

+

C7
10u

+ C8

10u

VDD

VDD

T2OUT

T2OUT

R2IN

R2IN

RC7

RC6

R1IN

T1OUT

T1OUT

1
2
3
4
5
6
7
8
9
10

J2
PORTB

1
2
3
4
5
6
7
8
9
10

J3
PORTC

1
2
3
4
5
6
7
8
9
10

J4
PORTD

RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7

RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7

RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7

VDD

VDD

VDD

1
2
3
4
5
6
7
8

J5

PORTA

1
2
3
4
5

J6

PORTE

RA0
RA1
RA2
RA3
RA4
RA5

VDD

RE0
RE1
RE2

VDD

S3

SW3-RE0

S4

SW4-RE1

S5

SW5-RB0

S6

SW6-RE2

S7

SW7-RA4

SW3

SW4

SW5

SW6

SW7

1

2

3

4

5

6

7

8

16

15

14

13

12

11

10

9

DIP1
ENABLE

SW3

SW4

SW5

SW6

SW7

RB0

RE

0

RE

1

RE

2

RA

4

1

16

R4A
10K

2

15

R4B
10K

3

14

R4C
10K

4

13

R4D
10K

5

12

R4E
10K

IR

E

RA

3

VDD

1
2
3

IR1

IR

VDD

C9

0.01u

VDD

IRE

6

11

R4F
10K

Q6

C828

R6

2.2K

R5
2.2K

1

2

PIZO1
PIZO

VDD

RA5

1
2
3
4
5
6

J9

ICSP

MCLR
VDD
VSS
RB7
RB6
RB3

A0

1

A1

2

A2

3

G

4

SDA

5

SCL

6

WP

7

VCC

8

U6

24C04

VDD

RC3
RC4

7

10

R4G
10K

8

9

R4H
10K

LED

LED

GND

1

VC

C

2

VEE

3

RS

4

RW

5

E

6

D0

7

D1

8

D2

9

D3

10

D4

11

D5

12

D6

13

D7

14

LED +

15

LED -

16

Charcter LCD

LCD1

LCD

RD

2

RD

3

RD

4

RD

5

RD

6

RD

7

R8
1.5K

LCD

1
2
3

J10

TOCKI

VDD

R9
10K

VDD

RA4

LC

D

VDD

1
2
3
4

J11
I2CBUS

RC3
RC4

VDD

1
2
3

J12
PWM

VDD

RC2

1
2
3

J13

AN0

1
2
3

J14

AN1

VDD

VDD

RA0

RA1

Summary of Contents for PIC Lab-II

Page 1: ...Microtronics Pakistan www electronicspk com PIC Lab II Manual 1 Microtronics Pakistan PIC Lab II Motherboard User Manual Microtronics Pakistan ...

Page 2: ...oad through the board like motor or LEDs etc make sure that the supply current is appropriate In that case we recommend 9V 12V DC adapter 800mA to 1000mA The adapter must have center pin supplying Positive Reverse polarity is checked however There is a blocking diode which will not allow the reverse polarity to reach the board There is an On OFF switch and a Power ON LED indicator The Voltage regu...

Page 3: ... projects We will talk about the related Switch in appropriate topics LED Indicators PORTC 0 PORTC 7 PIC Lab II has 8 Led indicators connected to PORTC of the microcontroller The LEDs are connected through 220 ohms current limiting resistor and are sourced by the microcontroller Therefore a logical 1 or on state of the microcontroller pin will turn the corresponding LED ON DIP Switch 1 will enable...

Page 4: ...he board has however given this a permanent address of 000 The I2C code for EEPROM is 1010 next three bits would be EEPROM chip address and last bit is direction Therefore the complete ad dress to write on EEPROM would be 1010 000 0 and to read it would be 1010 000 1 I2C BUS Connector The board also provides an I2C Bus as a connector which contains connection for SDA and SCL pins along with Power ...

Page 5: ... we talk about 16F877A it has analog inputs on PORTA and E all these pins are available for projects through PORT headers However we have specially included two connectors from PORTA 0 and PORTA 1 along with power supply on board These three pin connectors can be used directly to any analog device giving upto 5V analog signal Pulse Width Modulation Connector PORTC 2 Pulse Width modulation is a com...

Page 6: ...r might use RB3 RB6 and RB7 so your application must not be using them at least at the time of programming the pins should be free By default these pins are free on board If you are connecting an external board just remove the connector Keep the system power on while programming as the programmers can give only small amount of power which is enough for microcontroller but not for the entire board ...

Page 7: ... OUT 9 T1 OUT 14 T2 OUT 7 C1 1 C1 3 C2 4 C2 5 U3 MAX232 C5 10u C6 10u C7 10u C8 10u VDD VDD T2OUT T2OUT R2IN R2IN RC7 RC6 R1IN T1OUT T1OUT 1 2 3 4 5 6 7 8 9 10 J2 PORTB 1 2 3 4 5 6 7 8 9 10 J3 PORTC 1 2 3 4 5 6 7 8 9 10 J4 PORTD RB0 RB1 RB2 RB3 RB4 RB5 RB6 RB7 RC0 RC1 RC2 RC3 RC4 RC5 RC6 RC7 RD0 RD1 RD2 RD3 RD4 RD5 RD6 RD7 VDD VDD VDD 1 2 3 4 5 6 7 8 J5 PORTA 1 2 3 4 5 J6 PORTE RA0 RA1 RA2 RA3 RA4...

Reviews: