Compare commits

...

7 Commits

Author SHA1 Message Date
King Kévin cad0c1be57 add RS-485 transceiver 2023-09-28 04:32:08 +02:00
King Kévin e4f5a772b2 add XL4015 5A buck converter 2023-09-28 04:31:25 +02:00
King Kévin 05701b126b add 5A inductor 2023-09-28 04:30:46 +02:00
King Kévin 6df475cf89 add 74HCT14 inverter 2023-09-28 04:30:27 +02:00
King Kévin 9876b31c1a add B540 5A schottky 2023-09-28 04:30:04 +02:00
King Kévin 5d8b0a63f2 add RJ45 x2 connector 2023-09-28 04:29:38 +02:00
King Kévin c83b129471 fix kf141 body and improve definition 2023-09-28 04:28:43 +02:00
10 changed files with 508 additions and 384 deletions

View File

@ -5,44 +5,39 @@
# number of possible pins
variations = (2..12).to_a
puts "name: KF141R-2.54"
puts "description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch"
puts "variations: " + variations.collect{|p| p.to_s+"P"}*", "
puts "datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54-10P_C475132.pdf"
puts ""
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'} * ', '}
datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54-10P_C475132.pdf
housing: &template
pattern: custom
height: 13.0
bodyLength: 12.65
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
horizontalPitch: 2.54
verticalPitch: 5.08
rowCount: 2
bodyPosition: #{2.54 - 0.95}, #{-3.785 + 5.50}
"
variations.each do |v|
puts "pinout@#{v}P: 1-#{v}"
puts ""
puts "schematic@#{v}P:"
puts " suffix: -#{v}P"
puts " symbol: connector"
puts " left: 1-#{v}"
puts ""
puts "housing@#{v}P:"
puts " pattern: custom"
puts " options: polarized"
puts " height: 13.0"
puts " pitch: 2.54"
puts " leadHeight: 3.50"
puts " leadWidth: 0.70"
puts " leadLength: 0.50"
puts " holeDiameter: 1.2"
puts " columnCount: 1"
puts " rowCount: #{v}"
puts " bodyWidth: 13.80"
puts " bodyLength: #{(2.54 * v + 2.54).round(2)}"
#puts " bodyPosition: 0, 0.95" # alternative is to center on the pins section only
puts " numbers: " + (v.times.collect {|i| [i + 1]*2}.flatten * ", ")
print " padPosition: "
positions = []
v.times do |i|
positions << [13.80/2 - 2.85 - 5.08, (2.54 * v + 2.54) / -2 + 0.95 + i * 2.54]
positions << [13.80/2 - 2.85, (2.54 * v + 2.54) / -2 + 0.95 + i * 2.54]
end
positions.flatten!
positions.collect!{|p| p.round(3)}
print positions * ", "
puts ""
end
puts "
pinout@#{v}P: 1-#{v}
schematic@#{v}P:
suffix: -#{v}P
symbol: connector
left: 1-#{v}
housing@#{v}P:
suffix: -#{v}P
<<: *template
bodyWidth: #{(2.54 * v + 2.54).round(2)}
columnCount: #{v}
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
"
end

View File

