Compare commits

...

7 Commits

Author SHA1 Message Date
King Kévin ac8a57bfd7 fix fuse pins 2023-10-07 05:33:44 +02:00
King Kévin 98cb4b4da3 merge schottky diodes 2023-10-07 05:33:15 +02:00
King Kévin d2815c5957 add buck converter 2023-10-07 05:32:24 +02:00
King Kévin 23f0f6e414 add slide switch 3d model 2023-10-07 05:31:17 +02:00
King Kévin 081fa14174 add screw terminal 3d model 2023-10-07 05:30:34 +02:00
King Kévin eba8a16fbe better describe screw connector 2023-10-07 05:29:31 +02:00
King Kévin de60ab5e75 add 3D models for various parts 2023-10-05 05:29:48 +02:00
47 changed files with 505610 additions and 50 deletions

32413
connector/KF141R-2.54-10P.step Normal file

File diff suppressed because it is too large Load Diff

35524
connector/KF141R-2.54-11P.step Normal file

File diff suppressed because it is too large Load Diff

38602
connector/KF141R-2.54-12P.step Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

10884
connector/KF141R-2.54-3P.step Normal file

File diff suppressed because it is too large Load Diff

13964
connector/KF141R-2.54-4P.step Normal file

File diff suppressed because it is too large Load Diff

17042
connector/KF141R-2.54-5P.step Normal file

File diff suppressed because it is too large Load Diff

20129
connector/KF141R-2.54-6P.step Normal file

File diff suppressed because it is too large Load Diff

23213
connector/KF141R-2.54-7P.step Normal file

File diff suppressed because it is too large Load Diff

26265
connector/KF141R-2.54-8P.step Normal file

File diff suppressed because it is too large Load Diff

29338
connector/KF141R-2.54-9P.step Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,6 @@ name: DC-005_2.0
description: barrel DC power jack
datasheet: https://datasheet.lcsc.com/lcsc/1811051112_BOOMELE-Boom-Precision-Elec-DC-005-2-0_C16214.pdf
keywords: connector, barrel
lcsc: C16214
pinout:
PIN: 1
@ -22,6 +21,11 @@ housing:
bodyLength: 8.8
height: 10.8
model: # from /usr/share/kicad/3dmodels/ConnectBarrelJack_Horizontal.step
file: "library/connector/barrel_dc-005-2.0.step"
rotation: 0,0,180
position: -6.5,0,0
numbers: 1,2
slotWidth: 0.8
slotHeight: 3.5

View File

@ -5,6 +5,11 @@
# number of possible pins
variations = (2..12).to_a
# 3D model form https://grabcad.com/library/kf141r-dg141r-terminal-2-54mm-pitch-1
# X offset is hand adjusted
x = [-5.3] * 13
x[9] = -5.3 - 3 * 2.54
puts "name: KF141R-2.54
description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
@ -37,6 +42,10 @@ housing@#{v}P:
suffix: -#{v}P
<<: *template
bodyWidth: #{(2.54 * v + 2.54).round(2)}
model:
file: 'library/connector/KF141R-2.54-#{v}P.step'
rotation: 0,0,0
position: #{(x[v]).round(2)},1.7,0
columnCount: #{v}
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
"

View File

@ -27,6 +27,10 @@ housing@2P:
suffix: -2P
<<: *template
bodyWidth: 7.62
model:
file: 'library/connector/KF141R-2.54-2P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 2
numbers: 1, 2, 1, 2
@ -41,6 +45,10 @@ housing@3P:
suffix: -3P
<<: *template
bodyWidth: 10.16
model:
file: 'library/connector/KF141R-2.54-3P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 3
numbers: 1, 2, 3, 1, 2, 3
@ -55,6 +63,10 @@ housing@4P:
suffix: -4P
<<: *template
bodyWidth: 12.7
model:
file: 'library/connector/KF141R-2.54-4P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 4
numbers: 1, 2, 3, 4, 1, 2, 3, 4
@ -69,6 +81,10 @@ housing@5P:
suffix: -5P
<<: *template
bodyWidth: 15.24
model:
file: 'library/connector/KF141R-2.54-5P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 5
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
@ -83,6 +99,10 @@ housing@6P:
suffix: -6P
<<: *template
bodyWidth: 17.78
model:
file: 'library/connector/KF141R-2.54-6P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 6
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
@ -97,6 +117,10 @@ housing@7P:
suffix: -7P
<<: *template
bodyWidth: 20.32
model:
file: 'library/connector/KF141R-2.54-7P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 7
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
@ -111,6 +135,10 @@ housing@8P:
suffix: -8P
<<: *template
bodyWidth: 22.86
model:
file: 'library/connector/KF141R-2.54-8P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 8
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
@ -125,6 +153,10 @@ housing@9P:
suffix: -9P
<<: *template
bodyWidth: 25.4
model:
file: 'library/connector/KF141R-2.54-9P.step'
rotation: 0,0,0
position: -12.92,1.7,0
columnCount: 9
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
@ -139,6 +171,10 @@ housing@10P:
suffix: -10P
<<: *template
bodyWidth: 27.94
model:
file: 'library/connector/KF141R-2.54-10P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 10
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
@ -153,6 +189,10 @@ housing@11P:
suffix: -11P
<<: *template
bodyWidth: 30.48
model:
file: 'library/connector/KF141R-2.54-11P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 11
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
@ -167,5 +207,9 @@ housing@12P:
suffix: -12P
<<: *template
bodyWidth: 33.02
model:
file: 'library/connector/KF141R-2.54-12P.step'
rotation: 0,0,0
position: -5.3,1.7,0
columnCount: 12
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

BIN
connector/kf141v-2.54.FCStd Normal file

Binary file not shown.

View File

@ -37,7 +37,13 @@ housing@#{v}P:
suffix: -#{v}P
<<: *template
bodyWidth: #{(2.54 * v + 2.54).round(2)}
model:
file: 'library/connector/KF141V-2.54-#{v}P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: #{v}
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
"
end
# 3D model based on https://grabcad.com/library/pcb-spring-terminal-blocks-dg-141v-kf141v-2-54-1

View File

@ -27,6 +27,10 @@ housing@2P:
suffix: -2P
<<: *template
bodyWidth: 7.62
model:
file: 'library/connector/KF141V-2.54-2P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 2
numbers: 1, 2, 1, 2
@ -41,6 +45,10 @@ housing@3P:
suffix: -3P
<<: *template
bodyWidth: 10.16
model:
file: 'library/connector/KF141V-2.54-3P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 3
numbers: 1, 2, 3, 1, 2, 3
@ -55,6 +63,10 @@ housing@4P:
suffix: -4P
<<: *template
bodyWidth: 12.7
model:
file: 'library/connector/KF141V-2.54-4P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 4
numbers: 1, 2, 3, 4, 1, 2, 3, 4
@ -69,6 +81,10 @@ housing@5P:
suffix: -5P
<<: *template
bodyWidth: 15.24
model:
file: 'library/connector/KF141V-2.54-5P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 5
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
@ -83,6 +99,10 @@ housing@6P:
suffix: -6P
<<: *template
bodyWidth: 17.78
model:
file: 'library/connector/KF141V-2.54-6P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 6
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
@ -97,6 +117,10 @@ housing@7P:
suffix: -7P
<<: *template
bodyWidth: 20.32
model:
file: 'library/connector/KF141V-2.54-7P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 7
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
@ -111,6 +135,10 @@ housing@8P:
suffix: -8P
<<: *template
bodyWidth: 22.86
model:
file: 'library/connector/KF141V-2.54-8P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 8
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
@ -125,6 +153,10 @@ housing@9P:
suffix: -9P
<<: *template
bodyWidth: 25.4
model:
file: 'library/connector/KF141V-2.54-9P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 9
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
@ -139,6 +171,10 @@ housing@10P:
suffix: -10P
<<: *template
bodyWidth: 27.94
model:
file: 'library/connector/KF141V-2.54-10P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 10
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
@ -153,6 +189,10 @@ housing@11P:
suffix: -11P
<<: *template
bodyWidth: 30.48
model:
file: 'library/connector/KF141V-2.54-11P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 11
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
@ -167,5 +207,9 @@ housing@12P:
suffix: -12P
<<: *template
bodyWidth: 33.02
model:
file: 'library/connector/KF141V-2.54-12P.step'
rotation: -90,0,-180
position: 11.5,6.3,0
columnCount: 12
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12

File diff suppressed because it is too large Load Diff

View File

