KicadLib/template/raspberrrypi_hat/raspberrrypi_hat-cache.lib
jonbuford 178fc0a37b Raspberry Pi HAT Template
This is a template for the Raspberry Pi HAT including EEPROM and
backpowering protection components per the Raspberry Pi Foundation spec
at https://github.com/raspberrypi/hats/blob/master/designguide.md

This has everything needed to create a fully compliant HAT module
design.
2017-04-05 01:07:44 +08:00

233 lines
5.3 KiB
Text

EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# 3mm_Mounting_Hole
#
DEF 3mm_Mounting_Hole H 0 40 N N 1 F N
F0 "H" -150 100 60 H V C CNN
F1 "3mm_Mounting_Hole" 0 -150 60 H V C CNN
F2 "" -100 0 60 H I C CNN
F3 "" -100 0 60 H I C CNN
DRAW
C 0 0 100 0 1 0 N
ENDDRAW
ENDDEF
#
# CAT24C32
#
DEF CAT24C32 U 0 30 Y Y 1 F N
F0 "U" -350 350 50 H V C CNN
F1 "CAT24C32" 250 350 50 H V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
SOIC-8
$ENDFPLIST
DRAW
X GND 4 0 -400 100 U 50 50 0 0 W
X VCC 8 0 400 100 D 50 50 0 0 W
S -400 -300 400 300 1 1 10 f
X A0 1 -500 200 100 R 50 50 1 1 I
X A1 2 -500 100 100 R 50 50 1 1 I
X A2 3 -500 0 100 R 50 50 1 1 I
X SDA 5 500 -200 100 L 50 50 1 1 B
X SCL 6 500 -100 100 L 50 50 1 1 I
X WP 7 -500 -200 100 R 50 50 1 1 I
ENDDRAW
ENDDEF
#
# CONN_01X02
#
DEF CONN_01X02 P 0 40 Y N 1 F N
F0 "P" 0 150 50 H V C CNN
F1 "CONN_01X02" 100 0 50 V V C CNN
F2 "" 0 0 50 H V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
Pin_Header_Straight_1X02
Pin_Header_Angled_1X02
Socket_Strip_Straight_1X02
Socket_Strip_Angled_1X02
$ENDFPLIST
DRAW
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 100 50 -100 0 1 0 N
X P1 1 -200 50 150 R 50 50 1 1 P
X P2 2 -200 -50 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_02X02
#
DEF CONN_02X02 P 0 1 Y N 1 F N
F0 "P" 0 150 50 H V C CNN
F1 "CONN_02X02" 0 -150 50 H V C CNN
F2 "" 0 -1200 50 H V C CNN
F3 "" 0 -1200 50 H V C CNN
$FPLIST
Pin_Header_Straight_2X02
Pin_Header_Angled_2X02
Socket_Strip_Straight_2X02
Socket_Strip_Angled_2X02
$ENDFPLIST
DRAW
S -100 -45 -50 -55 0 1 0 N
S -100 55 -50 45 0 1 0 N
S -100 100 100 -100 0 1 0 N
S 50 -45 100 -55 0 1 0 N
S 50 55 100 45 0 1 0 N
X P1 1 -250 50 150 R 50 50 1 1 P
X P2 2 250 50 150 L 50 50 1 1 P
X P3 3 -250 -50 150 R 50 50 1 1 P
X P4 4 250 -50 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# DMG2305UX
#
DEF DMG2305UX Q 0 0 N Y 1 F N
F0 "Q" -100 150 50 H V R CNN
F1 "DMG2305UX" 500 150 50 H V R CNN
F2 "" 200 195 50 H V C CNN
F3 "" -100 0 50 H V C CNN
$FPLIST
SOT-23
$ENDFPLIST
DRAW
C 0 0 128 0 1 10 f
C 1 -80 6 0 1 0 F
C 1 100 7 0 1 0 F
P 2 0 1 10 -100 0 -90 0 N
P 2 0 1 0 -70 -60 0 -60 N
P 2 0 1 0 -70 -40 -70 -80 N
P 2 0 1 0 -70 0 0 0 N
P 2 0 1 0 -70 20 -70 -20 N
P 2 0 1 0 -70 55 0 55 N
P 2 0 1 0 -70 75 -70 35 N
P 2 0 1 0 0 -80 0 -115 N
P 2 0 1 0 0 -70 0 0 N
P 2 0 1 0 0 -50 0 -80 N
P 2 0 1 0 0 60 0 110 N
P 2 0 1 0 0 85 0 55 N
P 2 0 1 0 35 -21 66 -20 N
P 4 0 1 10 -90 70 -90 -75 -90 -55 -90 -65 N
P 4 0 1 0 -15 0 -55 15 -55 -15 -15 0 F
P 4 0 1 0 50 -18 39 6 60 6 49 -18 F
P 5 0 1 0 0 100 50 100 50 20 50 -80 0 -80 N
X G 1 -250 0 150 R 50 50 1 1 I
X S 2 0 -250 150 U 50 50 1 1 P
X D 3 0 250 150 D 50 50 1 1 P
ENDDRAW
ENDDEF
#
# DMMT5401
#
DEF DMMT5401 Q 0 0 Y Y 2 F N
F0 "Q" 200 75 50 H V L CNN
F1 "DMMT5401" 200 0 50 H V L CNN
F2 "SOT-26" 200 -75 50 H V L CIN
F3 "" 0 0 50 H V L CNN
$FPLIST
SOT-26
$ENDFPLIST
DRAW
C 50 0 111 0 1 10 f
P 2 0 1 0 0 0 25 0 N
P 2 0 1 0 100 -100 25 -25 N
P 2 0 1 0 100 100 25 25 N
P 3 0 1 20 25 75 25 -75 25 -75 F
P 5 0 1 0 55 -75 75 -55 35 -35 55 -75 55 -75 F
X C 1 100 200 100 D 50 50 1 1 P
X B 2 -200 0 200 R 50 50 1 1 I
X E 6 100 -200 100 U 50 50 1 1 P
X B 3 -200 0 200 R 50 50 2 1 I
X C 4 100 200 100 D 50 50 2 1 P
X E 5 100 -200 100 U 50 50 2 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 V C CNN
F3 "" 0 0 50 H V 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
#
# OX40HAT
#
DEF OX40HAT J 0 40 Y Y 1 F N
F0 "J" 350 100 50 H V C CNN
F1 "OX40HAT" -300 100 50 H V C CNN
F2 "OX40_Module_Header" 0 200 50 H V C CNN
F3 "" -700 0 50 H V C CNN
DRAW
S -400 50 400 -1950 0 1 0 N
X P3V3 1 -600 0 200 R 50 50 1 1 B
X P5V 2 600 0 200 L 50 50 1 1 B
X BCM2 3 -600 -100 200 R 50 50 1 1 B
X P5V 4 600 -100 200 L 50 50 1 1 B
X BCM3 5 -600 -200 200 R 50 50 1 1 B
X GND 6 600 -200 200 L 50 50 1 1 B
X BCM4 7 -600 -300 200 R 50 50 1 1 B
X BCM14 8 600 -300 200 L 50 50 1 1 B
X GND 9 -600 -400 200 R 50 50 1 1 B
X BCM15 10 600 -400 200 L 50 50 1 1 B
X GND 20 600 -900 200 L 50 50 1 1 B
X GND 30 600 -1400 200 L 50 50 1 1 B
X BCM21 40 600 -1900 200 L 50 50 1 1 B
X BCM17 11 -600 -500 200 R 50 50 1 1 B
X BCM9 21 -600 -1000 200 R 50 50 1 1 B
X BCM6 31 -600 -1500 200 R 50 50 1 1 B
X BCM18 12 600 -500 200 L 50 50 1 1 B
X BCM25 22 600 -1000 200 L 50 50 1 1 B
X BCM12 32 600 -1500 200 L 50 50 1 1 B
X BCM27 13 -600 -600 200 R 50 50 1 1 B
X BCM11 23 -600 -1100 200 R 50 50 1 1 B
X BCM13 33 -600 -1600 200 R 50 50 1 1 B
X GND 14 600 -600 200 L 50 50 1 1 B
X BCM8 24 600 -1100 200 L 50 50 1 1 B
X GND 34 600 -1600 200 L 50 50 1 1 B
X BCM22 15 -600 -700 200 R 50 50 1 1 B
X GND 25 -600 -1200 200 R 50 50 1 1 B
X BCM19 35 -600 -1700 200 R 50 50 1 1 B
X BCM23 16 600 -700 200 L 50 50 1 1 B
X BCM7 26 600 -1200 200 L 50 50 1 1 B
X BCM16 36 600 -1700 200 L 50 50 1 1 B
X P3V3 17 -600 -800 200 R 50 50 1 1 B
X BCM0 27 -600 -1300 200 R 50 50 1 1 B
X BCM26 37 -600 -1800 200 R 50 50 1 1 B
X BCM24 18 600 -800 200 L 50 50 1 1 B
X BCM1 28 600 -1300 200 L 50 50 1 1 B
X BCM20 38 600 -1800 200 L 50 50 1 1 B
X BCM10 19 -600 -900 200 R 50 50 1 1 B
X BCM5 29 -600 -1400 200 R 50 50 1 1 B
X GND 39 -600 -1900 200 R 50 50 1 1 B
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 V C CNN
F3 "" 0 0 50 H V C CNN
$FPLIST
R_*
Resistor_*
$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
#
#End Library