@ -3,6 +3,19 @@ description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch
variations: 2P, 3P, 4P, 5P, 6P, 7P, 8P, 9P, 10P, 11P, 12P
datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141R-2-54-10P_C475132.pdf
housing: &template
pattern: custom
height: 13.0
bodyLength: 12.65
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
horizontalPitch: 2.54
verticalPitch: 5.08
rowCount: 2
bodyPosition: 1.59, 1.7149999999999999
pinout@2P: 1-2
schematic@2P:
@ -11,20 +24,12 @@ schematic@2P:
left: 1-2
housing@2P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 2
bodyWidth: 13.80
bodyLength: 7.62
numbers: 1, 1, 2, 2
padPosition: -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32
suffix: -2P
<<: *template
bodyWidth: 7.62
columnCount: 2
numbers: 1, 2, 1, 2
pinout@3P: 1-3
schematic@3P:
@ -33,20 +38,12 @@ schematic@3P:
left: 1-3
housing@3P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 3
bodyWidth: 13.80
bodyLength: 10.16
numbers: 1, 1, 2, 2, 3, 3
padPosition: -1.03, -4.13, 4.05, -4.13, -1.03, -1.59, 4.05, -1.59, -1.03, 0.95, 4.05, 0.95
suffix: -3P
<<: *template
bodyWidth: 10.16
columnCount: 3
numbers: 1, 2, 3, 1, 2, 3
pinout@4P: 1-4
schematic@4P:
@ -55,20 +52,12 @@ schematic@4P:
left: 1-4
housing@4P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 4
bodyWidth: 13.80
bodyLength: 12.7
numbers: 1, 1, 2, 2, 3, 3, 4, 4
padPosition: -1.03, -5.4, 4.05, -5.4, -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32, -1.03, 2.22, 4.05, 2.22
suffix: -4P
<<: *template
bodyWidth: 12.7
columnCount: 4
numbers: 1, 2, 3, 4, 1, 2, 3, 4
pinout@5P: 1-5
schematic@5P:
@ -77,20 +66,12 @@ schematic@5P:
left: 1-5
housing@5P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 5
bodyWidth: 13.80
bodyLength: 15.24
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5
padPosition: -1.03, -6.67, 4.05, -6.67, -1.03, -4.13, 4.05, -4.13, -1.03, -1.59, 4.05, -1.59, -1.03, 0.95, 4.05, 0.95, -1.03, 3.49, 4.05, 3.49
suffix: -5P
<<: *template
bodyWidth: 15.24
columnCount: 5
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
pinout@6P: 1-6
schematic@6P:
@ -99,20 +80,12 @@ schematic@6P:
left: 1-6
housing@6P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 6
bodyWidth: 13.80
bodyLength: 17.78
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6
padPosition: -1.03, -7.94, 4.05, -7.94, -1.03, -5.4, 4.05, -5.4, -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32, -1.03, 2.22, 4.05, 2.22, -1.03, 4.76, 4.05, 4.76
suffix: -6P
<<: *template
bodyWidth: 17.78
columnCount: 6
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
pinout@7P: 1-7
schematic@7P:
@ -121,20 +94,12 @@ schematic@7P:
left: 1-7
housing@7P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 7
bodyWidth: 13.80
bodyLength: 20.32
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7
padPosition: -1.03, -9.21, 4.05, -9.21, -1.03, -6.67, 4.05, -6.67, -1.03, -4.13, 4.05, -4.13, -1.03, -1.59, 4.05, -1.59, -1.03, 0.95, 4.05, 0.95, -1.03, 3.49, 4.05, 3.49, -1.03, 6.03, 4.05, 6.03
suffix: -7P
<<: *template
bodyWidth: 20.32
columnCount: 7
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
pinout@8P: 1-8
schematic@8P:
@ -143,20 +108,12 @@ schematic@8P:
left: 1-8
housing@8P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 8
bodyWidth: 13.80
bodyLength: 22.86
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8
padPosition: -1.03, -10.48, 4.05, -10.48, -1.03, -7.94, 4.05, -7.94, -1.03, -5.4, 4.05, -5.4, -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32, -1.03, 2.22, 4.05, 2.22, -1.03, 4.76, 4.05, 4.76, -1.03, 7.3, 4.05, 7.3
suffix: -8P
<<: *template
bodyWidth: 22.86
columnCount: 8
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
pinout@9P: 1-9
schematic@9P:
@ -165,20 +122,12 @@ schematic@9P:
left: 1-9
housing@9P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 9
bodyWidth: 13.80
bodyLength: 25.4
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9
padPosition: -1.03, -11.75, 4.05, -11.75, -1.03, -9.21, 4.05, -9.21, -1.03, -6.67, 4.05, -6.67, -1.03, -4.13, 4.05, -4.13, -1.03, -1.59, 4.05, -1.59, -1.03, 0.95, 4.05, 0.95, -1.03, 3.49, 4.05, 3.49, -1.03, 6.03, 4.05, 6.03, -1.03, 8.57, 4.05, 8.57
suffix: -9P
<<: *template
bodyWidth: 25.4
columnCount: 9
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
pinout@10P: 1-10
schematic@10P:
@ -187,20 +136,12 @@ schematic@10P:
left: 1-10
housing@10P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 10
bodyWidth: 13.80
bodyLength: 27.94
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10
padPosition: -1.03, -13.02, 4.05, -13.02, -1.03, -10.48, 4.05, -10.48, -1.03, -7.94, 4.05, -7.94, -1.03, -5.4, 4.05, -5.4, -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32, -1.03, 2.22, 4.05, 2.22, -1.03, 4.76, 4.05, 4.76, -1.03, 7.3, 4.05, 7.3, -1.03, 9.84, 4.05, 9.84
suffix: -10P
<<: *template
bodyWidth: 27.94
columnCount: 10
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
pinout@11P: 1-11
schematic@11P:
@ -209,20 +150,12 @@ schematic@11P:
left: 1-11
housing@11P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 11
bodyWidth: 13.80
bodyLength: 30.48
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11
padPosition: -1.03, -14.29, 4.05, -14.29, -1.03, -11.75, 4.05, -11.75, -1.03, -9.21, 4.05, -9.21, -1.03, -6.67, 4.05, -6.67, -1.03, -4.13, 4.05, -4.13, -1.03, -1.59, 4.05, -1.59, -1.03, 0.95, 4.05, 0.95, -1.03, 3.49, 4.05, 3.49, -1.03, 6.03, 4.05, 6.03, -1.03, 8.57, 4.05, 8.57, -1.03, 11.11, 4.05, 11.11
suffix: -11P
<<: *template
bodyWidth: 30.48
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
pinout@12P: 1-12
schematic@12P:
@ -231,17 +164,8 @@ schematic@12P:
left: 1-12
housing@12P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 12
bodyWidth: 13.80
bodyLength: 33.02
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12
padPosition: -1.03, -15.56, 4.05, -15.56, -1.03, -13.02, 4.05, -13.02, -1.03, -10.48, 4.05, -10.48, -1.03, -7.94, 4.05, -7.94, -1.03, -5.4, 4.05, -5.4, -1.03, -2.86, 4.05, -2.86, -1.03, -0.32, 4.05, -0.32, -1.03, 2.22, 4.05, 2.22, -1.03, 4.76, 4.05, 4.76, -1.03, 7.3, 4.05, 7.3, -1.03, 9.84, 4.05, 9.84, -1.03, 12.38, 4.05, 12.38
suffix: -12P
<<: *template
bodyWidth: 33.02
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

