Commit 7294dad6 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

DOCLIB generation for TEL-3

parent 649850ad
#!/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')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment