1
1
2
2
3
3
4
4
D D
C C
B B
A A
Title
Number RevisionSize
A4
Date: 2022/6/3 Sheet of
File: I:\办公2021下\教室光控5.21\原理图\Sheet1.SchDocDrawn By:
P1.0
1
P1.1
2
P1.2
3
P1.3
4
P1.4
5
P1.5
6
P1.6
7
P1.7
8
RST
9
P3.0/RXD
10
P3.1/TXD
11
P3.2/INT0
12
P3.3/INT1
13
P3.4/T0
14
P3.5/T1
15
P3.6/WR
16
P3.7/RD
17
XTAL2
18
XTAL1
19
GND
20
P2.0
21
P2.1
22
P2.2
23
P2.3
24
P2.4
25
P2.5
26
P2.6
27
P2.7
28
PSEN
29
ALE/PROG
30
EA
31
P0.7
32
P0.6
33
P0.5
34
P0.4
35
P0.3
36
P0.2
37
P0.1
38
P0.0
39
VCC
40
U1
80511 2
Y1
XTAL
30pF
C2
Cap
10uF
C1
Cap Pol1
30pF
C3
Cap
10K
R1
Res2
GND
VCC
15
A
14
D7
13
D6
12
D5
11
D4
10
D3
9
D2
8
D1
7
D0
6
E
5
RW
4
RS
3
V0
2
VCC
1
GND
16
K
LCD1602
LCD1
1
2
3
4
5
6
7
8
9
RP1
RESP
S1
SW-PB
D1
LED3
GND
S2
SW-PB
S3
SW-PB
S4
SW-PB
S5
SW-PB
S6
SW-PB
S7
SW-PB
P30
P31
P32
P33
P34
P35
P36
P37
P10
P11
P12
P13
P14
P15
P16
P17
Vin Vout
GND
7805
Volt Reg
0.1uF
C5
Cap
100uF
C4
Cap Pol1
0.1uF
C7
Cap
100uF
C6
Cap Pol1
1
2
P1
电源接口
GND
VCC
1K
R2
RPot
VCC
VCC
P00
P01
P02
P03
P04
P05
P06
P07
P27
P26
P25
P24
P23
P22
P21
P20
10K
R3
Res2
VCC
P00
P01
P02
P03
P04
P05
P06
P07
P10
P11
P12
GND
P13
P14
P30
P31
P32
P33
D2
LED3
10K
R4
Res2
D3
LED3
10K
R5
Res2
D4
LED3
10K
R6
Res2
P34
P35
P36
P37
10K
R7
Res2
VCC
D5
Photo Sen
10K
R8
Res2
GND
2
3
6
4 7
1
8
5
AR1
Op Amp
GND
VCC
10K
R9
Res2
P15
X1
2
VCC1
8
VCC2
1
RST
5
SCLK
7
I/O
6
X2
3
GND
4
U2
DS1302
BT?
Battery
1 2
Y2
XTAL
GND
VCC
P27
P26
P25