View File

@ -5,44 +5,39 @@
# number of possible pins
variations = (2..12).to_a
puts "name: KF141V-2.54"
puts "description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch, vertical insertion"
puts "variations: " + variations.collect{|p| p.to_s+"P"}*", "
puts "datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141V-2-54-10P_C475122.pdf"
puts ""
puts "name: KF141V-2.54
description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch, vertical insertion
variations: #{variations.collect {|p| p.to_s + 'P'} * ', '}
datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141V-2-54-10P_C475122.pdf
housing: &template
pattern: custom
height: 13.0
bodyLength: 12.65
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
horizontalPitch: 2.54
verticalPitch: 5.08
rowCount: 2
bodyPosition: #{2.54 - 0.95}, #{-3.785 + 2.87}
"
variations.each do |v|
puts "pinout@#{v}P: 1-#{v}"
puts ""
puts "schematic@#{v}P:"
puts " suffix: -#{v}P"
puts " symbol: connector"
puts " left: 1-#{v}"
puts ""
puts "housing@#{v}P:"
puts " pattern: custom"
puts " options: polarized"
puts " height: 13.0"
puts " pitch: 2.54"
puts " leadHeight: 3.50"
puts " leadWidth: 0.70"
puts " leadLength: 0.50"
puts " holeDiameter: 1.2"
puts " columnCount: 1"
puts " rowCount: #{v}"
puts " bodyWidth: 12.70"
puts " bodyLength: #{(2.54 * v + 2.54).round(2)}"
#puts " bodyPosition: 0, 1.0" # alternative is to center on the pins section only
puts " numbers: " + (v.times.collect {|i| [i + 1]*2}.flatten * ", ")
print " padPosition: "
positions = []
v.times do |i|
positions << [12.70/2 - 3.00 - 5.08, (2.54 * v + 2.54) / -2 + 1.0 + i * 2.54]
positions << [12.70/2 - 3.00, (2.54 * v + 2.54) / -2 + 1.0 + i * 2.54]
end
positions.flatten!
positions.collect!{|p| p.round(3)}
print positions * ", "
puts ""
end
puts "
pinout@#{v}P: 1-#{v}
schematic@#{v}P:
suffix: -#{v}P
symbol: connector
left: 1-#{v}
housing@#{v}P:
suffix: -#{v}P
<<: *template
bodyWidth: #{(2.54 * v + 2.54).round(2)}
columnCount: #{v}
numbers: #{v.times.collect {|i| [i + 1]}.flatten * 2 * ', '}
"
end

