1
1
2
2
3
3
4
4
D D
C C
B B
A A
Title
Number RevisionSize
A4
Date: 2022/3/9 Sheet of
File: I:\办公2022\垃圾桶\原理图\Sheet1.SchDocDrawn By:
1 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
Q1
PNP
LS1
Speaker
D1
LED3
GND
VCC
GND
10K
R7
Res2
S2
SW-PB
S3
SW-PB
PB0
PB1
PB2
PB3
PB4
PB5
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
PC6 (PCINT14/RESET)
1
PD0 (PCINT16/RXD)
2
PD1 (PCINT17/TXD)
3
PD2 (PCINT18/INT0)
4
PD3 (PCINT19/OC2B/INT1)
5
PD4 (PCINT20/XCK/T0)
6
VCC
7
GND
8
PB6 (PCINT6/XTAL1/TOSC1)
9
PB7 (PCINT7/XTAL2/TOSC2)
10
PD5 (PCINT21/OC0B/T1)
11
PD6 (PCINT22/OC0A/AIN0)
12
PD7 (PCINT23/AIN1)
13
PB0 (PCINT0/CLKO/ICP1)
14
PB1 (OC1A/PCINT1)
15
PB2 (SS/OC1B/PCINT2)
16
PB3 (MOSI/OC2A/PCINT3)
17
PB4 (MISO/PCINT4)
18
PB5 (SCK/PCINT5)
19
AVCC
20
AREF
21
GND
22
PC0 (ADC0/PCINT8)
23
PC1 (ADC1/PCINT9)
24
PC2 (ADC2/PCINT10)
25
PC3 (ADC3/PCINT11)
26
PC4 (ADC4/SDA/PCINT12)
27
PC5 (ADC5/SCL/PCINT13)
28
U1
ATmega328-PU
GND
VCC
GND
1M
R3
Res2
VCC GND
GND
10K
R5
Res2
10K
R8
Res2
1
2
3
P3
距离传感器接口
1
2
3
P2
热释电传感器接口
GND GND
VCC VCC
D2
LED3
10K
R6
Res2
10K
R4
Res2
GND
VCC
PB0
PB1
1B
1
2B
2
3B
3
4B
4
5B
5
6B
6
7B
7
1C
16
2C
15
3C
14
4C
13
5C
12
6C
11
7C
10
COM
9
GND
8
U2
ULN2003
M
B1
Motor Step
VCC
PB2
PB3
PB4
PB5