Formatted: Font: 12 PT, Bold: R RE DE D VCC B A GND R RE DE D VCC A B GND
Formatted: Font: 12 PT, Bold: R RE DE D VCC B A GND R RE DE D VCC A B GND
Formatted: Font: 12 PT, Bold: R RE DE D VCC B A GND R RE DE D VCC A B GND
29
28
27
26
25
24
23
22
21
20
19
18
17
16
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
RD1
RD0
40
39
38
37
36
35
34
33
30
29
28
27
26
25
24
23
22
21
20
19
1
2 MCLR
3 RA0
4 RA1
5 RA2
6 RA3
7 RA4
8 RA5
9 RE0
RE1
10 VCC
11 RE2
32 VDD
12 VDD
31 VSS
15 VSS
16 RC0
17 RC1
18 RC2
13 RC3
14 OSC1
OSC2
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
RD1
RD0
PI C18F452
VIN
GND
RESET
+5V
A7
A6
A5
A4
A3
A2
A1
A0
AREF
3V3
D13
MCLR
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
VDD
VDD
VSS
VSS
RC0
RC1
RC2
RC3
OSC1
OSC2
PI C18F452
D1/TX
D0/RX
RESET
GND
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1
2
3
4
5
6
7
8
9
10
11
32
12
31
15
16
17
18
13
14
40
39
38
37
36
35
34
33
30
29
28
27
26
25
24
23
22
21
20
19
VCC
485 . 2 pic
24V
+24V
S1
1
VOUT
D?
LED
GND
CCP1_RC1
R3
1K
Vcc+5V
Vcc+5V
VCC_ARROW
150
150
LED
LED
D?
LED
PHOTORESISTOR
150
D?
LED
D?
LED
16
15
14
13
12
11
10
9
PHOTORESISTOR
LED
10K
150
1
2
3
4
5
6
7
8
ULN2003
LED
VIN
C1 SW SPST
10up
D1
Vcc+5V
U1
LM7805
10K
150
Vcc+5V
150
3K
Vcc
33pF
33pF
1
2
3
4
5
6
7
8
9
10
11
32
12
31
15
16
17
18
13
14
4MHz
MCLR
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
VDD
VDD
VSS
VSS
RC0
RC1
RC2
RC3
OSC1
OSC2
Microcontroller
VCC_ARROW
S?
Button
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
RD1
RD0
40
39
38
37
36
35
34
33
30
29
28
27
26
25
24
23
22
21
20
19
3K
10K
10uF
Vcc+5V
Vcc
2
1
PIR sensor
33pF
Vcc+5V
1
2
3
4
5
6
7
8
9
10
11
32
12
31
15
16
17
18
13
14
MCLR
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
VDD
VDD
VSS
VSS
RC0
RC1
RC2
RC3
OSC1
OSC2
PI C18F452
10uF
PI C18F452
Vcc+5V
RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2
RD1
RD0
3
2
1
PIR sensor
Vcc+5V
Microcontroller
RS485
1
Vcc
RE
DE
GND
33pF
4MHz
10K
40
39
38
37
36
35
34
33
30
29
28
27
26
25
24
23
22
21
20
19
RS485
1
Vcc
RE
DE
GND