Merge branch 'master' of ssh://git.cuvoodoo.info/qeda_library

This commit is contained in:
King Kévin 2020-02-03 18:50:29 +01:00
commit 0392d18603
9 changed files with 645 additions and 33 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
# QEDA library github parts
capacitor/c0603.yaml
capacitor/c0805.yaml
resistor/r0603.yaml
resistor/r1206.yaml
diode/led0603.yaml

View File

@ -0,0 +1,440 @@
name: IDC-2.54_edge
description: IDC header, 2 rows, 0.1 in/2.54 mm pitch, through hole, straight, box, shrouded
variations: 2x3, 2x4, 2x5, 2x6, 2x7, 2x8, 2x10, 2x12, 2x13, 2x15, 2x17, 2x20, 2x25, 2x30, 2x32
keywords: connector, male, IDC
datasheet: https://datasheet.lcsc.com/szlcsc/Nextronics-Engineering-Z-231011010106_C221045.pdf
pinout@2x3: 1-6
pinout@2x4: 1-8
pinout@2x5: 1-10
pinout@2x6: 1-12
pinout@2x7: 1-14
pinout@2x8: 1-16
pinout@2x10: 1-20
pinout@2x12: 1-24
pinout@2x13: 1-26
pinout@2x15: 1-30
pinout@2x17: 1-34
pinout@2x20: 1-40
pinout@2x25: 1-50
pinout@2x30: 1-60
pinout@2x32: 1-64
schematic@2x3:
suffix: -2x3
symbol: connector
left: 1, 3, 5
right: 2, 4, 6
schematic@2x4:
suffix: -2x4
symbol: connector
left: 1, 3, 5, 7
right: 2, 4, 6, 8
schematic@2x5:
suffix: -2x5
symbol: connector
left: 1, 3, 5, 7, 9
right: 2, 4, 6, 8, 10
schematic@2x6:
suffix: -2x6
symbol: connector
left: 1, 3, 5, 7, 9, 11
right: 2, 4, 6, 8, 10, 12
schematic@2x7:
suffix: -2x7
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13
right: 2, 4, 6, 8, 10, 12, 14
schematic@2x8:
suffix: -2x8
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15
right: 2, 4, 6, 8, 10, 12, 14, 16
schematic@2x10:
suffix: -2x10
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20
schematic@2x12:
suffix: -2x12
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24
schematic@2x13:
suffix: -2x13
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26
schematic@2x15:
suffix: -2x15
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
schematic@2x17:
suffix: -2x17
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34
schematic@2x20:
suffix: -2x20
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40
schematic@2x25:
suffix: -2x25
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50
schematic@2x30:
suffix: -2x30
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60
schematic@2x32:
suffix: -2x32
symbol: connector
left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63
right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64
housing@2x3:
suffix: -2x3
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 15.22
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5
pitch: 2.54
rowCount: 1
columnCount: 3
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6
pitch1: 2.54
rowCount1: 1
columnCount1: 3
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x4:
suffix: -2x4
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 17.76
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7
pitch: 2.54
rowCount: 1
columnCount: 4
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4 6, 8
pitch1: 2.54
rowCount1: 1
columnCount1: 4
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x5:
suffix: -2x5
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 20.30
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9
pitch: 2.54
rowCount: 1
columnCount: 5
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10
pitch1: 2.54
rowCount1: 1
columnCount1: 5
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x6:
suffix: -2x6
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 22.84
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11
pitch: 2.54
rowCount: 1
columnCount: 6
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12
pitch1: 2.54
rowCount1: 1
columnCount1: 6
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x7:
suffix: -2x7
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 25.38
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13
pitch: 2.54
rowCount: 1
columnCount: 7
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14
pitch1: 2.54
rowCount1: 1
columnCount1: 7
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x8:
suffix: -2x8
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 27.92
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15
pitch: 2.54
rowCount: 1
columnCount: 8
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16
pitch1: 2.54
rowCount1: 1
columnCount1: 8
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x10:
suffix: -2x10
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 33.0
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19
pitch: 2.54
rowCount: 1
columnCount: 10
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20
pitch1: 2.54
rowCount1: 1
columnCount1: 10
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x12:
suffix: -2x12
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 38.08
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23
pitch: 2.54
rowCount: 1
columnCount: 12
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24
pitch1: 2.54
rowCount1: 1
columnCount1: 12
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x13:
suffix: -2x13
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 40.62
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25
pitch: 2.54
rowCount: 1
columnCount: 13
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26
pitch1: 2.54
rowCount1: 1
columnCount1: 13
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x15:
suffix: -2x15
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 45.7
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29
pitch: 2.54
rowCount: 1
columnCount: 15
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
pitch1: 2.54
rowCount1: 1
columnCount1: 15
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x17:
suffix: -2x17
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 50.78
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33
pitch: 2.54
rowCount: 1
columnCount: 17
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34
pitch1: 2.54
rowCount1: 1
columnCount1: 17
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x20:
suffix: -2x20
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 58.4
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39
pitch: 2.54
rowCount: 1
columnCount: 20
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40
pitch1: 2.54
rowCount1: 1
columnCount1: 20
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x25:
suffix: -2x25
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 71.1
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49
pitch: 2.54
rowCount: 1
columnCount: 25
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50
pitch1: 2.54
rowCount1: 1
columnCount1: 25
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x30:
suffix: -2x30
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 83.8
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59
pitch: 2.54
rowCount: 1
columnCount: 30
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60
pitch1: 2.54
rowCount1: 1
columnCount1: 30
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true
housing@2x32:
suffix: -2x32
pattern: custom
options: polarized
bodyLength: 8.7-8.9
bodyWidth: 88.88
bodyPosition: 0, -6.15 # -8.8 /2 - padHeight / 2
numbers: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63
pitch: 2.54
rowCount: 1
columnCount: 32
padWidth: 1.5
padHeight: 3.5
numbers1: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64
pitch1: 2.54
rowCount1: 1
columnCount1: 32
padWidth1: 1.5
padHeight1: 3.5
padBottom1: true

View File

@ -14,7 +14,7 @@ pinout:
properties:
power: VBUS
ground: GND, GND_DRAIN
ground: GND
bidir: D-, D+
passive: SHIELD
@ -29,16 +29,20 @@ housing:
bodyLength: 18.75
bodyPosition: 0, 8.375 # 17.75 - 18.75 / 2
height: 4.50
silkscreen: M -5.85, -5.625, 5.85, -5.625 # PCB edge (8.375 - 2.75)
# USB pads
padWidth: 1.20
padHeight: 3.00
padPosition: 3.50, -2.60, 1.00, -2.60, -1.00, -2.60, -3.50, -2.60
# shell tabs
holeDiameter1: 2.50
slotWidth1: 0.70
slotHeight1: 2.50
padPosition1: -5.85, 0, 5.85, 0
# alignment pins
holeDiameter2: 1.10
padDiameter2: 0
padPosition2: -2.25, 0, 2.25, 0

View File

@ -3,32 +3,42 @@ descripton: USB-C plug, 24 pins, edge mount
datasheet: https://datasheet.lcsc.com/szlcsc/2001050503_XKB-Enterprise-U261-24XN-4BS60_C319150.pdf
keywords: connector, USB
# LCSC C319150 https://lcsc.com/product-detail/USB-Connectors_XKB-Enterprise-U261-24XN-4BS60_C319150.html
# since QEDA does not allow to put pads on both side, this footprint is one for one side
pinout:
TX+: 2
TX-: 3
CC: 5
D+: 6
D-: 7
SBU: 8
RX-: 10
RX+: 11
GND: 1, 12
VBUS: 4, 9
SHIELD: 25, 26
A:
TX+1: 2
TX-1: 3
CC1: 5
D+1: 6
D-1: 7
SBU1: 8
RX-2: 10
RX+2: 11
B:
TX+2: 14
TX-2: 15
CC2: 17
D+2: 18
D-2: 19
SBU2: 20
RX-1: 22
RX+1: 23
GND: 1, 12, 13, 24
VBUS: 4, 9, 16, 21
SHIELD: 25, 26, 27, 28
properties:
power: VBUS
ground: GND
bidir: D-, D+, CC, SBU
in: RX-, RX+
out: TX-, TX+
bidir: D-1, D+1, CC1, SBU1, D-2, D+2, CC2, SBU2
in: RX-1, RX+1, RX-2, RX+2
out: TX-1, TX+1, TX-2, TX+2
passive: SHIELD
schematic:
symbol: connector
left: TX+, TX-, CC, D+, D-, SBU, RX-, RX+
left: A
right: B
top: VBUS
bottom: GND, SHIELD
@ -41,20 +51,36 @@ housing:
# board in connector
silkscreen: M -3.95 -4.4 -3.05 -4.4 M 3.95 -4.4 3.05 -4.4 M -3.05 -4.4 -3.05 -3.5 M 3.05 -4.4 3.05 -3.5 M -3.05 -3.5 3.05 -3.5
# signals
# A signals
padWidth: 0.30
padHeight: 1.50
pitch: 0.50
rowCount: 1
columnCount: 12
rowDX: 0
rowDY: 0
# shield
padWidth1: 0.70
padHeight1: 1.40
pitch1: 7.20
# B signals
padWidth1: 0.30
padHeight1: 1.50
pitch1: -0.50
rowCount1: 1
columnCount1: 2
rowDX1: 0
rowDY1: -0.05
columnCount1: 12
padBottom1: true
# A shield
padWidth2: 0.70
padHeight2: 1.40
pitch2: 7.20
rowCount2: 1
columnCount2: 2
rowDX2: 0
rowDY2: -0.05
# B shield
padWidth3: 0.70
padHeight3: 1.40
pitch3: -7.20
rowCount3: 1
columnCount3: 2
rowDX3: 0
rowDY3: -0.05
padBottom3: true

