317 lines
7 KiB
Text
317 lines
7 KiB
Text
|
EESchema-LIBRARY Version 2.3
|
||
|
#encoding utf-8
|
||
|
#
|
||
|
# ATTINY2313-20SU
|
||
|
#
|
||
|
DEF ATTINY2313-20SU U 0 40 Y Y 1 F N
|
||
|
F0 "U" -950 1000 50 H V C CNN
|
||
|
F1 "ATTINY2313-20SU" 750 -900 50 H V C CNN
|
||
|
F2 "Housings_SOIC:SOIC-20W_7.5x12.8mm_Pitch1.27mm" 0 0 50 H I C CIN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
DRAW
|
||
|
S 1000 -850 -1000 950 0 1 10 f
|
||
|
X PA2(~RESET~/dW) 1 -1150 800 150 R 40 40 1 1 I
|
||
|
X (RXD)PD0 2 1150 -100 150 L 40 40 1 1 B
|
||
|
X (TXD)PD1 3 1150 -200 150 L 40 40 1 1 B
|
||
|
X PA1(XTAL2) 4 -1150 500 150 R 40 40 1 1 I
|
||
|
X PA0(XTAL1) 5 -1150 300 150 R 40 40 1 1 I
|
||
|
X (CKOUT/XCK/INT0)PD2 6 1150 -300 150 L 40 40 1 1 B
|
||
|
X (INT1)PD3 7 1150 -400 150 L 40 40 1 1 B
|
||
|
X (T0)PD4 8 1150 -500 150 L 40 40 1 1 B
|
||
|
X (OC0B/T1)PD5 9 1150 -600 150 L 40 40 1 1 B
|
||
|
X GND 10 0 -1000 150 U 40 40 1 1 W
|
||
|
X VCC 20 0 1100 150 D 40 40 1 1 W
|
||
|
X (ICP)PD6 11 1150 -700 150 L 40 40 1 1 B
|
||
|
X (PCINT0/AIN0)PB0 12 1150 800 150 L 40 40 1 1 B
|
||
|
X (PCINT1/AIN1)PB1 13 1150 700 150 L 40 40 1 1 B
|
||
|
X (PCINT2/OC0A)PB2 14 1150 600 150 L 40 40 1 1 B
|
||
|
X (PCINT3/OC1A)PB3 15 1150 500 150 L 40 40 1 1 B
|
||
|
X (PCINT4/OC1B)PB4 16 1150 400 150 L 40 40 1 1 B
|
||
|
X (PCINT5/MOSI/DI/SDA)PB5 17 1150 300 150 L 40 40 1 1 B
|
||
|
X (PCINT6/MISO/DO)PB6 18 1150 200 150 L 40 40 1 1 B
|
||
|
X (PCINT7/USCK/SCK/SCL)PB7 19 1150 100 150 L 40 40 1 1 B
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# C
|
||
|
#
|
||
|
DEF C C 0 10 N Y 1 F N
|
||
|
F0 "C" 25 100 50 H V L CNN
|
||
|
F1 "C" 25 -100 50 H V L CNN
|
||
|
F2 "" 38 -150 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
C_*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
P 2 0 1 20 -80 -30 80 -30 N
|
||
|
P 2 0 1 20 -80 30 80 30 N
|
||
|
X ~ 1 0 150 110 D 50 50 1 1 P
|
||
|
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# CP
|
||
|
#
|
||
|
DEF CP C 0 10 N Y 1 F N
|
||
|
F0 "C" 25 100 50 H V L CNN
|
||
|
F1 "CP" 25 -100 50 H V L CNN
|
||
|
F2 "" 38 -150 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
CP_*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
S -90 20 -90 40 0 1 0 N
|
||
|
S -90 20 90 20 0 1 0 N
|
||
|
S 90 -20 -90 -40 0 1 0 F
|
||
|
S 90 40 -90 40 0 1 0 N
|
||
|
S 90 40 90 20 0 1 0 N
|
||
|
P 2 0 1 0 -70 90 -30 90 N
|
||
|
P 2 0 1 0 -50 110 -50 70 N
|
||
|
X ~ 1 0 150 110 D 50 50 1 1 P
|
||
|
X ~ 2 0 -150 110 U 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# Conn_02x05_Odd_Even
|
||
|
#
|
||
|
DEF Conn_02x05_Odd_Even J 0 40 Y N 1 F N
|
||
|
F0 "J" 50 300 50 H V C CNN
|
||
|
F1 "Conn_02x05_Odd_Even" 50 -300 50 H V C CNN
|
||
|
F2 "" 0 0 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
Connector*:*2x??x*mm*
|
||
|
Connector*:*2x???Pitch*
|
||
|
Pin_Header_Straight_2X*
|
||
|
Pin_Header_Angled_2X*
|
||
|
Socket_Strip_Straight_2X*
|
||
|
Socket_Strip_Angled_2X*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
S -50 -195 0 -205 1 1 6 N
|
||
|
S -50 -95 0 -105 1 1 6 N
|
||
|
S -50 5 0 -5 1 1 6 N
|
||
|
S -50 105 0 95 1 1 6 N
|
||
|
S -50 205 0 195 1 1 6 N
|
||
|
S -50 250 150 -250 1 1 10 f
|
||
|
S 150 -195 100 -205 1 1 6 N
|
||
|
S 150 -95 100 -105 1 1 6 N
|
||
|
S 150 5 100 -5 1 1 6 N
|
||
|
S 150 105 100 95 1 1 6 N
|
||
|
S 150 205 100 195 1 1 6 N
|
||
|
X Pin_1 1 -200 200 150 R 50 50 1 1 P
|
||
|
X Pin_2 2 300 200 150 L 50 50 1 1 P
|
||
|
X Pin_3 3 -200 100 150 R 50 50 1 1 P
|
||
|
X Pin_4 4 300 100 150 L 50 50 1 1 P
|
||
|
X Pin_5 5 -200 0 150 R 50 50 1 1 P
|
||
|
X Pin_6 6 300 0 150 L 50 50 1 1 P
|
||
|
X Pin_7 7 -200 -100 150 R 50 50 1 1 P
|
||
|
X Pin_8 8 300 -100 150 L 50 50 1 1 P
|
||
|
X Pin_9 9 -200 -200 150 R 50 50 1 1 P
|
||
|
X Pin_10 10 300 -200 150 L 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# DB9_Male_MountingHoles
|
||
|
#
|
||
|
DEF DB9_Male_MountingHoles J 0 40 Y N 1 F N
|
||
|
F0 "J" 0 650 50 H V C CNN
|
||
|
F1 "DB9_Male_MountingHoles" 0 575 50 H V C CNN
|
||
|
F2 "" 0 0 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
DB*M*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
C -70 -400 30 0 1 0 F
|
||
|
C -70 -200 30 0 1 0 F
|
||
|
C -70 0 30 0 1 0 F
|
||
|
C -70 200 30 0 1 0 F
|
||
|
C -70 400 30 0 1 0 F
|
||
|
C 50 -300 30 0 1 0 F
|
||
|
C 50 -100 30 0 1 0 F
|
||
|
C 50 100 30 0 1 0 F
|
||
|
C 50 300 30 0 1 0 F
|
||
|
P 2 0 1 0 -150 -400 -100 -400 N
|
||
|
P 2 0 1 0 -150 -300 20 -300 N
|
||
|
P 2 0 1 0 -150 -200 -100 -200 N
|
||
|
P 2 0 1 0 -150 -100 20 -100 N
|
||
|
P 2 0 1 0 -150 0 -100 0 N
|
||
|
P 2 0 1 0 -150 100 20 100 N
|
||
|
P 2 0 1 0 -150 200 -100 200 N
|
||
|
P 2 0 1 0 -150 300 20 300 N
|
||
|
P 2 0 1 0 -150 400 -100 400 N
|
||
|
P 5 0 1 10 -150 -525 -150 525 150 375 150 -375 -150 -525 f
|
||
|
X PAD 0 0 -600 150 U 50 50 1 1 P
|
||
|
X 1 1 -300 -400 150 R 50 50 1 1 P
|
||
|
X 2 2 -300 -200 150 R 50 50 1 1 P
|
||
|
X 3 3 -300 0 150 R 50 50 1 1 P
|
||
|
X 4 4 -300 200 150 R 50 50 1 1 P
|
||
|
X 5 5 -300 400 150 R 50 50 1 1 P
|
||
|
X 6 6 -300 -300 150 R 50 50 1 1 P
|
||
|
X 7 7 -300 -100 150 R 50 50 1 1 P
|
||
|
X 8 8 -300 100 150 R 50 50 1 1 P
|
||
|
X 9 9 -300 300 150 R 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# D_Zener
|
||
|
#
|
||
|
DEF D_Zener D 0 40 N N 1 F N
|
||
|
F0 "D" 0 100 50 H V C CNN
|
||
|
F1 "D_Zener" 0 -100 50 H V C CNN
|
||
|
F2 "" 0 0 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
TO-???*
|
||
|
*SingleDiode
|
||
|
*_Diode_*
|
||
|
*SingleDiode*
|
||
|
D_*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
P 2 0 1 0 50 0 -50 0 N
|
||
|
P 3 0 1 8 -50 -50 -50 50 -30 50 N
|
||
|
P 4 0 1 8 50 -50 50 50 -50 0 50 -50 N
|
||
|
X K 1 -150 0 100 R 50 50 1 1 P
|
||
|
X A 2 150 0 100 L 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# GND
|
||
|
#
|
||
|
DEF GND #PWR 0 0 Y Y 1 F P
|
||
|
F0 "#PWR" 0 -250 50 H I C CNN
|
||
|
F1 "GND" 0 -150 50 H V C CNN
|
||
|
F2 "" 0 0 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
DRAW
|
||
|
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
|
||
|
X GND 1 0 0 0 D 50 50 1 1 W N
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# Polyfuse
|
||
|
#
|
||
|
DEF Polyfuse F 0 0 N Y 1 F N
|
||
|
F0 "F" -100 0 50 V V C CNN
|
||
|
F1 "Polyfuse" 100 0 50 V V C CNN
|
||
|
F2 "" 50 -200 50 H I L CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
*polyfuse*
|
||
|
*PTC*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
S -30 100 30 -100 0 1 10 N
|
||
|
P 2 0 1 0 0 100 0 -100 N
|
||
|
P 4 0 1 0 -60 100 -60 60 60 -60 60 -100 N
|
||
|
X ~ 1 0 150 50 D 50 50 1 1 P
|
||
|
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# R
|
||
|
#
|
||
|
DEF R R 0 0 N Y 1 F N
|
||
|
F0 "R" 80 0 50 V V C CNN
|
||
|
F1 "R" 0 0 50 V V C CNN
|
||
|
F2 "" -70 0 50 V I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
R_*
|
||
|
R_*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
S -40 -100 40 100 0 1 10 N
|
||
|
X ~ 1 0 150 50 D 50 50 1 1 P
|
||
|
X ~ 2 0 -150 50 U 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# Resonator_Small
|
||
|
#
|
||
|
DEF Resonator_Small Y 0 40 Y N 1 F N
|
||
|
F0 "Y" 125 75 50 H V L CNN
|
||
|
F1 "Resonator_Small" 125 0 50 H V L CNN
|
||
|
F2 "" -25 0 50 H I C CNN
|
||
|
F3 "" -25 0 50 H I C CNN
|
||
|
$FPLIST
|
||
|
Filter*
|
||
|
Resonator*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
C -100 0 10 0 1 0 F
|
||
|
C 0 -150 10 0 1 0 F
|
||
|
C 100 0 10 0 1 0 F
|
||
|
S -140 -100 -60 -110 0 1 0 F
|
||
|
S -140 -70 -60 -80 0 1 0 F
|
||
|
S -25 75 25 -75 0 1 12 N
|
||
|
S 60 -100 140 -110 0 1 0 F
|
||
|
S 60 -70 140 -80 0 1 0 F
|
||
|
P 2 0 1 0 -100 -70 -100 0 N
|
||
|
P 2 0 1 0 -100 0 -55 0 N
|
||
|
P 2 0 1 0 -100 50 -100 0 N
|
||
|
P 2 0 1 15 -50 -50 -50 50 N
|
||
|
P 2 0 1 15 50 -50 50 50 N
|
||
|
P 2 0 1 0 50 0 100 0 N
|
||
|
P 2 0 1 0 100 0 100 -70 N
|
||
|
P 2 0 1 0 100 50 100 0 N
|
||
|
P 4 0 1 0 95 -110 95 -150 -95 -150 -95 -105 N
|
||
|
X 1 1 -100 100 50 D 50 50 1 1 P
|
||
|
X 2 2 0 -200 50 U 50 50 1 1 P
|
||
|
X 3 3 100 100 50 D 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# USB_B
|
||
|
#
|
||
|
DEF USB_B J 0 40 Y Y 1 F N
|
||
|
F0 "J" -200 450 50 H V L CNN
|
||
|
F1 "USB_B" -200 350 50 H V L CNN
|
||
|
F2 "" 150 -50 50 H I C CNN
|
||
|
F3 "" 150 -50 50 H I C CNN
|
||
|
$FPLIST
|
||
|
USB*
|
||
|
$ENDFPLIST
|
||
|
DRAW
|
||
|
C -150 85 25 0 1 10 F
|
||
|
C -25 135 15 0 1 10 F
|
||
|
S -200 -300 200 300 0 1 10 f
|
||
|
S -150 220 -100 180 0 1 0 F
|
||
|
S -5 -300 5 -270 0 1 0 N
|
||
|
S 10 50 -20 20 0 1 10 F
|
||
|
S 200 -105 170 -95 0 1 0 N
|
||
|
S 200 -5 170 5 0 1 0 N
|
||
|
S 200 195 170 205 0 1 0 N
|
||
|
P 2 0 1 10 -75 85 25 85 N
|
||
|
P 4 0 1 10 -125 85 -100 85 -50 135 -25 135 N
|
||
|
P 4 0 1 10 -100 85 -75 85 -50 35 0 35 N
|
||
|
P 4 0 1 10 25 110 25 60 75 85 25 110 F
|
||
|
P 7 0 1 0 -160 170 -90 170 -90 225 -105 240 -145 240 -160 225 -160 170 N
|
||
|
X VBUS 1 300 200 100 L 50 50 1 1 w
|
||
|
X D- 2 300 -100 100 L 50 50 1 1 P
|
||
|
X D+ 3 300 0 100 L 50 50 1 1 P
|
||
|
X GND 4 0 -400 100 U 50 50 1 1 w
|
||
|
X Shield 5 -100 -400 100 U 50 50 1 1 P
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
# VCC
|
||
|
#
|
||
|
DEF VCC #PWR 0 0 Y Y 1 F P
|
||
|
F0 "#PWR" 0 -150 50 H I C CNN
|
||
|
F1 "VCC" 0 150 50 H V C CNN
|
||
|
F2 "" 0 0 50 H I C CNN
|
||
|
F3 "" 0 0 50 H I C CNN
|
||
|
DRAW
|
||
|
C 0 75 25 0 1 0 N
|
||
|
P 2 0 1 0 0 0 0 50 N
|
||
|
X VCC 1 0 0 0 U 50 50 1 1 W N
|
||
|
ENDDRAW
|
||
|
ENDDEF
|
||
|
#
|
||
|
#End Library
|