Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
kicad-lib
Commits
7294dad6
Commit
7294dad6
authored
Jun 11, 2018
by
Anders Blomdell
Browse files
DOCLIB generation for TEL-3
parent
649850ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/traco_tel_3/gen_traco_tel_3
0 → 100755
View file @
7294dad6
#!/usr/bin/python3
IOUT
=
dict
(
TEL_3_xx11
=
600
,
TEL_3_xx12
=
250
,
TEL_3_xx13
=
200
,
TEL_3_xx22
=
125
,
TEL_3_xx23
=
100
,
)
VOUT
=
dict
(
TEL_3_xx11
=
5
,
TEL_3_xx12
=
12
,
TEL_3_xx13
=
15
,
TEL_3_xx22
=
12
,
TEL_3_xx23
=
15
,
)
VIN
=
dict
(
V5
=
'4.5-9.0V'
,
V12
=
'9-18V'
,
V20
=
'10-30V'
,
V24
=
'18-36V'
,
V48
=
'36-75V'
,
)
print
(
'EESchema-DOCLIB Version 2.0'
)
print
(
'#'
)
for
vin
in
(
5
,
12
,
20
,
24
,
48
):
for
kind
in
(
(
'11'
,
''
),
(
'12'
,
''
),
(
'13'
,
''
),
(
'22'
,
'+-'
),
(
'23'
,
'+-'
)):
print
(
'$CMP TEL-3-%02d%s'
%
(
vin
,
kind
[
0
]))
print
(
'D Isolated DC/DC Converter, Vin=%s, Vout=%s%sV@%dmA'
%
(
VIN
[
'V%d'
%
vin
],
kind
[
1
],
VOUT
[
'TEL_3_xx%s'
%
(
kind
[
0
])],
IOUT
[
'TEL_3_xx%s'
%
(
kind
[
0
])]))
print
(
'K TRACO DC/DC'
)
print
(
'F https://assets.tracopower.com/TEL3/documents/tel3-datasheet.pdf'
)
print
(
'$ENDCMP'
)
print
(
'#'
)
print
(
'#End Doc Library'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment