gen_traco_tel_3 1.01 KB
Newer Older
Anders Blomdell's avatar
Anders Blomdell committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/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')