@ -39,6 +39,10 @@ housing:
bodyWidth: 32.25
bodyLength: 15.6
height: 13.3
model: # from https://grabcad.com/library/rjhse-5381-02-1
file: "library/connector/rj45x2_hc-rj45-5ja-2-2.step"
rotation: 0,0,0
position: -5.3,-2.3,0
# right 8P8C pins
holeDiameter: 1.2

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,11 @@ housing@#{v}P:
suffix: -#{v.to_s.rjust(2, '0')}P
<<: *template
bodyWidth: #{(5.0 * v).round(2)}
silkscreen: M #{(5.0 * v / 2).round(2)}, -3.6, #{(5.0 * v / -2).round(2)}, -3.6
model: # https://grabcad.com/library/degson-dg126-series-5-0-7-5mm-terminal-block-pack-1
file: 'library/connector/terminal-screw_mx126-5.0-#{v.to_s.rjust(2, '0')}P.step'
rotation: -90,0,0
position: -5.0,3.9,0
columnCount: #{v}
"
end

View File

@ -26,6 +26,11 @@ housing@2P:
suffix: -02P
<<: *template
bodyWidth: 10.0
silkscreen: M 5.0, -3.6, -5.0, -3.6
model: # https://grabcad.com/library/degson-dg126-series-5-0-7-5mm-terminal-block-pack-1
file: 'library/connector/terminal-screw_mx126-5.0-02P.step'
rotation: -90,0,0
position: -5.0,3.9,0
columnCount: 2
pinout@3P: 1-3
@ -39,4 +44,9 @@ housing@3P:
suffix: -03P
<<: *template
bodyWidth: 15.0
silkscreen: M 7.5, -3.6, -7.5, -3.6
model: # https://grabcad.com/library/degson-dg126-series-5-0-7-5mm-terminal-block-pack-1
file: 'library/connector/terminal-screw_mx126-5.0-03P.step'
rotation: -90,0,0
position: -5.0,3.9,0
columnCount: 3

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,11 @@ housing:
bodyPosition: 0, 0 # use case center
height: 3.21
model: # from /usr/share/kicad/3dmodels/Connector_USB.3dshapes/USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal.step
file: "library/connector/usb-c_hro_type-c-31-m-12.step"
rotation: 0,0,180
position: 0,0,0
# A + B
padWidth: 0.30
padHeight: 1.45

View File

@ -1,5 +1,5 @@
name: SCHOTTKY
variations: SOD123, SOD323, SOD523
variations: SOD123, SOD323, SOD523, SMA, SMB, SMC
description: diode, schottky, generic
pinout:
@ -21,3 +21,15 @@ housing@SOD323:
housing@SOD523:
outline: nxp sod523
options: polarized
housing@SMA:
outline: JEDEC DO-214 AC
options: polarized
housing@SMB:
outline: JEDEC DO-214 AA
options: polarized
housing@SMC:
outline: JEDEC DO-214 AB
options: polarized

View File

@ -1,14 +0,0 @@
name: B5x0
alias: B520, B540, B560
variations: SMC, THT
description: schottky barrier diode, 40V, 5A, SMC(DO-214AB)
datasheet: https://www.diodes.com/assets/Datasheets/B520C-B560C.pdf
schematic:
symbol: diode
options: schottky
housing@SMC:
suffix: C
outline: JEDEC DO-214 AB
options: polarized

View File

@ -1,22 +0,0 @@
name: RB521S30
description: schottky barrier diode, 30V, 200mA, SOD-523
datasheet: https://www.onsemi.com/pdf/datasheet/rb521s30t1-d.pdf
lcsc: C122862
schematic:
symbol: diode
options: schottky
housing:
pattern: SOD
options: polarized
bodyWidth: 0.7-0.9 # E
bodyLength: 1.1-1.3 # D
height: 0.5-0.7 # A
leadWidth: 0.25-0.35 # b
leadLength: 0.30 # L
leadHeight: 0.07-0.20 # c
leadSpan: 1.5-1.7 # HE
padWidth: 0.40
padHeight: 0.48
padSpace: 0.84 # 1.8-0.48*2

View File

@ -1,12 +0,0 @@
name: SS34
description: schottky barrier diode, 40V, 3A, SMA (DO-214AC)
datasheet: https://www.onsemi.com/pdf/datasheet/ss39-d.pdf
lcsc: C266553
schematic:
symbol: diode
options: schottky
housing:
outline: JEDEC DO-214 AC
options: polarized

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,10 @@ housing:
bodyLength: 3.5-3.9
bodyWidth: 5.9-6.3
height: 2.5
model: # from /usr/share/kicad/3dmodels/Button_Switch_SMD.3dshapes/SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFS.step
file: "library/mechanical/smd-button_hyp_1ts002e.step"
rotation: 0,0,0
position: 0,0,0
leadCount: 2
leadLength: 0.6-0.8
leadSpan: 7.8-8.2

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,11 @@ housing:
height: 5.5
silkscreen: M -5 -1.5 5 -1.5
model: # from https://copal.partcommunity.com/3d-cad-models/sso/cl-sb-nidec-components
file: "library/mechanical/switch_mst23d18g2.step"
rotation: -90,0,0
position: 0,0,3.5
padWidth: 1.0
padHeight: 2.0
rowCount: 2