View File

@ -3,6 +3,19 @@ description: spring loaded terminal, with lever, 0.1 in/2.54 mm pitch, vertical
variations: 2P, 3P, 4P, 5P, 6P, 7P, 8P, 9P, 10P, 11P, 12P
datasheet: https://datasheet.lcsc.com/lcsc/2001151504_Cixi-Kefa-Elec-KF141V-2-54-10P_C475122.pdf
housing: &template
pattern: custom
height: 13.0
bodyLength: 12.65
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
horizontalPitch: 2.54
verticalPitch: 5.08
rowCount: 2
bodyPosition: 1.59, -0.915
pinout@2P: 1-2
schematic@2P:
@ -11,20 +24,12 @@ schematic@2P:
left: 1-2
housing@2P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 2
bodyWidth: 12.70
bodyLength: 7.62
numbers: 1, 1, 2, 2
padPosition: -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27
suffix: -2P
<<: *template
bodyWidth: 7.62
columnCount: 2
numbers: 1, 2, 1, 2
pinout@3P: 1-3
schematic@3P:
@ -33,20 +38,12 @@ schematic@3P:
left: 1-3
housing@3P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 3
bodyWidth: 12.70
bodyLength: 10.16
numbers: 1, 1, 2, 2, 3, 3
padPosition: -1.73, -4.08, 3.35, -4.08, -1.73, -1.54, 3.35, -1.54, -1.73, 1.0, 3.35, 1.0
suffix: -3P
<<: *template
bodyWidth: 10.16
columnCount: 3
numbers: 1, 2, 3, 1, 2, 3
pinout@4P: 1-4
schematic@4P:
@ -55,20 +52,12 @@ schematic@4P:
left: 1-4
housing@4P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 4
bodyWidth: 12.70
bodyLength: 12.7
numbers: 1, 1, 2, 2, 3, 3, 4, 4
padPosition: -1.73, -5.35, 3.35, -5.35, -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27, -1.73, 2.27, 3.35, 2.27
suffix: -4P
<<: *template
bodyWidth: 12.7
columnCount: 4
numbers: 1, 2, 3, 4, 1, 2, 3, 4
pinout@5P: 1-5
schematic@5P:
@ -77,20 +66,12 @@ schematic@5P:
left: 1-5
housing@5P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 5
bodyWidth: 12.70
bodyLength: 15.24
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5
padPosition: -1.73, -6.62, 3.35, -6.62, -1.73, -4.08, 3.35, -4.08, -1.73, -1.54, 3.35, -1.54, -1.73, 1.0, 3.35, 1.0, -1.73, 3.54, 3.35, 3.54
suffix: -5P
<<: *template
bodyWidth: 15.24
columnCount: 5
numbers: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5
pinout@6P: 1-6
schematic@6P:
@ -99,20 +80,12 @@ schematic@6P:
left: 1-6
housing@6P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 6
bodyWidth: 12.70
bodyLength: 17.78
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6
padPosition: -1.73, -7.89, 3.35, -7.89, -1.73, -5.35, 3.35, -5.35, -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27, -1.73, 2.27, 3.35, 2.27, -1.73, 4.81, 3.35, 4.81
suffix: -6P
<<: *template
bodyWidth: 17.78
columnCount: 6
numbers: 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6
pinout@7P: 1-7
schematic@7P:
@ -121,20 +94,12 @@ schematic@7P:
left: 1-7
housing@7P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 7
bodyWidth: 12.70
bodyLength: 20.32
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7
padPosition: -1.73, -9.16, 3.35, -9.16, -1.73, -6.62, 3.35, -6.62, -1.73, -4.08, 3.35, -4.08, -1.73, -1.54, 3.35, -1.54, -1.73, 1.0, 3.35, 1.0, -1.73, 3.54, 3.35, 3.54, -1.73, 6.08, 3.35, 6.08
suffix: -7P
<<: *template
bodyWidth: 20.32
columnCount: 7
numbers: 1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 4, 5, 6, 7
pinout@8P: 1-8
schematic@8P:
@ -143,20 +108,12 @@ schematic@8P:
left: 1-8
housing@8P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 8
bodyWidth: 12.70
bodyLength: 22.86
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8
padPosition: -1.73, -10.43, 3.35, -10.43, -1.73, -7.89, 3.35, -7.89, -1.73, -5.35, 3.35, -5.35, -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27, -1.73, 2.27, 3.35, 2.27, -1.73, 4.81, 3.35, 4.81, -1.73, 7.35, 3.35, 7.35
suffix: -8P
<<: *template
bodyWidth: 22.86
columnCount: 8
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 1, 2, 3, 4, 5, 6, 7, 8
pinout@9P: 1-9
schematic@9P:
@ -165,20 +122,12 @@ schematic@9P:
left: 1-9
housing@9P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 9
bodyWidth: 12.70
bodyLength: 25.4
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9
padPosition: -1.73, -11.7, 3.35, -11.7, -1.73, -9.16, 3.35, -9.16, -1.73, -6.62, 3.35, -6.62, -1.73, -4.08, 3.35, -4.08, -1.73, -1.54, 3.35, -1.54, -1.73, 1.0, 3.35, 1.0, -1.73, 3.54, 3.35, 3.54, -1.73, 6.08, 3.35, 6.08, -1.73, 8.62, 3.35, 8.62
suffix: -9P
<<: *template
bodyWidth: 25.4
columnCount: 9
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9
pinout@10P: 1-10
schematic@10P:
@ -187,20 +136,12 @@ schematic@10P:
left: 1-10
housing@10P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 10
bodyWidth: 12.70
bodyLength: 27.94
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10
padPosition: -1.73, -12.97, 3.35, -12.97, -1.73, -10.43, 3.35, -10.43, -1.73, -7.89, 3.35, -7.89, -1.73, -5.35, 3.35, -5.35, -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27, -1.73, 2.27, 3.35, 2.27, -1.73, 4.81, 3.35, 4.81, -1.73, 7.35, 3.35, 7.35, -1.73, 9.89, 3.35, 9.89
suffix: -10P
<<: *template
bodyWidth: 27.94
columnCount: 10
numbers: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
pinout@11P: 1-11
schematic@11P:
@ -209,20 +150,12 @@ schematic@11P:
left: 1-11
housing@11P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 11
bodyWidth: 12.70
bodyLength: 30.48
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11
padPosition: -1.73, -14.24, 3.35, -14.24, -1.73, -11.7, 3.35, -11.7, -1.73, -9.16, 3.35, -9.16, -1.73, -6.62, 3.35, -6.62, -1.73, -4.08, 3.35, -4.08, -1.73, -1.54, 3.35, -1.54, -1.73, 1.0, 3.35, 1.0, -1.73, 3.54, 3.35, 3.54, -1.73, 6.08, 3.35, 6.08, -1.73, 8.62, 3.35, 8.62, -1.73, 11.16, 3.35, 11.16
suffix: -11P
<<: *template
bodyWidth: 30.48
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
pinout@12P: 1-12
schematic@12P:
@ -231,17 +164,8 @@ schematic@12P:
left: 1-12
housing@12P:
pattern: custom
options: polarized
height: 13.0
pitch: 2.54
leadHeight: 3.50
leadWidth: 0.70
leadLength: 0.50
holeDiameter: 1.2
columnCount: 1
rowCount: 12
bodyWidth: 12.70
bodyLength: 33.02
numbers: 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12
padPosition: -1.73, -15.51, 3.35, -15.51, -1.73, -12.97, 3.35, -12.97, -1.73, -10.43, 3.35, -10.43, -1.73, -7.89, 3.35, -7.89, -1.73, -5.35, 3.35, -5.35, -1.73, -2.81, 3.35, -2.81, -1.73, -0.27, 3.35, -0.27, -1.73, 2.27, 3.35, 2.27, -1.73, 4.81, 3.35, 4.81, -1.73, 7.35, 3.35, 7.35, -1.73, 9.89, 3.35, 9.89, -1.73, 12.43, 3.35, 12.43
suffix: -12P
<<: *template
bodyWidth: 33.02
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