View File

@ -0,0 +1,8 @@
name: TP
schematic:
symbol: test-point
housing:
pattern: test-point
padDiameter: 1.0

43
oscillator/hc-49.yaml Normal file
View File

@ -0,0 +1,43 @@
name: HC-49
description: crystal oscillator in HC-49 case
variations: U, S, SM
datasheet: https://www.farnell.com/datasheets/321153.pdf
keywords: oscillator, crystal
schematic:
symbol: crystal
housing@U:
suffix: _U
pattern: radial
bodyLength: 10.6-11.2
bodyWidth: 4.63-4.67
bodyDiameter: 10.6-11.2 # this is for QEDA radial elements
height: 12.7-12.3
leadDiameter: 0.40-0.46
leadLength: 12.9-13.5
leadSpan: 4.86-4.90
housing@S:
suffix: _S
pattern: radial
bodyLength: 10.6-11.2
bodyWidth: 4.63-4.67
bodyDiameter: 10.6-11.2 # this is for QEDA radial elements
height: 4.0
leadDiameter: 0.42-0.48
leadLength: 12.9-13.5
leadSpan: 4.73-5.03
housing@SM:
suffix: _SM
pattern: crystal
bodyLength: 11.2-11.6
bodyWidth: 4.6-4.8
height: 4.0
leadWidth: 0.5-0.9
leadLength: 4.4
leadSpan: 12.6-13.4
padWidth: 5.5
padHeight: 2
padSpace: 4

View File

@ -0,0 +1,49 @@
name: AMS1117
description: low drop out voltage regulator
keywords: IC, regulator
# the AMS1117 I had used the SOT89-3 package, but I could not find the corresponding datasheet
# the closest I could find is Diodes AP1117 https://www.diodes.com/assets/Datasheets/AP1117_R21.pdf
# this SOR89-3 package measurement are provided by JEDEC TO-243
# I used the SOT89 package footprint provided by TI https://www.nxp.com/docs/en/package-information/SOT89.pdf
pinout:
GND: 1
VOUT: 2
VIN: 3
properties:
power: VIN
output: VOUT
ground: GND
schematic:
symbol: IC
left: VIN
right: VOUT
bottom: GND
housing:
pattern: custom
bodyWidth: 4.4-4.8 # D
bodyLength: 2.4-2.6 # E
leadSpan: 3.75-4.25 # HE
leadWidth: 0.35-0.48 # bp1
leadLength: 0.8-1.2 # Lp
height: 1.4-1.6 # A
pitch: 3.0 # e1
numbers: 1, 3
padWidth: 0.7
padHeight: 1.1
padPosition: -1.5, 1.8, 1.5, 1.8 # 2.5/2 + 1.1/2
numbers1: 2
padWidth1: 0.7
padHeight1: 1.8 # 4.6 - 0.9 - 0.2 - 1.2 - 0.5
padPosition1: 0, 1.45 # 2.5/2 + 1.1 - 1.8/2
# tab
numbers2: 2
padWidth2: 2.0
padHeight2: 2.8
padPosition2: 0, -0.85 # 2.5/2 + 1.1 - 1.8 - 2.8/2

View File

@ -0,0 +1,36 @@
name: ME6211
description: low drop out voltage regulator
variations: P, M3, M5, R5, N6
datasheet: http://aitendo3.sakura.ne.jp/aitendo_data/product_img/ic/LDO/ME6211/ME6211.pdf
keywords: IC, regulator
pinout@M5:
VIN: 1
GND: 2
CE: 3
NC: 4
VOUT: 5
properties@M5:
power: VIN
output: VOUT
ground: GND
input: CE
nc: NC
schematic@M5:
symbol: IC
left: VIN, CE
right: VOUT
bottom: GND
housing@M5:
pattern: SOT23
bodyWidth: 1.3-1.8 # E1
bodyLength: 2.7-3.1 # D
leadSpan: 2.2-3.2 # E
leadWidth: 0.2-0.5 # B
leadLength: 0.2 # L
height: 1.3 # A
pitch: 0.95 # e
leadCount: 5

View File

@ -22,11 +22,11 @@ schematic@MR:
housing@MR:
pattern: SOT23
bodyWidth: 1.5-1.8 # E1
bodyLength: 2.7-3.1 # D
leadSpan: 2.6-3.0 # E
leadWidth: 0.395-4.1 # b
leadLength: 0.2 # L
height: 1.3 # A
bodyWidth: 1.5-1.8
bodyLength: 2.7-3.1
leadSpan: 2.6-3.0
leadWidth: 0.35-4.1
leadLength: 0.2
height: 1.3
pitch: 0.95 # e
leadCount: 3