-
Notifications
You must be signed in to change notification settings - Fork 14
SW_DevED1000
This module is needed to connect to more modern teletypes which use the ED1000 protocol. It makes use of a sound card (either built in PC soundcard or some cheap usb cards available for about 10$ to set up the frequency driven connection to the ED1000 printer.
It is essential to identify the correct device index of your sound card. This can be achieved by a small helper script in the ED1000 subdirectory of piTelex. The output of
$ sudo python3 ~/piTelex/utils/ED1000/audiotest.pyshould yield the ID of the soundcard. In the configuration file, enable the module ED1000 and set devindex to the ID of your sound card.
Furthermore, it is essential that the volume of the sound card be set to an appropriate level (can be done under linux via alsamixer) as well as sufficient input sensitivity of the recording channel. Also check whether the correct channel has been selected.
For fine tuning, there is another helper script recv_squelch which allows for alignment of noise suppression.
| System | Comments |
|---|---|
| RPi | ok |
| PC Linux | ok |
| PC Windows | BETA working |
| Mac | unknown |
| Python Module |
Install | Anaconda |
|---|---|---|
| pyaudio | pip install pyaudio | conda install pyaudio |
| numpy | pip install numpy | -included- |
| scipy | pip install scipy | -included- |
-E
--ED1000
| Param | Default | Range / Type | Description |
|---|---|---|---|
| recv_squelch | 100 | positive integer | Defines the power threshold below which the filter output for A/Z level is ignored; if needed, can be determined experimentally using helper script ED1000/squelch_check.py (see docstring inside). |
| recv_debug | false | false / true | If true, output recv_debug.log file inside which the repective filter power output levels for every sample are recorded. Use only for debugging (file will grow quickly). |
| send_WB_pulse | false | false / true | If true, send pulse to signal ready-to-dial condition like with the current interface. |
| unres_threshold | 100 | positive integer | Duration in ms that piTelex waits for the teleprinter, after it started sending Z level, until the teleprinter returns the Z level to signal readiness state. Raise if the teleprinter needs more time to start up for special setups, e.g. when switching mains using ESC-TP0/TP1 commands. |
| recv_f0 | 2250 | number | RX frequency 0 in Hz (A level) |
| recv_f1 | 3150 | number | RX frequency 1 in Hz (Z level) |
| devindex | null | null or positive integer (0 included) | pyaudio‘s device index for the intended audio device; use ED1000/audiotest.py to list currently available devices (0=auto, 1=1st device, 2=2nd ...). |
| baudrate | 50 | 50, 75, 100 | Baud rate |
| send_f0 | 500 | number | TX frequency 0 in Hz (A level) |
| send_f1 | 700 | number | TX frequency 1 in Hz (Z level) |
| zcarrier | false | false / true | If true, piTelex will send continous A level in idle state. Most teleprinters don‘t need this. |
# Module type "ED1000"
# requirements: numpy scipy
# ED1000 teletype over USB-sound-card
"ED1000": {
"type": "ED1000",
"enable": false,
"devindex": null, # null=auto, 1=1st audio device, 2=2nd... (use alsamixer to check devices)
"zcarrier": false, # true=send frequency in idle mode
"baudrate": 50,
"send_f0": 500,
"send_f1": 700,
"recv_f0": 2250,
"recv_f1": 3150,
"recv_squelch": 100,
"recv_debug": false,
"unres_threshold": 100
},
Consider using release packages for software installation: https://github.com/fablab-wue/piTelex/releases
- Overview
- Electronics for TW39 Current Loop
- Electronics for ED1000
- Electronics for V.10
- SEU-M Board
- PCB Layouts
-
Local use
-
i-Telex
-
Advanced Topics
-
Tips, 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