-
Notifications
You must be signed in to change notification settings - Fork 11
Example_FSG
If you are missing a CCU (FSG) or your CCU is defective, it is also possible to mimic/replace the CCU behaviour via piTelex in a special mode, so that you can connect a current loop teleprinter directly to piTelex and use it with full CCU functionality.
-
The relay for switching the loop polarity is replaced by a power relay switching the mains power for the teletype (230 volts).
-
Furthermore, three additional pushbuttons, connected to the RPi's GPIO, take over the functionality of
AT
,ST
andLT
buttons of the CCU. -
The state of the CCU can be indicated via the LEDs
LED_A
(line active),LED_WB
(ready to dial, "WählBereit"),LED_LT
(local mode). -
ALternatively you may concentrate all that to a minimalistic single pushbutton
1T
which will cycle through the states, and one dual color LEDLED_status_R
(red terminal) andLED_status_G
(green terminal). -
If you want to dial via number switch, connect it to a pin
pin_number_switch
of the RPi.
For the current loop power supply, a voltage of about 24V= will be sufficient, because we only have to feed the TTY's receiver coil, no CCU in line.
telex.json has to reflect the missing CCU, and must configure piTelex for this special mode.
This is done by modifying the RPiTTY
device enries a bit and, most important, activating the RPiCtrl
device which allows to specify the pushbuttons and LEDs mentioned above. For Details see SW_DevRPiCtrl
This example uses the same hardware as the example "TW39 Raspberry Pi" except using a SSR for power switching.
The FL/A connector as solderes on the Raspberry Pi Zero W to connect an external antenne - a metal case is not WLAN-friendly.
Two industrial power supplies are added to source 5 volt for the RPi and 24 volt for the current loop.
Note: For a teletype without a real control device (FSG) in line a loop voltage is adequate.
- TXD = Pin 11 (GPIO 17)
- RXD = Pin 13 (GPIO 27)
- Number Switch = Pin 31 (GPIO 6)
- AT-Button = Pin 24 (GPIO 8)
- ST-Button = Pin 26 (GPIO 7)
- Show Sign = Pin 15 (GPIO 22) over NPN-transistor to 24 volts
- GND = Pin 6 and/or 9, 14, 20, 25, 30, 34, 39
- 5V = Pin 2 or 4
Note: All buttons/switches connected to GND
Note: These are the default pins. Other combinations can be set in
telex.json
file.
This is a fully DYI solution with a custom circuit layout.
(used pins are not always standard...)
"RPiTTY": {
"type": "RPiTTY",
"enable": true,
"pin_txd": 27,
"pin_rxd": 17,
"inv_rxd": false,
"pin_relay": 6,
"inv_relay": false,
"pin_number_switch": -1, # we use the definition in RPiCtrl, therefore deactivate it here
"baudrate": 50,
"coding": 0,
"loopback": true,
"use_observe_line": false
},
"RPiCtrl": {
"type": "RPiCtrl",
"enable": true,
"pin_number_switch": 5,
"inv_number_switch": false,
"pin_button_1T": 0, # we use explicit AT,ST,LT buttons
"pin_button_AT": 25,
"pin_button_ST": 7,
"pin_button_LT": 8,
"pin_LED_A": 23,
"pin_LED_WB": 24,
"pin_LED_LT": 16,
"pin_LED_status_R": 0, # unused
"pin_LED_status_G": 0, # unused
},
Consider using release packages for software installation: https://github.com/fablab-wue/piTelex/releases
-
Local use
-
i-Telex
-
Advanced Topics
-
Tools & Gadgets
-
TW39 (current loop)
-
ED1000 (FSK modulation)
-
V.10 (TeKaDe FS200, FS220)
-
SEU-M-board based
- with Austrian AGT (Ö-AGT, current loop)
- as replacement for SEU-B card inside LO2000, LO2001, LO3000