31
vreg/buck_tps54560.yaml Normal file
View File

@ -0,0 +1,31 @@
name: TPS54560
description: voltage regulator, step-down
datasheet: https://www.ti.com/lit/gpn/tps54560
pinout:
BOOT: 1
VIN: 2
EN: 3
RT/CLK: 4
FB: 5
COMP: 6
GND: 7
SW: 8
PAD: 9
properties:
in: EN, RT/CLK, FB
out: BOOT, COMP
power: VIN, SW
ground: GND, PAD
schematic:
symbol: ic
left: EN, COMP, RT/CLK
right: BOOT,SW, FB
top: VIN
bottom: GND, PAD
housing:
suffix: DDA
outline: TI DDA-8

View File

@ -18,6 +18,7 @@ housing@005:
height: 8.5 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@010:
suffix: "-010"
@ -31,6 +32,7 @@ housing@010:
height: 9.5 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@017:
suffix: "-017"
@ -44,6 +46,7 @@ housing@017:
height: 12.7 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@020:
suffix: "-020"
@ -57,6 +60,7 @@ housing@020:
height: 12.7 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@025:
suffix: "-025"
@ -70,6 +74,7 @@ housing@025:
height: 12.7 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@030:
suffix: "-030"
@ -83,6 +88,7 @@ housing@030:
height: 13.0 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@040:
suffix: "-040"
@ -96,6 +102,7 @@ housing@040:
height: 16.2 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.55, 2.55, 0.55 # pin y spacing from BK60 datasheet
housing@050:
suffix: "-050"
@ -109,6 +116,7 @@ housing@050:
height: 16.2 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.55, 2.55, 0.55 # pin y spacing from BK60 datasheet
housing@065:
suffix: "-065"
@ -122,6 +130,7 @@ housing@065:
height: 17.8 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.55, 2.55, 0.55 # pin y spacing from BK60 datasheet
housing@075:
suffix: "-075"
@ -135,6 +144,7 @@ housing@075:
height: 18.4 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.55, 2.55, 0.55 # pin y spacing from BK60 datasheet
housing@090:
suffix: "-090"
@ -148,6 +158,7 @@ housing@090:
height: 18.4 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.55, 2.55, 0.55 # pin y spacing from BK60 datasheet
housing@110:
suffix: "-110"
@ -161,6 +172,7 @@ housing@110:
height: 18.0 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@135:
suffix: "-135"
@ -174,6 +186,7 @@ housing@135:
height: 19.6 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@160:
suffix: "-160"
@ -187,6 +200,7 @@ housing@160:
height: 21.3 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@185:
suffix: "-185"
@ -200,6 +214,7 @@ housing@185:
height: 22.9 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@200:
suffix: "-200"
@ -213,6 +228,7 @@ housing@200:
height: 22.9 # B
bodyLength: 3.0 # C
pitch: 5.1 # D
padPosition: -2.55, -0.7, 2.55, 0.7 # pin y spacing from BK60 datasheet
housing@250:
suffix: "-250"
@ -226,6 +242,7 @@ housing@250:
height: 26.4 # B
bodyLength: 3.0 # C
pitch: 10.2 # D
padPosition: -5.25, -0.7, 5.25, 0.7 # pin y spacing from BK60 datasheet
housing@300:
suffix: "-300"
@ -239,6 +256,7 @@ housing@300:
height: 26.4 # B
bodyLength: 3.0 # C
pitch: 10.2 # D
padPosition: -5.25, -0.7, 5.25, 0.7 # pin y spacing from BK60 datasheet
housing@375:
suffix: "-375"
@ -252,6 +270,7 @@ housing@375:
height: 33.5 # B
bodyLength: 3.0 # C
pitch: 10.2 # D
padPosition: -5.25, -0.7, 5.25, 0.7 # pin y spacing from BK60 datasheet
housing@500:
suffix: "-500"
@ -265,3 +284,5 @@ housing@500:
height: 33.5 # B
bodyLength: 3.0 # C
pitch: 10.2 # D
padPosition: -5.25, -0.7, 5.25, 0.7 # pin y spacing from BK60 datasheet