Compare commits
15 Commits
0739485cd4
...
41c31b0914
Author | SHA1 | Date |
---|---|---|
King Kévin | 41c31b0914 | |
King Kévin | 3384d33139 | |
King Kévin | da67991d35 | |
King Kévin | 3f4727b581 | |
King Kévin | 14b3564a09 | |
King Kévin | 2646cecc2b | |
King Kévin | 0475700f3d | |
King Kévin | 89066631ef | |
King Kévin | d077e38760 | |
King Kévin | 552256375f | |
King Kévin | ba4be51769 | |
King Kévin | 287417374f | |
King Kévin | 9a6a61fda6 | |
King Kévin | 4d0cd75b3c | |
King Kévin | 94f247efb0 |
|
@ -0,0 +1,30 @@
|
|||
name: CAP_RAD
|
||||
variations: 6.3x7, 8x12
|
||||
description: AEC, radial
|
||||
keywords: capacitor, aluminum electrolytic capacitor, radial, through hole
|
||||
|
||||
schematic:
|
||||
symbol: capacitor
|
||||
options: polarized
|
||||
|
||||
housing@6.3x7:
|
||||
suffix: _6.3x7
|
||||
pattern: radial
|
||||
options: diameter, polarized
|
||||
|
||||
bodyDiameter: 6.3
|
||||
height: 7
|
||||
leadDiameter: 0.5
|
||||
leadLength: 15
|
||||
leadSpan: 2.5
|
||||
|
||||
housing@8x12:
|
||||
suffix: _8x12
|
||||
pattern: radial
|
||||
options: diameter, polarized
|
||||
|
||||
bodyDiameter: 8
|
||||
height: 12
|
||||
leadDiameter: 0.5
|
||||
leadLength: 15
|
||||
leadSpan: 3.5
|
|
@ -0,0 +1,68 @@
|
|||
name: HC-RJ45-055
|
||||
variations: 4, 6, 7 # 4 just does not have the shell
|
||||
description: connector, RJ45, 8P8C, SMT + optional tabs
|
||||
datasheet: https://datasheet.lcsc.com/lcsc/2204251600_HCTL-HC-RJ45-055-4_C3000211.pdf
|
||||
distributor: LCSC C3000211
|
||||
|
||||
pinout:
|
||||
8P8C: 1-8
|
||||
SHELL: SH
|
||||
|
||||
properties:
|
||||
passive: 8P8C, SHELL
|
||||
|
||||
schematic:
|
||||
symbol: connector
|
||||
right: 8P8C
|
||||
bottom: SHELL
|
||||
|
||||
housing:
|
||||
pattern: custom
|
||||
bodyWidth: 17.6
|
||||
bodyLength: 13.35
|
||||
height: 8.85 # above PCB
|
||||
silkscreen: M -7.2,6.675 -7.2,-3.975 7.2,-3.975 7.2,6.675 # board cut edge 13.35/2=6.675, back 13.35/2-5.9-6.65+1.9=-3.975
|
||||
|
||||
# model: # from JLCPCB
|
||||
# file: "library/connector/rj45_hc-rj45-055.step"
|
||||
# rotation: 0,0,0
|
||||
# position: 0,0,0
|
||||
|
||||
# 8P8C pins
|
||||
numbers: 1,2,3,4,5,6,7,8
|
||||
padWidth: 0.7
|
||||
padHeight: 3.0
|
||||
pitch: 1.02
|
||||
rowCount: 1
|
||||
columnCount: 8
|
||||
rowDX: 0
|
||||
rowDY: -6.375 # 13.35/2-5.9-6.65-2+3.0/2
|
||||
|
||||
# shell pads
|
||||
numbers1: SH, SH
|
||||
padWidth1: 2.4
|
||||
padHeight1: 4.3
|
||||
pitch1: 17.0
|
||||
rowCount1: 1
|
||||
columnCount1: 2
|
||||
rowDX1: 0
|
||||
rowDY1: 0.775 # 13.35/2-5.9
|
||||
|
||||
# shell holes
|
||||
numbers2: SH, SH
|
||||
holeDiameter2: 1.0
|
||||
padDiameter2: 1.6
|
||||
pitch2: 17.0
|
||||
rowCount2: 1
|
||||
columnCount2: 2
|
||||
rowDX2: 0
|
||||
rowDY2: 0.775 # 13.35/2-5.9
|
||||
|
||||
# mounting holes
|
||||
holeDiameter3: 1.8
|
||||
padDiameter3: 0.0
|
||||
pitch3: 11.9
|
||||
rowCount3: 1
|
||||
columnCount3: 2
|
||||
rowDX3: 0
|
||||
rowDY3: -5.875 # 13.35/2-5.9-6.65
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,55 @@
|
|||
name: HC-RJ45-5JA-1-5
|
||||
description: connector, RJ45, with LEDs
|
||||
datasheet: https://datasheet.lcsc.com/lcsc/2204251600_HCTL-HC-RJ45-5JA-1-5-Y_C3000187.pdf
|
||||
|
||||
pinout:
|
||||
LED_R:
|
||||
LEDA_R: 12
|
||||
LEDC_R: 11
|
||||
LED_L:
|
||||
LEDA_L: 10
|
||||
LEDC_L: 9
|
||||
8P8C: 1-8
|
||||
|
||||
properties:
|
||||
passive: LED_R, LED_L, 8P8C, SHELL
|
||||
|
||||
schematic:
|
||||
symbol: connector
|
||||
left: LED_L, LED_R
|
||||
right: 8P8C
|
||||
|
||||
housing:
|
||||
pattern: custom
|
||||
bodyWidth: 15.9
|
||||
bodyLength: 15.2
|
||||
height: 13.0
|
||||
|
||||
model:
|
||||
file: 'library/connector/rj45_hc-rj45-5ja-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
|
||||
# 8P8C pins
|
||||
holeDiameter: 1.2
|
||||
padDiameter: 1.6
|
||||
verticalPitch: 1.02
|
||||
horizontalPitch: 1.78
|
||||
# pin 1 on 1.02*3.5-1.02*n, 15.2/2-9.13=-1.53 or +1.78=0.25
|
||||
padPosition: 3.57, 0.25, 2.55, -1.53, 1.53, 0.25, 0.51, -1.53, -0.51, 0.25, -1.53, -1.53, -2.55, 0.25, -3.57, -1.53
|
||||
|
||||
# right LED
|
||||
holeDiameter1: 1.2
|
||||
padDiameter1: 1.6
|
||||
# 15.2/2-14=-6.4 13.7/2=6.85 9.14/2=4.57
|
||||
padPosition1: 6.85, -6.4, 4.57, -6.4
|
||||
|
||||
# left LED
|
||||
holeDiameter2: 1.2
|
||||
padDiameter2: 1.6
|
||||
padPosition2: -4.57, -6.4, -6.85, -6.4
|
||||
|
||||
# mounting holes
|
||||
holeDiameter3: 3.2
|
||||
# Y 15.2/2-5.0
|
||||
padPosition3: 6.35, 2.6, -6.35, 2.6
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -39,14 +39,14 @@ housing:
|
|||
bodyWidth: 32.25
|
||||
bodyLength: 15.6
|
||||
height: 13.3
|
||||
model: # from https://grabcad.com/library/rjhse-5381-02-1
|
||||
model: # modified from 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
|
||||
position: -5.3,-2.3,0.3
|
||||
|
||||
# right 8P8C pins
|
||||
holeDiameter: 1.2
|
||||
padDiameter: 1.6
|
||||
holeDiameter: 1.0
|
||||
padDiameter: 1.4
|
||||
verticalPitch: 1.02
|
||||
horizontalPitch: 1.78
|
||||
# pin 1 on 4.31+3*2.04+1.02-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
|
||||
|
@ -59,8 +59,8 @@ housing:
|
|||
padPosition1: 14.74, -6.74, 12.45, -6.74, 3.31, -6.74, 1.02, -6.74
|
||||
|
||||
# left 8P8C pins
|
||||
holeDiameter2: 1.2
|
||||
padDiameter2: 1.6
|
||||
holeDiameter2: 1.0
|
||||
padDiameter2: 1.4
|
||||
verticalPitch2: 1.02
|
||||
horizontalPitch2: 1.78
|
||||
# pin 13 on -4.31-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,77 @@
|
|||
name: HC-RJ45-5JA-2-5
|
||||
description: connector, RJ45, dual port, with LEDs
|
||||
datasheet: https://datasheet.lcsc.com/lcsc/2205201745_HCTL-HC-RJ45-5JA-2-5_C3000180.pdf
|
||||
distributor: LCSC C3000180
|
||||
|
||||
pinout:
|
||||
PORT_RIGHT:
|
||||
LED_RL:
|
||||
LEDA_RL: 12
|
||||
LEDC_RL: 11
|
||||
LED_RR:
|
||||
LEDA_RR: 10
|
||||
LEDC_RR: 9
|
||||
8P8C_R: 1-8
|
||||
PORT_LEFT:
|
||||
LED_LL:
|
||||
LEDA_LL: 24
|
||||
LEDC_LL: 23
|
||||
LED_LR:
|
||||
LEDA_LR: 22
|
||||
LEDC_LR: 21
|
||||
8P8C_L: 13-20
|
||||
|
||||
properties:
|
||||
passive: PORT_RIGHT, PORT_LEFT
|
||||
|
||||
schematic:
|
||||
symbol: connector
|
||||
left: LED_LL, LED_LR, LED_RL, LED_RR
|
||||
right: 8P8C_L, 8P8C_R
|
||||
|
||||
parts:
|
||||
left: PORT_LEFT
|
||||
right: PORT_RIGHT
|
||||
|
||||
housing:
|
||||
pattern: custom
|
||||
bodyWidth: 32.25
|
||||
bodyLength: 15.6
|
||||
height: 13.3
|
||||
model: # modified from https://grabcad.com/library/rjhse-5381-02-1
|
||||
file: "library/connector/rj45x2_hc-rj45-5ja-2-5.step"
|
||||
rotation: 0,0,0
|
||||
position: -5.3,-2.3,-0.3
|
||||
|
||||
# right 8P8C pins
|
||||
holeDiameter: 1.0
|
||||
padDiameter: 1.4
|
||||
verticalPitch: 1.02
|
||||
horizontalPitch: 1.78
|
||||
# pin 1 on 4.31+3*2.04+1.02-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
|
||||
padPosition: 11.45, -0.14, 10.43, -1.92, 9.41, -0.14, 8.39, -1.92, 7.37, -0.14, 6.35, -1.92, 5.33, -0.14, 4.31, -1.92
|
||||
|
||||
# right LEDs
|
||||
holeDiameter1: 1.2
|
||||
padDiameter1: 1.6
|
||||
# 2.04/2+13.72=14.74 , 15.6/2-5.4-9.13=-6.73, LED pitch (13.72-9.14)/2=2.29
|
||||
padPosition1: 14.74, -6.73, 12.45, -6.73, 3.31, -6.73, 1.02, -6.73
|
||||
|
||||
# left 8P8C pins
|
||||
holeDiameter2: 1.0
|
||||
padDiameter2: 1.4
|
||||
verticalPitch2: 1.02
|
||||
horizontalPitch2: 1.78
|
||||
# pin 13 on -4.31-1.02*n=11.45 , 15.6/2-5.4-2.54=-0.14 or 15.6/2-5.4-4.32=-1.92
|
||||
padPosition2: -4.31, -0.14, -5.33, -1.92, -6.35, -0.14, -7.37, -1.92, -8.39, -0.14, -9.41, -1.92, -10.43, -0.14, -11.45, -1.92
|
||||
|
||||
# left LEDs
|
||||
holeDiameter3: 1.2
|
||||
padDiameter3: 1.6
|
||||
# 2.04/2+13.72=14.74 , 15.6/2-5.4-9.13=-6.73, LED pitch (13.72-9.14)/2=2.29
|
||||
padPosition3: -1.02, -6.73, -3.31, -6.73, -12.45, -6.73, -14.74, -6.73
|
||||
|
||||
# mounting holes, large bottom
|
||||
holeDiameter4: 3.25
|
||||
# Y 15.6/2-5.4=2.40
|
||||
padPosition4: 14.25, 2.4, -14.25, 2.4
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,45 @@
|
|||
#!/usr/bin/env ruby
|
||||
# encoding: utf-8
|
||||
# ruby: 3.0.1
|
||||
|
||||
# number of possible pins
|
||||
variations = (2..10).to_a
|
||||
|
||||
puts "name: MX25C-7.62
|
||||
description: barrier terminal, 7.62mm pitch
|
||||
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
|
||||
datasheet: https://www.lcsc.com/product-detail/Barrier-Terminal-Blocks_MAX-MX25C-7-62-02P-BK01-Cu-S-A_C5188509.html
|
||||
|
||||
housing: &template
|
||||
pattern: custom
|
||||
height: 14.8
|
||||
bodyLength: 13.3
|
||||
leadHeight: 0.7
|
||||
leadWidth: 1.1
|
||||
leadLength: 4.0
|
||||
holeDiameter: 1.7
|
||||
pitch: 7.62
|
||||
rowCount: 1
|
||||
"
|
||||
|
||||
variations.each do |v|
|
||||
v_pad = v.to_s.rjust(2,'0')
|
||||
puts "
|
||||
pinout@#{v}P: 1-#{v}
|
||||
|
||||
schematic@#{v}P:
|
||||
suffix: -#{v_pad}P
|
||||
symbol: connector
|
||||
left: 1-#{v}
|
||||
|
||||
housing@#{v}P:
|
||||
suffix: -#{v_pad}P
|
||||
<<: *template
|
||||
bodyWidth: #{((v-1)*7.62+9.38).round(2)}
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-#{v_pad}P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: #{v}
|
||||
"
|
||||
end
|
|
@ -0,0 +1,168 @@
|
|||
name: MX25C-7.62
|
||||
description: barrier terminal, 7.62mm pitch
|
||||
variations: 2P, 3P, 4P, 5P, 6P, 7P, 8P, 9P, 10P
|
||||
datasheet: https://www.lcsc.com/product-detail/Barrier-Terminal-Blocks_MAX-MX25C-7-62-02P-BK01-Cu-S-A_C5188509.html
|
||||
|
||||
housing: &template
|
||||
pattern: custom
|
||||
height: 14.8
|
||||
bodyLength: 13.3
|
||||
leadHeight: 0.7
|
||||
leadWidth: 1.1
|
||||
leadLength: 4.0
|
||||
holeDiameter: 1.7
|
||||
pitch: 7.62
|
||||
rowCount: 1
|
||||
|
||||
pinout@2P: 1-2
|
||||
|
||||
schematic@2P:
|
||||
suffix: -02P
|
||||
symbol: connector
|
||||
left: 1-2
|
||||
|
||||
housing@2P:
|
||||
suffix: -02P
|
||||
<<: *template
|
||||
bodyWidth: 17.0
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-02P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 2
|
||||
|
||||
pinout@3P: 1-3
|
||||
|
||||
schematic@3P:
|
||||
suffix: -03P
|
||||
symbol: connector
|
||||
left: 1-3
|
||||
|
||||
housing@3P:
|
||||
suffix: -03P
|
||||
<<: *template
|
||||
bodyWidth: 24.62
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-03P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 3
|
||||
|
||||
pinout@4P: 1-4
|
||||
|
||||
schematic@4P:
|
||||
suffix: -04P
|
||||
symbol: connector
|
||||
left: 1-4
|
||||
|
||||
housing@4P:
|
||||
suffix: -04P
|
||||
<<: *template
|
||||
bodyWidth: 32.24
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-04P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 4
|
||||
|
||||
pinout@5P: 1-5
|
||||
|
||||
schematic@5P:
|
||||
suffix: -05P
|
||||
symbol: connector
|
||||
left: 1-5
|
||||
|
||||
housing@5P:
|
||||
suffix: -05P
|
||||
<<: *template
|
||||
bodyWidth: 39.86
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-05P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 5
|
||||
|
||||
pinout@6P: 1-6
|
||||
|
||||
schematic@6P:
|
||||
suffix: -06P
|
||||
symbol: connector
|
||||
left: 1-6
|
||||
|
||||
housing@6P:
|
||||
suffix: -06P
|
||||
<<: *template
|
||||
bodyWidth: 47.48
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-06P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 6
|
||||
|
||||
pinout@7P: 1-7
|
||||
|
||||
schematic@7P:
|
||||
suffix: -07P
|
||||
symbol: connector
|
||||
left: 1-7
|
||||
|
||||
housing@7P:
|
||||
suffix: -07P
|
||||
<<: *template
|
||||
bodyWidth: 55.1
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-07P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 7
|
||||
|
||||
pinout@8P: 1-8
|
||||
|
||||
schematic@8P:
|
||||
suffix: -08P
|
||||
symbol: connector
|
||||
left: 1-8
|
||||
|
||||
housing@8P:
|
||||
suffix: -08P
|
||||
<<: *template
|
||||
bodyWidth: 62.72
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-08P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 8
|
||||
|
||||
pinout@9P: 1-9
|
||||
|
||||
schematic@9P:
|
||||
suffix: -09P
|
||||
symbol: connector
|
||||
left: 1-9
|
||||
|
||||
housing@9P:
|
||||
suffix: -09P
|
||||
<<: *template
|
||||
bodyWidth: 70.34
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-09P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 9
|
||||
|
||||
pinout@10P: 1-10
|
||||
|
||||
schematic@10P:
|
||||
suffix: -10P
|
||||
symbol: connector
|
||||
left: 1-10
|
||||
|
||||
housing@10P:
|
||||
suffix: -10P
|
||||
<<: *template
|
||||
bodyWidth: 77.96
|
||||
model: # from JLCPCB
|
||||
file: 'library/connector/terminal-barrier_mx25c-7.62/MX25C-7.62-10P.step'
|
||||
rotation: 0,0,0
|
||||
position: 7.62,0,0
|
||||
columnCount: 10
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -35,7 +35,7 @@ schematic@#{v}P:
|
|||
housing@#{v}P:
|
||||
suffix: -#{v.to_s.rjust(2,'0')}P
|
||||
<<: *template
|
||||
silkscreen: M #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 - 0.5).round(2)} #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 + 0.5).round(2)} M #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 - 0.5).round(2)} #{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 + 0.5).round(2)}
|
||||
silkscreen: M -#{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 - 0.5).round(2)} -#{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/2 - 2.25 + 0.5).round(2)} M -#{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 - 0.5).round(2)} -#{(7.62 * v / 2 + 1.0).round(2)} #{(12.1/-2 + 2.25 + 0.5).round(2)}
|
||||
bodyWidth: #{(7.62 * v).round(2)}
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - #{v} Pin.stp'
|
||||
|
|
|
@ -25,7 +25,7 @@ schematic@2P:
|
|||
housing@2P:
|
||||
suffix: -02P
|
||||
<<: *template
|
||||
silkscreen: M 8.62 3.3 8.62 4.3 M 8.62 -4.3 8.62 -3.3
|
||||
silkscreen: M -8.62 3.3 -8.62 4.3 M -8.62 -4.3 -8.62 -3.3
|
||||
bodyWidth: 15.24
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 2 Pin.stp'
|
||||
|
@ -43,7 +43,7 @@ schematic@3P:
|
|||
housing@3P:
|
||||
suffix: -03P
|
||||
<<: *template
|
||||
silkscreen: M 12.43 3.3 12.43 4.3 M 12.43 -4.3 12.43 -3.3
|
||||
silkscreen: M -12.43 3.3 -12.43 4.3 M -12.43 -4.3 -12.43 -3.3
|
||||
bodyWidth: 22.86
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 3 Pin.stp'
|
||||
|
@ -61,7 +61,7 @@ schematic@4P:
|
|||
housing@4P:
|
||||
suffix: -04P
|
||||
<<: *template
|
||||
silkscreen: M 16.24 3.3 16.24 4.3 M 16.24 -4.3 16.24 -3.3
|
||||
silkscreen: M -16.24 3.3 -16.24 4.3 M -16.24 -4.3 -16.24 -3.3
|
||||
bodyWidth: 30.48
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 4 Pin.stp'
|
||||
|
@ -79,7 +79,7 @@ schematic@5P:
|
|||
housing@5P:
|
||||
suffix: -05P
|
||||
<<: *template
|
||||
silkscreen: M 20.05 3.3 20.05 4.3 M 20.05 -4.3 20.05 -3.3
|
||||
silkscreen: M -20.05 3.3 -20.05 4.3 M -20.05 -4.3 -20.05 -3.3
|
||||
bodyWidth: 38.1
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 5 Pin.stp'
|
||||
|
@ -97,7 +97,7 @@ schematic@6P:
|
|||
housing@6P:
|
||||
suffix: -06P
|
||||
<<: *template
|
||||
silkscreen: M 23.86 3.3 23.86 4.3 M 23.86 -4.3 23.86 -3.3
|
||||
silkscreen: M -23.86 3.3 -23.86 4.3 M -23.86 -4.3 -23.86 -3.3
|
||||
bodyWidth: 45.72
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 6 Pin.stp'
|
||||
|
@ -115,7 +115,7 @@ schematic@7P:
|
|||
housing@7P:
|
||||
suffix: -07P
|
||||
<<: *template
|
||||
silkscreen: M 27.67 3.3 27.67 4.3 M 27.67 -4.3 27.67 -3.3
|
||||
silkscreen: M -27.67 3.3 -27.67 4.3 M -27.67 -4.3 -27.67 -3.3
|
||||
bodyWidth: 53.34
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 7 Pin.stp'
|
||||
|
@ -133,7 +133,7 @@ schematic@8P:
|
|||
housing@8P:
|
||||
suffix: -08P
|
||||
<<: *template
|
||||
silkscreen: M 31.48 3.3 31.48 4.3 M 31.48 -4.3 31.48 -3.3
|
||||
silkscreen: M -31.48 3.3 -31.48 4.3 M -31.48 -4.3 -31.48 -3.3
|
||||
bodyWidth: 60.96
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 8 Pin.stp'
|
||||
|
@ -151,7 +151,7 @@ schematic@9P:
|
|||
housing@9P:
|
||||
suffix: -09P
|
||||
<<: *template
|
||||
silkscreen: M 35.29 3.3 35.29 4.3 M 35.29 -4.3 35.29 -3.3
|
||||
silkscreen: M -35.29 3.3 -35.29 4.3 M -35.29 -4.3 -35.29 -3.3
|
||||
bodyWidth: 68.58
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 9 Pin.stp'
|
||||
|
@ -169,7 +169,7 @@ schematic@10P:
|
|||
housing@10P:
|
||||
suffix: -10P
|
||||
<<: *template
|
||||
silkscreen: M 39.1 3.3 39.1 4.3 M 39.1 -4.3 39.1 -3.3
|
||||
silkscreen: M -39.1 3.3 -39.1 4.3 M -39.1 -4.3 -39.1 -3.3
|
||||
bodyWidth: 76.2
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 10 Pin.stp'
|
||||
|
@ -187,7 +187,7 @@ schematic@11P:
|
|||
housing@11P:
|
||||
suffix: -11P
|
||||
<<: *template
|
||||
silkscreen: M 42.91 3.3 42.91 4.3 M 42.91 -4.3 42.91 -3.3
|
||||
silkscreen: M -42.91 3.3 -42.91 4.3 M -42.91 -4.3 -42.91 -3.3
|
||||
bodyWidth: 83.82
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 11 Pin.stp'
|
||||
|
@ -205,7 +205,7 @@ schematic@12P:
|
|||
housing@12P:
|
||||
suffix: -12P
|
||||
<<: *template
|
||||
silkscreen: M 46.72 3.3 46.72 4.3 M 46.72 -4.3 46.72 -3.3
|
||||
silkscreen: M -46.72 3.3 -46.72 4.3 M -46.72 -4.3 -46.72 -3.3
|
||||
bodyWidth: 91.44
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 12 Pin.stp'
|
||||
|
@ -223,7 +223,7 @@ schematic@13P:
|
|||
housing@13P:
|
||||
suffix: -13P
|
||||
<<: *template
|
||||
silkscreen: M 50.53 3.3 50.53 4.3 M 50.53 -4.3 50.53 -3.3
|
||||
silkscreen: M -50.53 3.3 -50.53 4.3 M -50.53 -4.3 -50.53 -3.3
|
||||
bodyWidth: 99.06
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 13 Pin.stp'
|
||||
|
@ -241,7 +241,7 @@ schematic@14P:
|
|||
housing@14P:
|
||||
suffix: -14P
|
||||
<<: *template
|
||||
silkscreen: M 54.34 3.3 54.34 4.3 M 54.34 -4.3 54.34 -3.3
|
||||
silkscreen: M -54.34 3.3 -54.34 4.3 M -54.34 -4.3 -54.34 -3.3
|
||||
bodyWidth: 106.68
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 14 Pin.stp'
|
||||
|
@ -259,7 +259,7 @@ schematic@15P:
|
|||
housing@15P:
|
||||
suffix: -15P
|
||||
<<: *template
|
||||
silkscreen: M 58.15 3.3 58.15 4.3 M 58.15 -4.3 58.15 -3.3
|
||||
silkscreen: M -58.15 3.3 -58.15 4.3 M -58.15 -4.3 -58.15 -3.3
|
||||
bodyWidth: 114.3
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 15 Pin.stp'
|
||||
|
@ -277,7 +277,7 @@ schematic@16P:
|
|||
housing@16P:
|
||||
suffix: -16P
|
||||
<<: *template
|
||||
silkscreen: M 61.96 3.3 61.96 4.3 M 61.96 -4.3 61.96 -3.3
|
||||
silkscreen: M -61.96 3.3 -61.96 4.3 M -61.96 -4.3 -61.96 -3.3
|
||||
bodyWidth: 121.92
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 16 Pin.stp'
|
||||
|
@ -295,7 +295,7 @@ schematic@17P:
|
|||
housing@17P:
|
||||
suffix: -17P
|
||||
<<: *template
|
||||
silkscreen: M 65.77 3.3 65.77 4.3 M 65.77 -4.3 65.77 -3.3
|
||||
silkscreen: M -65.77 3.3 -65.77 4.3 M -65.77 -4.3 -65.77 -3.3
|
||||
bodyWidth: 129.54
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 17 Pin.stp'
|
||||
|
@ -313,7 +313,7 @@ schematic@18P:
|
|||
housing@18P:
|
||||
suffix: -18P
|
||||
<<: *template
|
||||
silkscreen: M 69.58 3.3 69.58 4.3 M 69.58 -4.3 69.58 -3.3
|
||||
silkscreen: M -69.58 3.3 -69.58 4.3 M -69.58 -4.3 -69.58 -3.3
|
||||
bodyWidth: 137.16
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 18 Pin.stp'
|
||||
|
@ -331,7 +331,7 @@ schematic@19P:
|
|||
housing@19P:
|
||||
suffix: -19P
|
||||
<<: *template
|
||||
silkscreen: M 73.39 3.3 73.39 4.3 M 73.39 -4.3 73.39 -3.3
|
||||
silkscreen: M -73.39 3.3 -73.39 4.3 M -73.39 -4.3 -73.39 -3.3
|
||||
bodyWidth: 144.78
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 19 Pin.stp'
|
||||
|
@ -349,7 +349,7 @@ schematic@20P:
|
|||
housing@20P:
|
||||
suffix: -20P
|
||||
<<: *template
|
||||
silkscreen: M 77.2 3.3 77.2 4.3 M 77.2 -4.3 77.2 -3.3
|
||||
silkscreen: M -77.2 3.3 -77.2 4.3 M -77.2 -4.3 -77.2 -3.3
|
||||
bodyWidth: 152.4
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 20 Pin.stp'
|
||||
|
@ -367,7 +367,7 @@ schematic@21P:
|
|||
housing@21P:
|
||||
suffix: -21P
|
||||
<<: *template
|
||||
silkscreen: M 81.01 3.3 81.01 4.3 M 81.01 -4.3 81.01 -3.3
|
||||
silkscreen: M -81.01 3.3 -81.01 4.3 M -81.01 -4.3 -81.01 -3.3
|
||||
bodyWidth: 160.02
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 21 Pin.stp'
|
||||
|
@ -385,7 +385,7 @@ schematic@22P:
|
|||
housing@22P:
|
||||
suffix: -22P
|
||||
<<: *template
|
||||
silkscreen: M 84.82 3.3 84.82 4.3 M 84.82 -4.3 84.82 -3.3
|
||||
silkscreen: M -84.82 3.3 -84.82 4.3 M -84.82 -4.3 -84.82 -3.3
|
||||
bodyWidth: 167.64
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 22 Pin.stp'
|
||||
|
@ -403,7 +403,7 @@ schematic@23P:
|
|||
housing@23P:
|
||||
suffix: -23P
|
||||
<<: *template
|
||||
silkscreen: M 88.63 3.3 88.63 4.3 M 88.63 -4.3 88.63 -3.3
|
||||
silkscreen: M -88.63 3.3 -88.63 4.3 M -88.63 -4.3 -88.63 -3.3
|
||||
bodyWidth: 175.26
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 23 Pin.stp'
|
||||
|
@ -421,7 +421,7 @@ schematic@24P:
|
|||
housing@24P:
|
||||
suffix: -24P
|
||||
<<: *template
|
||||
silkscreen: M 92.44 3.3 92.44 4.3 M 92.44 -4.3 92.44 -3.3
|
||||
silkscreen: M -92.44 3.3 -92.44 4.3 M -92.44 -4.3 -92.44 -3.3
|
||||
bodyWidth: 182.88
|
||||
model: # from https://grabcad.com/library/terminal-block-7-62mm-2
|
||||
file: 'library/connector/terminal-block-7-62mm/Terminal Block - 7.62mm - 24 Pin.stp'
|
||||
|
|
|
@ -0,0 +1,88 @@
|
|||
#!/usr/bin/env ruby
|
||||
# encoding: utf-8
|
||||
# ruby: 3.0.1
|
||||
|
||||
# number of possible pins
|
||||
variations = (2..12).to_a
|
||||
|
||||
puts "name: KF250-3.5
|
||||
description: spring loaded terminal, with lever, 3.5 mm pitch, vertical insertion
|
||||
variations: #{variations.collect {|p| p.to_s + 'P-1'} * ', '}, #{variations.collect {|p| p.to_s + 'P-2'} * ', '}
|
||||
datasheet: https://a3.ldycdn.com/KF250-3.5-aidqkBpqKirRljSkrnijolli.pdf
|
||||
distibutors: LCSC C475162
|
||||
|
||||
housing: &template
|
||||
pattern: custom
|
||||
height: 13.3
|
||||
bodyLength: 12.1
|
||||
bodyPosition: -0.2, #{(12.1/2 - 2.25 - 5.0/2).round(2)}
|
||||
leadHeight: 3.6
|
||||
leadWidth: 0.85
|
||||
leadLength: 0.4
|
||||
# top row
|
||||
holeDiameter: 1.2
|
||||
horizontalPitch: 7.0
|
||||
rowCount: 1
|
||||
# bottom row
|
||||
holeDiameter1: 1.2
|
||||
horizontalPitch1: 7.0
|
||||
rowCount1: 1
|
||||
"
|
||||
|
||||
variations.each do |v|
|
||||
v_pad = v.to_s.rjust(2,'0')
|
||||
puts "
|
||||
pinout@#{v}P-1: 1-#{v}
|
||||
|
||||
schematic@#{v}P-1:
|
||||
suffix: -#{v_pad}P-1
|
||||
symbol: connector
|
||||
left: 1-#{v}
|
||||
|
||||
housing@#{v}P-1:
|
||||
suffix: -#{v_pad}P-1
|
||||
<<: *template
|
||||
bodyWidth: #{(3.5 * v + 1.7).round(2)}
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-#{v_pad}P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: #{(v/2.0).ceil}
|
||||
rowDX: #{v.even? ? -1.75 : 0}
|
||||
rowDY: -2.5
|
||||
numbers: #{v.times.collect {|i| i+1}.select{|i| 1 == i%2}.flatten * ', '}
|
||||
# bottom row
|
||||
columnCount1: #{(v/2.0).floor}
|
||||
rowDX1: #{v.even? ? 1.75 : 0}
|
||||
rowDY1: 2.5
|
||||
numbers1: #{v.times.collect {|i| i+1}.select{|i| 0 == i%2}.flatten * ', '}
|
||||
"
|
||||
puts "
|
||||
pinout@#{v}P-2: 1-#{v}
|
||||
|
||||
schematic@#{v}P-2:
|
||||
suffix: -#{v_pad}P-2
|
||||
symbol: connector
|
||||
left: 1-#{v}
|
||||
|
||||
housing@#{v}P-2:
|
||||
suffix: -#{v_pad}P-2
|
||||
<<: *template
|
||||
bodyWidth: #{(3.5 * v + 1.7).round(2)}
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-#{v_pad}P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: #{(v/2.0).ceil}
|
||||
rowDX: #{v.even? ? -1.75 : 0}
|
||||
rowDY: 2.5
|
||||
numbers: #{v.times.collect {|i| i+1}.select{|i| 1 == i%2}.flatten * ', '}
|
||||
# bottom row
|
||||
columnCount1: #{(v/2.0).floor}
|
||||
rowDX1: #{v.even? ? 1.75 : 0}
|
||||
rowDY1: -2.5
|
||||
numbers1: #{v.times.collect {|i| i+1}.select{|i| 0 == i%2}.flatten * ', '}
|
||||
"
|
||||
end
|
|
@ -0,0 +1,594 @@
|
|||
name: KF250-3.5
|
||||
description: spring loaded terminal, with lever, 3.5 mm pitch, vertical insertion
|
||||
variations: 2P-1, 3P-1, 4P-1, 5P-1, 6P-1, 7P-1, 8P-1, 9P-1, 10P-1, 11P-1, 12P-1, 2P-2, 3P-2, 4P-2, 5P-2, 6P-2, 7P-2, 8P-2, 9P-2, 10P-2, 11P-2, 12P-2
|
||||
datasheet: https://a3.ldycdn.com/KF250-3.5-aidqkBpqKirRljSkrnijolli.pdf
|
||||
distibutors: LCSC C475162
|
||||
|
||||
housing: &template
|
||||
pattern: custom
|
||||
height: 13.3
|
||||
bodyLength: 12.1
|
||||
bodyPosition: -0.2, 1.3
|
||||
leadHeight: 3.6
|
||||
leadWidth: 0.85
|
||||
leadLength: 0.4
|
||||
# top row
|
||||
holeDiameter: 1.2
|
||||
horizontalPitch: 7.0
|
||||
rowCount: 1
|
||||
# bottom row
|
||||
holeDiameter1: 1.2
|
||||
horizontalPitch1: 7.0
|
||||
rowCount1: 1
|
||||
|
||||
pinout@2P-1: 1-2
|
||||
|
||||
schematic@2P-1:
|
||||
suffix: -02P-1
|
||||
symbol: connector
|
||||
left: 1-2
|
||||
|
||||
housing@2P-1:
|
||||
suffix: -02P-1
|
||||
<<: *template
|
||||
bodyWidth: 8.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-02P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 1
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1
|
||||
# bottom row
|
||||
columnCount1: 1
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2
|
||||
|
||||
pinout@2P-2: 1-2
|
||||
|
||||
schematic@2P-2:
|
||||
suffix: -02P-2
|
||||
symbol: connector
|
||||
left: 1-2
|
||||
|
||||
housing@2P-2:
|
||||
suffix: -02P-2
|
||||
<<: *template
|
||||
bodyWidth: 8.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-02P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 1
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1
|
||||
# bottom row
|
||||
columnCount1: 1
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2
|
||||
|
||||
pinout@3P-1: 1-3
|
||||
|
||||
schematic@3P-1:
|
||||
suffix: -03P-1
|
||||
symbol: connector
|
||||
left: 1-3
|
||||
|
||||
housing@3P-1:
|
||||
suffix: -03P-1
|
||||
<<: *template
|
||||
bodyWidth: 12.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-03P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: 0
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3
|
||||
# bottom row
|
||||
columnCount1: 1
|
||||
rowDX1: 0
|
||||
rowDY1: 2.5
|
||||
numbers1: 2
|
||||
|
||||
pinout@3P-2: 1-3
|
||||
|
||||
schematic@3P-2:
|
||||
suffix: -03P-2
|
||||
symbol: connector
|
||||
left: 1-3
|
||||
|
||||
housing@3P-2:
|
||||
suffix: -03P-2
|
||||
<<: *template
|
||||
bodyWidth: 12.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-03P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: 0
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3
|
||||
# bottom row
|
||||
columnCount1: 1
|
||||
rowDX1: 0
|
||||
rowDY1: -2.5
|
||||
numbers1: 2
|
||||
|
||||
pinout@4P-1: 1-4
|
||||
|
||||
schematic@4P-1:
|
||||
suffix: -04P-1
|
||||
symbol: connector
|
||||
left: 1-4
|
||||
|
||||
housing@4P-1:
|
||||
suffix: -04P-1
|
||||
<<: *template
|
||||
bodyWidth: 15.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-04P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3
|
||||
# bottom row
|
||||
columnCount1: 2
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4
|
||||
|
||||
pinout@4P-2: 1-4
|
||||
|
||||
schematic@4P-2:
|
||||
suffix: -04P-2
|
||||
symbol: connector
|
||||
left: 1-4
|
||||
|
||||
housing@4P-2:
|
||||
suffix: -04P-2
|
||||
<<: *template
|
||||
bodyWidth: 15.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-04P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3
|
||||
# bottom row
|
||||
columnCount1: 2
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4
|
||||
|
||||
pinout@5P-1: 1-5
|
||||
|
||||
schematic@5P-1:
|
||||
suffix: -05P-1
|
||||
symbol: connector
|
||||
left: 1-5
|
||||
|
||||
housing@5P-1:
|
||||
suffix: -05P-1
|
||||
<<: *template
|
||||
bodyWidth: 19.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-05P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: 0
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5
|
||||
# bottom row
|
||||
columnCount1: 2
|
||||
rowDX1: 0
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4
|
||||
|
||||
pinout@5P-2: 1-5
|
||||
|
||||
schematic@5P-2:
|
||||
suffix: -05P-2
|
||||
symbol: connector
|
||||
left: 1-5
|
||||
|
||||
housing@5P-2:
|
||||
suffix: -05P-2
|
||||
<<: *template
|
||||
bodyWidth: 19.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-05P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: 0
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5
|
||||
# bottom row
|
||||
columnCount1: 2
|
||||
rowDX1: 0
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4
|
||||
|
||||
pinout@6P-1: 1-6
|
||||
|
||||
schematic@6P-1:
|
||||
suffix: -06P-1
|
||||
symbol: connector
|
||||
left: 1-6
|
||||
|
||||
housing@6P-1:
|
||||
suffix: -06P-1
|
||||
<<: *template
|
||||
bodyWidth: 22.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-06P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5
|
||||
# bottom row
|
||||
columnCount1: 3
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6
|
||||
|
||||
pinout@6P-2: 1-6
|
||||
|
||||
schematic@6P-2:
|
||||
suffix: -06P-2
|
||||
symbol: connector
|
||||
left: 1-6
|
||||
|
||||
housing@6P-2:
|
||||
suffix: -06P-2
|
||||
<<: *template
|
||||
bodyWidth: 22.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-06P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5
|
||||
# bottom row
|
||||
columnCount1: 3
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6
|
||||
|
||||
pinout@7P-1: 1-7
|
||||
|
||||
schematic@7P-1:
|
||||
suffix: -07P-1
|
||||
symbol: connector
|
||||
left: 1-7
|
||||
|
||||
housing@7P-1:
|
||||
suffix: -07P-1
|
||||
<<: *template
|
||||
bodyWidth: 26.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-07P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: 0
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7
|
||||
# bottom row
|
||||
columnCount1: 3
|
||||
rowDX1: 0
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6
|
||||
|
||||
pinout@7P-2: 1-7
|
||||
|
||||
schematic@7P-2:
|
||||
suffix: -07P-2
|
||||
symbol: connector
|
||||
left: 1-7
|
||||
|
||||
housing@7P-2:
|
||||
suffix: -07P-2
|
||||
<<: *template
|
||||
bodyWidth: 26.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-07P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: 0
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7
|
||||
# bottom row
|
||||
columnCount1: 3
|
||||
rowDX1: 0
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6
|
||||
|
||||
pinout@8P-1: 1-8
|
||||
|
||||
schematic@8P-1:
|
||||
suffix: -08P-1
|
||||
symbol: connector
|
||||
left: 1-8
|
||||
|
||||
housing@8P-1:
|
||||
suffix: -08P-1
|
||||
<<: *template
|
||||
bodyWidth: 29.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-08P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7
|
||||
# bottom row
|
||||
columnCount1: 4
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6, 8
|
||||
|
||||
pinout@8P-2: 1-8
|
||||
|
||||
schematic@8P-2:
|
||||
suffix: -08P-2
|
||||
symbol: connector
|
||||
left: 1-8
|
||||
|
||||
housing@8P-2:
|
||||
suffix: -08P-2
|
||||
<<: *template
|
||||
bodyWidth: 29.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-08P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7
|
||||
# bottom row
|
||||
columnCount1: 4
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6, 8
|
||||
|
||||
pinout@9P-1: 1-9
|
||||
|
||||
schematic@9P-1:
|
||||
suffix: -09P-1
|
||||
symbol: connector
|
||||
left: 1-9
|
||||
|
||||
housing@9P-1:
|
||||
suffix: -09P-1
|
||||
<<: *template
|
||||
bodyWidth: 33.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-09P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: 0
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7, 9
|
||||
# bottom row
|
||||
columnCount1: 4
|
||||
rowDX1: 0
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6, 8
|
||||
|
||||
pinout@9P-2: 1-9
|
||||
|
||||
schematic@9P-2:
|
||||
suffix: -09P-2
|
||||
symbol: connector
|
||||
left: 1-9
|
||||
|
||||
housing@9P-2:
|
||||
suffix: -09P-2
|
||||
<<: *template
|
||||
bodyWidth: 33.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-09P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: 0
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7, 9
|
||||
# bottom row
|
||||
columnCount1: 4
|
||||
rowDX1: 0
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6, 8
|
||||
|
||||
pinout@10P-1: 1-10
|
||||
|
||||
schematic@10P-1:
|
||||
suffix: -10P-1
|
||||
symbol: connector
|
||||
left: 1-10
|
||||
|
||||
housing@10P-1:
|
||||
suffix: -10P-1
|
||||
<<: *template
|
||||
bodyWidth: 36.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-10P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7, 9
|
||||
# bottom row
|
||||
columnCount1: 5
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6, 8, 10
|
||||
|
||||
pinout@10P-2: 1-10
|
||||
|
||||
schematic@10P-2:
|
||||
suffix: -10P-2
|
||||
symbol: connector
|
||||
left: 1-10
|
||||
|
||||
housing@10P-2:
|
||||
suffix: -10P-2
|
||||
<<: *template
|
||||
bodyWidth: 36.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-10P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7, 9
|
||||
# bottom row
|
||||
columnCount1: 5
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6, 8, 10
|
||||
|
||||
pinout@11P-1: 1-11
|
||||
|
||||
schematic@11P-1:
|
||||
suffix: -11P-1
|
||||
symbol: connector
|
||||
left: 1-11
|
||||
|
||||
housing@11P-1:
|
||||
suffix: -11P-1
|
||||
<<: *template
|
||||
bodyWidth: 40.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-11P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: 0
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7, 9, 11
|
||||
# bottom row
|
||||
columnCount1: 5
|
||||
rowDX1: 0
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6, 8, 10
|
||||
|
||||
pinout@11P-2: 1-11
|
||||
|
||||
schematic@11P-2:
|
||||
suffix: -11P-2
|
||||
symbol: connector
|
||||
left: 1-11
|
||||
|
||||
housing@11P-2:
|
||||
suffix: -11P-2
|
||||
<<: *template
|
||||
bodyWidth: 40.2
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-11P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: 0
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7, 9, 11
|
||||
# bottom row
|
||||
columnCount1: 5
|
||||
rowDX1: 0
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6, 8, 10
|
||||
|
||||
pinout@12P-1: 1-12
|
||||
|
||||
schematic@12P-1:
|
||||
suffix: -12P-1
|
||||
symbol: connector
|
||||
left: 1-12
|
||||
|
||||
housing@12P-1:
|
||||
suffix: -12P-1
|
||||
<<: *template
|
||||
bodyWidth: 43.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-12P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: -1.75
|
||||
rowDY: -2.5
|
||||
numbers: 1, 3, 5, 7, 9, 11
|
||||
# bottom row
|
||||
columnCount1: 6
|
||||
rowDX1: 1.75
|
||||
rowDY1: 2.5
|
||||
numbers1: 2, 4, 6, 8, 10, 12
|
||||
|
||||
pinout@12P-2: 1-12
|
||||
|
||||
schematic@12P-2:
|
||||
suffix: -12P-2
|
||||
symbol: connector
|
||||
left: 1-12
|
||||
|
||||
housing@12P-2:
|
||||
suffix: -12P-2
|
||||
<<: *template
|
||||
bodyWidth: 43.7
|
||||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-12P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: -1.75
|
||||
rowDY: 2.5
|
||||
numbers: 1, 3, 5, 7, 9, 11
|
||||
# bottom row
|
||||
columnCount1: 6
|
||||
rowDX1: 1.75
|
||||
rowDY1: -2.5
|
||||
numbers1: 2, 4, 6, 8, 10, 12
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -1,11 +1,15 @@
|
|||
name: SCHOTTKY
|
||||
variations: SOD123, SOD323, SOD523, SMA, SMB, SMC
|
||||
variations: SOD123, SOD323, SOD523, SMA, SMB, SMC, D-PAK
|
||||
description: diode, schottky, generic
|
||||
|
||||
pinout:
|
||||
C: 1
|
||||
A: 2
|
||||
|
||||
pinout@D-PAK:
|
||||
C: 4
|
||||
A: 1,3
|
||||
|
||||
schematic:
|
||||
symbol: diode
|
||||
options: schottky
|
||||
|
@ -33,3 +37,7 @@ housing@SMB:
|
|||
housing@SMC:
|
||||
outline: JEDEC DO-214 AB
|
||||
options: polarized
|
||||
|
||||
housing@D-PAK:
|
||||
suffix: _D-PAK
|
||||
outline: JEDEC TO-252 AA
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
name: CH340
|
||||
# not variations are defined here
|
||||
variations: E
|
||||
# not all variations are defined here
|
||||
variations: E, G, K
|
||||
description: transceiver, USB to serial
|
||||
datasheet: http://www.wch-ic.com/downloads/file/79.html
|
||||
distributors: LCSC C99652
|
||||
distributors: LCSC C99652 (E), C14267 (G)
|
||||
|
||||
pinout@E:
|
||||
USB:
|
||||
|
@ -21,16 +21,57 @@ pinout@E:
|
|||
V3: 10
|
||||
GND: 3
|
||||
|
||||
pinout@G:
|
||||
USB:
|
||||
UD+: 5
|
||||
UD-: 6
|
||||
XTAL:
|
||||
XI: 7
|
||||
XO: 8
|
||||
R232: 15
|
||||
CTRL:
|
||||
RTS: 14
|
||||
CTS: 9
|
||||
DSR: 10
|
||||
RI: 11
|
||||
DCD: 12
|
||||
DTR: 13
|
||||
UART:
|
||||
TXD: 2
|
||||
RXD: 3
|
||||
POWER:
|
||||
VCC: 16
|
||||
V3: 4
|
||||
GND: 1
|
||||
|
||||
pinout@K:
|
||||
USB:
|
||||
UD+: 1
|
||||
UD-: 2
|
||||
CTRL:
|
||||
RTS: 6
|
||||
CTS: 5
|
||||
DTR: 4
|
||||
UART:
|
||||
TXD: 8
|
||||
RXD: 9
|
||||
POWER:
|
||||
VCC: 7
|
||||
V3: 10
|
||||
GND: 3, 11
|
||||
|
||||
properties:
|
||||
bidir: USB
|
||||
in: RXD, CTS
|
||||
out: TXD, RTS, TNOW
|
||||
in: RXD, CTS, XI, DSR, RI, DCD, R232
|
||||
out: TXD, RTS, TNOW, XO, DTR
|
||||
power: POWER
|
||||
passive: XTAL
|
||||
ground: GND
|
||||
inverted: DTR, CTS, RTS, DCD, RI, DSR
|
||||
|
||||
schematic@E:
|
||||
schematic:
|
||||
symbol: ic
|
||||
left: USB, TNOW
|
||||
left: USB, TNOW, XTRAL, R232
|
||||
right: UART, CTRL
|
||||
top: POWER
|
||||
bottom: GND
|
||||
|
@ -46,3 +87,29 @@ housing@E: # MSOP-10, dimensions from diodes MSOP-10 datasheet
|
|||
leadLength: 0.6 # L
|
||||
leadCount: 10
|
||||
pitch: 0.5 # e
|
||||
|
||||
housing@G: # SOP-16
|
||||
suffix: G
|
||||
pattern: SOP
|
||||
bodyWidth: 3.9 # body size
|
||||
bodyLength: 9.9
|
||||
height: 1.55
|
||||
leadSpan: 6.0
|
||||
leadWidth: 0.38
|
||||
leadLength: 0.41-1.27
|
||||
leadCount: 16
|
||||
pitch: 1.27 # lead pitch
|
||||
|
||||
housing@K: # ESSOP-10, dimensions not in datasheet
|
||||
suffix: K
|
||||
pattern: SOP
|
||||
bodyWidth: 3.9 # body size
|
||||
bodyLength: 4.9
|
||||
height: 1.4
|
||||
leadSpan: 6.15
|
||||
leadWidth: 0.4
|
||||
leadLength: 0.6
|
||||
leadCount: 10
|
||||
pitch: 1.0 # e
|
||||
tabWidth: 2.4
|
||||
tabLength: 2.8
|
||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -30,6 +30,12 @@ housing:
|
|||
height: 1.0
|
||||
silkscreen: M 1.6 -1.45 1.6 1.45 M -0.8 -2.1 -1.6 -1.3
|
||||
|
||||
|
||||
model: # modified from https://componentsearchengine.com/part-view/MP34DT05TR-A/STMicroelectronics
|
||||
file: "library/sensor/microphone-pdm_mp34dt05-a.step"
|
||||
rotation: 0,0,0
|
||||
position: 0,0,90
|
||||
|
||||
verticalPitch: 1.35
|
||||
horizontalPitch: 0.85
|
||||
padWidth: 0.4
|
||||
|
|
Loading…
Reference in New Issue