View File

@ -0,0 +1,81 @@
name: HC-RJ45-5JA-2-2
description: connector, RJ45, dual port, with LEDs
datasheet: https://datasheet.lcsc.com/lcsc/2204251600_HCTL-HC-RJ45-5JA-2-2_C3000178.pdf
distributor: LCSC C3000178
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
SHIELD: SH, SH_L
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
# right 8P8C pins
holeDiameter: 1.2
padDiameter: 1.6
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.14=-6.74, LED pitch (13.72-9.14)/2=2.29
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
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.14=-6.74, LED pitch (13.72-9.14)/2=2.29
padPosition3: -1.02, -6.74, -3.31, -6.74, -12.45, -6.74, -14.74, -6.74
# mounting holes, small middle
numbers4: SH, SH_L
holeDiameter4: 2.0
padDiameter4: 2.4
# Y 15.6/2-5.4-3.8=-1.4
padPosition4: 16.0, -1.4, -16.0, -1.4
# mounting holes, large bottom
holeDiameter5: 3.25
# Y 15.6/2-5.4=2.40
padPosition5: 14.225, 2.4, -14.225, 2.4

13
diode/schottky_b540.yaml Normal file
View File

@ -0,0 +1,13 @@
name: B540
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

65
ic/inverter_74hct14.yaml Normal file
View File

@ -0,0 +1,65 @@
name: 74HCT14
# S: SO, T: TSSOP
variations: S14, T14
description: inverter, schmitt trigger, 6 inputs
datasheet: https://www.diodes.com/assets/Datasheets/74HCT14.pdf
pinout:
A:
1A: 1
2A: 3
3A: 5
4A: 9
5A: 11
6A: 13
Y:
1Y: 2
2Y: 4
3Y: 6
4Y: 8
5Y: 10
6Y: 12
VCC: 14
GND: 7
properties:
power: VCC
ground: GND
input: A
output: Y
inverted: Y
schematic:
symbol: ic
left: A
right: Y
top: VCC
bottom: GND
# SO-14
housing@S14:
suffix: S14
pattern: SOP
leadCount: 14
pitch: 1.27 # e
bodyWidth: 3.8-3.99 # E
bodyLength: 8.53-8.74 # D
height: 1.47-1.73 # A
leadWidth: 0.33-0.51 # B
leadLength: 0.38-1.27 # L
leadHeight: 0.10-0.25 # A1
leadSpan: 5.8-6.2 # H
# TSSOP-14
housing@T14:
suffix: T14
pattern: SOP
leadCount: 14
pitch: 0.65 # G
bodyWidth: 4.3-4.5 # B
bodyLength: 4.9-5.1 # A
height: 1.2 # C
leadWidth: 0.19-0.30 # K
leadLength: 0.45-0.75 # F1
leadHeight: 0.25
leadSpan: 6.4 # L

71
ic/rs485_mx3485.yaml Normal file
View File

@ -0,0 +1,71 @@
name: MAX3485
# DIP, SO, DIP, SO
variations: CPA, CSA, EPA, ESA
description: transceiver, RS-485/RS-422, 3.3V powered
datasheet: https://www.analog.com/en/products/max3485.html
pinout:
RO: 1
~RE: 2
DE: 3
DI: 4
GND: 5
A: 6
B: 7
VCC: 8
properties:
bidir: A,B
in: DI,~RE,DE
out: RO
power: VCC
ground: GND
inverted: ~RE
schematic:
symbol: ic
left: RO,~RE,DE,DI
right: A,B
top: VCC
bottom: GND
# DIP https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/pdip/21-0043.pdf
housing@P: &P
pattern: DIP
leadCount: 8
pitch: 2.54 # e
bodyWidth: 6.10-7.87 # E1
bodyLength: 8.84-9.91 # D
height: 3.18-4.45 # A2
leadWidth: 0.2-0.355 # c
leadLength: 0.381-0.56 # b
leadHeight: 2.921-3.81 # L
leadSpan: 7.62-8.26 # E
housing@CPA:
suffix: CPA
<<: *P
housing@EPA:
suffix: EPA
<<: *P
# CSA https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/soicn/21-0041.pdf
housing@S: &S
pattern: SOP
height: 1.35-1.75 # A
leadCount: 8
pitch: 1.27 # e
bodyWidth: 3.8-4.0 # E
bodyLength: 4.8-5.0 # D
leadLength: 0.4-1.27 # L
leadWidth: 0.35-0.49 # b
leadSpan: 5.8-6.2 # H
housing@CSA:
suffix: CSA
<<: *S
housing@ESA:
suffix: ESA
<<: *S

30
inductor/yspi.yaml Normal file
View File

@ -0,0 +1,30 @@
name: YSPI
variations: 1360, 1365
datasheet: https://datasheet.lcsc.com/lcsc/2308011153_YJYCOIN-YSPI1365-470M_C497913.pdf
description: power inductor, SMD
keywords: inductor
schematic:
symbol: inductor
housing@13: &13
pattern: custom
bodyLength: 12.4-12.8 # B
bodyWidth: 13.8 # A
leadWidth: 2.3-3.2 # D
leadLength: 3.2-4.2 # E
pitch: 10.5 # H+(G-H)/2
rowCount: 1
columnCount: 2
padWidth: 4.0 # (G-H)/2
padHeight: 5.0 # F
housing@1360:
<<: *13
suffix: "1360"
height: 6.0 # C
housing@1365:
<<: *13
suffix: "1365"
height: 6.5 # C

26
vreg/buck_xl4015.yaml Normal file
View File

@ -0,0 +1,26 @@
name: XL4015
description: step-down voltage regulator
keywords: IC, regulator, buck
datasheet: http://www.xlsemi.com/datasheet/XL4015-EN.pdf
pinout:
GND: 1
FB: 2
SW: 3,6
VC: 4
VIN: 5
properties:
power: VIN
output: SW
input: FB, VC
ground: GND
schematic:
symbol: IC
left: VIN, VC
right: SW, FB
bottom: GND
housing:
outline: JEDEC TO-263 BA