Compare commits
6 Commits
41c31b0914
...
32f3afb2e8
Author | SHA1 | Date |
---|---|---|
King Kévin | 32f3afb2e8 | |
King Kévin | 416c4d8bca | |
King Kévin | 0a4f888971 | |
King Kévin | aab60d1e23 | |
King Kévin | 5832dd4878 | |
King Kévin | d8e470ec49 |
|
@ -31,25 +31,25 @@ housing:
|
|||
position: 0,0,0
|
||||
|
||||
# 8P8C pins
|
||||
holeDiameter: 1.2
|
||||
padDiameter: 1.6
|
||||
holeDiameter: 1.0 # 1.2 according to recommended pattern, but far to large, and smaller allows routing between pads
|
||||
padDiameter: 1.4
|
||||
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
|
||||
holeDiameter1: 1.0 # 1.2 according to recommended pattern
|
||||
padDiameter1: 1.4
|
||||
# 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
|
||||
holeDiameter2: 1.0 # 1.2 according to recommended pattern
|
||||
padDiameter2: 1.4
|
||||
padPosition2: -4.57, -6.4, -6.85, -6.4
|
||||
|
||||
# mounting holes
|
||||
holeDiameter3: 3.2
|
||||
holeDiameter3: 2.8 # 3.2 according to recommended pattern, but neck is 2.5 and head is 3.0
|
||||
# Y 15.2/2-5.0
|
||||
padPosition3: 6.35, 2.6, -6.35, 2.6
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
# number of possible pins
|
||||
variations = (2..12).to_a
|
||||
|
||||
# 3D model x-offset
|
||||
x_3d_offset = [0.0] * 13
|
||||
x_3d_offset[8] = 7.0
|
||||
|
||||
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'} * ', '}
|
||||
|
@ -46,7 +50,7 @@ housing@#{v}P-1:
|
|||
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
|
||||
position: #{x_3d_offset[v]},0,0
|
||||
# top row
|
||||
columnCount: #{(v/2.0).ceil}
|
||||
rowDX: #{v.even? ? -1.75 : 0}
|
||||
|
@ -73,7 +77,7 @@ housing@#{v}P-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
|
||||
position: #{x_3d_offset[v]},0,0
|
||||
# top row
|
||||
columnCount: #{(v/2.0).ceil}
|
||||
rowDX: #{v.even? ? -1.75 : 0}
|
||||
|
|
|
@ -35,7 +35,7 @@ housing@2P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-02P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 1
|
||||
rowDX: -1.75
|
||||
|
@ -61,7 +61,7 @@ housing@2P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-02P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 1
|
||||
rowDX: -1.75
|
||||
|
@ -87,7 +87,7 @@ housing@3P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-03P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: 0
|
||||
|
@ -113,7 +113,7 @@ housing@3P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-03P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: 0
|
||||
|
@ -139,7 +139,7 @@ housing@4P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-04P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: -1.75
|
||||
|
@ -165,7 +165,7 @@ housing@4P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-04P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 2
|
||||
rowDX: -1.75
|
||||
|
@ -191,7 +191,7 @@ housing@5P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-05P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: 0
|
||||
|
@ -217,7 +217,7 @@ housing@5P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-05P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: 0
|
||||
|
@ -243,7 +243,7 @@ housing@6P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-06P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: -1.75
|
||||
|
@ -269,7 +269,7 @@ housing@6P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-06P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 3
|
||||
rowDX: -1.75
|
||||
|
@ -295,7 +295,7 @@ housing@7P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-07P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: 0
|
||||
|
@ -321,7 +321,7 @@ housing@7P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-07P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: 0
|
||||
|
@ -347,7 +347,7 @@ housing@8P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-08P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 7.0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: -1.75
|
||||
|
@ -373,7 +373,7 @@ housing@8P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-08P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 7.0,0,0
|
||||
# top row
|
||||
columnCount: 4
|
||||
rowDX: -1.75
|
||||
|
@ -399,7 +399,7 @@ housing@9P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-09P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: 0
|
||||
|
@ -425,7 +425,7 @@ housing@9P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-09P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: 0
|
||||
|
@ -451,7 +451,7 @@ housing@10P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-10P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: -1.75
|
||||
|
@ -477,7 +477,7 @@ housing@10P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-10P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 5
|
||||
rowDX: -1.75
|
||||
|
@ -503,7 +503,7 @@ housing@11P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-11P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: 0
|
||||
|
@ -529,7 +529,7 @@ housing@11P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-11P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: 0
|
||||
|
@ -555,7 +555,7 @@ housing@12P-1:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-12P-1.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: -1.75
|
||||
|
@ -581,7 +581,7 @@ housing@12P-2:
|
|||
model:
|
||||
file: 'library/connector/terminal-spring_kf250-3.5/KF250-3.5-12P-2.step'
|
||||
rotation: 0,0,0
|
||||
position: 0,0,0
|
||||
position: 0.0,0,0
|
||||
# top row
|
||||
columnCount: 6
|
||||
rowDX: -1.75
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,111 @@
|
|||
name: 74LVC1G157
|
||||
variations: GW, GV, GM, GF, GN, GS # SOT363, SOT457, SOT886, SOT891, SOT1115, SOT1202
|
||||
description: multiplexer, 2-input
|
||||
datasheet: https://assets.nexperia.com/documents/data-sheet/74LVC1G157.pdf
|
||||
|
||||
|
||||
pinout:
|
||||
IN:
|
||||
I0: 3
|
||||
I1: 1
|
||||
OUT:
|
||||
Y: 4
|
||||
POWER:
|
||||
VCC: 5
|
||||
GROUND:
|
||||
GND: 2
|
||||
SELECT:
|
||||
S: 6
|
||||
|
||||
properties:
|
||||
input: IN, SELECT
|
||||
output: OUT
|
||||
power: POWER
|
||||
ground: GROUND
|
||||
|
||||
schematic:
|
||||
symbol: IC
|
||||
left: INPUT, SELECT
|
||||
right: OUTPUT
|
||||
top: POWER
|
||||
bottom: GROUND
|
||||
|
||||
housing@GW: # SOT363
|
||||
suffix: GW
|
||||
pattern: SOP
|
||||
bodyWidth: 1.15-1.35 # E
|
||||
bodyLength: 1.8-2.2 # D
|
||||
height: 0.8-1.1 # A
|
||||
leadWidth: 0.2-0.3 # bp
|
||||
leadLength: 0.15-0.45 # Lp
|
||||
leadSpan: 2.0-2.2 # HE
|
||||
pitch: 0.65 # e1
|
||||
leadCount: 6
|
||||
|
||||
housing@GV: # SOT457
|
||||
suffix: GV
|
||||
pattern: SOP
|
||||
bodyWidth: 1.3-1.7 # E
|
||||
bodyLength: 2.7-3.1 # D
|
||||
height: 0.9-1.1 # A
|
||||
leadWidth: 0.25-0.40 # bp
|
||||
leadLength: 0.2-0.6 # Lp
|
||||
leadSpan: 2.5-3.0 # HE
|
||||
pitch: 0.95 # e
|
||||
leadCount: 6
|
||||
|
||||
housing@GM: # SOT886
|
||||
suffix: GM
|
||||
pattern: QFN
|
||||
bodyWidth: 0.95-1.05 # E
|
||||
bodyLength: 1.4-1.5 # D
|
||||
height: 0.5 # A
|
||||
leadWidth: 0.27-0.35 # L
|
||||
leadLength: 0.17-0.25 # b
|
||||
horizontalPitch: 0.6 # e
|
||||
verticalPitch: 0.5 # e1
|
||||
leadCount: 6
|
||||
rowCont: 3
|
||||
columnCount: 2
|
||||
|
||||
housing@GF: # SOT891
|
||||
suffix: GF
|
||||
pattern: QFN
|
||||
bodyWidth: 0.95-1.05 # E
|
||||
bodyLength: 0.95-1.05 # D
|
||||
height: 0.5 # A
|
||||
leadWidth: 0.27-0.35 # L
|
||||
leadLength: 0.12-0.20 # b
|
||||
horizontalPitch: 0.55 # e
|
||||
verticalPitch: 0.35 # e1
|
||||
leadCount: 6
|
||||
rowCont: 3
|
||||
columnCount: 2
|
||||
|
||||
housing@GN: # SOT1115
|
||||
suffix: GN
|
||||
pattern: QFN
|
||||
bodyWidth: 0.95-1.05 # E
|
||||
bodyLength: 0.85-0.95 # D
|
||||
height: 0.35 # A
|
||||
leadWidth: 0.27-0.35 # L
|
||||
leadLength: 0.12-0.20 # b
|
||||
horizontalPitch: 0.55 # e
|
||||
verticalPitch: 0.3 # e1
|
||||
leadCount: 6
|
||||
rowCont: 3
|
||||
columnCount: 2
|
||||
|
||||
housing@GS: # SOT1202
|
||||
suffix: GS
|
||||
pattern: QFN
|
||||
bodyWidth: 0.95-1.05 # E
|
||||
bodyLength: 0.95-1.05 # D
|
||||
height: 0.35 # A
|
||||
leadWidth: 0.27-0.35 # L
|
||||
leadLength: 0.12-0.20 # b
|
||||
horizontalPitch: 0.55 # e
|
||||
verticalPitch: 0.35 # e1
|
||||
leadCount: 6
|
||||
rowCont: 3
|
||||
columnCount: 2
|
|
@ -0,0 +1,40 @@
|
|||
name: ADM2483
|
||||
description: transceiver, RS-485, isolated
|
||||
datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM2483.pdf
|
||||
|
||||
pinout:
|
||||
UART:
|
||||
DE: 5
|
||||
TxD: 6
|
||||
RxD: 3
|
||||
~RE: 4
|
||||
RS485:
|
||||
A: 12
|
||||
B: 13
|
||||
POWER:
|
||||
VDD1: 1
|
||||
VDD2: 16
|
||||
GROUND:
|
||||
GND1: 2, 8
|
||||
GND2: 9, 15
|
||||
PV: 7
|
||||
NC: 10, 11, 14
|
||||
|
||||
properties:
|
||||
bidir: A,B
|
||||
in: TxD,~RE,DE,PV
|
||||
out: RxD
|
||||
power: POWER
|
||||
ground: GROUND
|
||||
inverted: ~RE
|
||||
nc: NC
|
||||
|
||||
schematic:
|
||||
symbol: ic
|
||||
left: UART, PV
|
||||
right: RS485
|
||||
top: POWER
|
||||
bottom: GROUND
|
||||
|
||||
housing:
|
||||
outline: jedec ms-013 AA
|
|
@ -0,0 +1,32 @@
|
|||
name: BxxxxS
|
||||
description: DC/DC converter, isolated
|
||||
datasheet: https://www.mornsun-power.com/public/uploads/pdf/B05_S-1WR3.pdf
|
||||
|
||||
pinout:
|
||||
GND: 1
|
||||
VIN: 2
|
||||
0V: 3
|
||||
VO: 4
|
||||
|
||||
properties:
|
||||
power: VIN, VO
|
||||
ground: GND, 0V
|
||||
|
||||
schematic:
|
||||
symbol: IC
|
||||
left: VIN, GND
|
||||
right: VO, 0V
|
||||
|
||||
housing:
|
||||
pattern: custom
|
||||
bodyWidth: 11.6
|
||||
bodyLength: 6.0
|
||||
height: 10.16
|
||||
leadWidth: 0.5
|
||||
leadHeight: 0.3
|
||||
holeDiameter: 1.0 # (recommended, not lead diameter + 0.2)
|
||||
padDiameter: 1.4 # hole diameter + 0.2 * 2
|
||||
rowCount: 1
|
||||
columnCount: 4
|
||||
pitch: 2.54
|
||||
rowDY: 2.1 # 6.0/2-0.9
|
Loading…
Reference in New Issue