Skip to content

Example_RPi

Rolf Obrecht edited this page Aug 9, 2022 · 16 revisions

Example with Raspberry Pi for teletypes with FSG

TODO...

Hardware for TW39 High Voltage

Raspberry Pi Zero W with DIY TW39 board

Combination with power transistor on heatsink

2-sided PCB. Design files can be found in project folder /PCB/

Schematics

Parts
Part Description
ULN2x03 Open collector driver with 3.3V TTL input compatibility. ULN2003 has 7 drivers. ULN2803 has 8 drivers
TIP47 Any NPN power transistor with heatsink for 2W power and U_CE >= 120V
BCxxx Any small NPN transistor (e.g. BC546)
LTV817 Any optocoupler with more than 50% (e.g. PC817)
1N400x Any rectifier diode (e.g. 1N4007)
Relay Small signal print relay with two changeover contacts and a rated coil voltage of 5V (e.g. Finder 30.22.7.005.0010)
Potentiometer 1 or 10 turn with 0.2W. Used to calibrate the regulated 40mA current loop
Resistors Standard 1/8W
Pin Connection for RPi

|function|GPIO pin ( GPIO #) |TXD|11 (17) |RXD|13 (27) |Number Switch|31 (6) (connected to RXD) |Relay|15 (22) |GND|6 and/or 9, 14, 20, 25, 30, 34, 39 |5V| 2 or 4||

Note: These are the default pins. Other combinations can be set in telex.json file.

RPi Pinout

Note: For pulse dial in I-loop connect pin 13 (RXD) with pin 31 (DIAL_SW) and configure GPIO 6 for 'pin_number_switch' in txConfig.json file.

Interface Connection

Whole System in a Box

With a Raspberry Pi and the self-made-PCB in the middle. A DC/DC (Step-Up) for 60V on the left and a DC/DC (Step-Down) for the RPis 5V at front. It is powered by a wall-power-supply with 12V...24V.

This is all you need to connect a teletype (with FSG) to the i-Telex network over internet.

Whole System in a BIG Box

The same interface as above but with an integrated transformer and an ADo8 plug.


Software

For Installation see SW_Install

This electronic is handled by the software module RPiTTY.

Start the program with arguments -G on RPi:

python3 telex.py -G

Note: Add the argument -I 2342 to start the i-Telex client and server at port 2342.

TODO

Clone this wiki locally