Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
add autogen for transformer & test definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
hvraven committed Aug 17, 2019
1 parent 2654848 commit d76bf63
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 0 deletions.
39 changes: 39 additions & 0 deletions schlib/autogen/Transformer/definitions/block.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Block_FL:
reference: TR
name: "{series}-{va_rating}-{voltage}"
manufacturer: Block
series: FL
description: "{va_rating}VA, 2x{voltage}, Dual Primary, Dual Secondary, Print Transformer"
keywords: "{va_rating}VA PCB transformer"
dots: bottom
primary: 2
secondary:
- dot: bottom
- dot: bottom
core: true
footprint_library: "Transformer_THT.pretty"
variants:
power_rating:
- va_rating: 2
footprint: "Transformer_Block_FL-2_53x44x17.6mm"
- va_rating: 4
footprint: "Transformer_Block_FL-4_53x44x19.6mm"
- va_rating: 6
footprint: "Transformer_Block_FL-6_53x44x22.6mm"
- va_rating: 8
footprint: "Transformer_Block_FL-8_53x44x28.6mm"
- va_rating: 10
footprint: "Transformer_Block_FL-10_68x57x22.8mm"
- va_rating: 14
footprint: "Transformer_Block_FL-14_68x57x24.4mm"
- va_rating: 18
footprint: "Transformer_Block_FL-18_68x57x27.6mm"
- va_rating: 24
footprint: "Transformer_Block_FL-24_68x57x31.4mm"
- va_rating: 30
footprint: "Transformer_Block_FL-30_68x57x35.8mm"
- va_rating: 42
footprint: "Transformer_Block_FL-42_83.5x70x39mm"
- va_rating: 52
footprint: "Transformer_Block_FL-42_83.5x70x39mm"
voltage: [5, 6, 8, 9, 12, 15, 18, 24]
77 changes: 77 additions & 0 deletions schlib/autogen/Transformer/definitions/breve.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
Breve_TEZ:
manufacturer: Breve
name: "{series}{va_rating}-D-{secs}"
description: "TEZ{va_rating}/D/{secs}, {va_rating}VA, Cast Resin Transformer"
keywords: "{va_rating}VA PCB Transformer Single Primary"
datasheet: "https://www.breve.pl/pdf/ANG/TEZ_ang.pdf"
core: true
series: TEZ
footprint_library: "Transformer_THT.pretty"
footprint: "Transformer_{manufacturer}_{series}-{fp_size}"
definitions:
package_small: &tez_small
primary: [1, 5]
variants:
- secs: 1
secondary: [7, 9]
- secs: 2
secondary: [[6, 7], [9, 10]]
package_large: &tez_large
primary: [1, 7]
variants:
- secs: 1
secondary: [9, 13]
- secs: 2
secondary: [[8, 9], [13, 14]]
variants:
- va_rating: "0,5"
fp_size: "22x24"
primary:
- dot: top
pins: [1, 4]
variants:
- secs: 1
secondary: [6, 7]
- secs: 2
secondary: [[5, 6], [7,8]]
- va_rating: "1,5"
fp_size: "28x33"
<<: *tez_small
- va_rating: "2,0"
fp_size: "28x33"
<<: *tez_small
- va_rating: "2,5"
fp_size: "28x33"
<<: *tez_small
- va_rating: "2,6"
fp_size: "28x33"
<<: *tez_small
- va_rating: "4,0"
fp_size: "35x42"
<<: *tez_small
- va_rating: "4,5"
fp_size: "35x42"
<<: *tez_small
- va_rating: "6,0"
fp_size: "35x42"
<<: *tez_small
- va_rating: "10,0"
fp_size: "44x52"
primary: [1, 6]
variants:
- secs: 1
secondary: [8, 11]
- secs: 2
secondary: [[7, 8], [11, 12]]
- va_rating: "16,0"
fp_size: "47x57"
<<: *tez_large
- va_rating: "20,0"
fp_size: "53.8x63.6"
<<: *tez_large
- va_rating: "25,0"
fp_size: "53.8x63.6"
<<: *tez_large
- va_rating: "30,0"
fp_size: "53.8x63.6"
<<: *tez_large
Loading

0 comments on commit d76bf63

Please sign in to comment.