Seite 1 von 1

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Di 26. Aug 2025, 08:09
von brotty
Hallo zusammen. Bald schon (hoffentlich) läuft meine Brother CE-550 mit IF-60 Interface als serielles Terminal. Gerne würde ich diese ans i-Telex Netz anschliessen. Mir ist aber nicht vollends klar, was ich dazu benötige. Geht das auch rein softwaremässig, z.B. mit einem RaspberryPi dazwischen? Oder soll ich besser die Karten bestellen?
Danke und liebe Grüsse, Brotty

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Di 26. Aug 2025, 10:04
von WolfHenk
Rein zum Empfang? Sollte ein pi können...

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Di 26. Aug 2025, 22:52
von brotty
Danke! Die Schreibmaschine läuft in der Zwischenzeit, der python-Code ist in Vorbereitung: Module aus piTelex kommunizieren mit der seriellen Schnittstelle der Schreibmaschine. Empfangen ist schon mal super, aber Senden wäre schon auch mein Wunsch...

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Di 26. Aug 2025, 23:26
von WolfHenk
Tut die Schreibmaschine denn auch an rs232 senden?

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Mi 27. Aug 2025, 20:59
von brotty
Ja, kann sie :-) sogar mit und ohne "local echo". Verhält sich wie ein einfaches Terminal.

Elektronische Schreibmaschine mit i-Telex verbinden

Verfasst: Do 4. Sep 2025, 22:09
von brotty
So, ein Stück weiter :dance: piTelex kann fast alles von Haus aus. Allerdings kam mit dem piTelex-local echo kein Zeilenvorschub und Wagenrücklauf mit, ich musste dazu das Modul txDevTerminal.py modifizieren.
Verbindung mit dem Wetterdienst 727272 klappt gut, allerdings muss die Verbindung vom PC / RasPi aus hergestellt werden. Die Schreibmaschine hat ja genügend Tasten, da sollten schon noch einige für die Telex-Funktionen übrig sein :scratch:
Hier das vorläufige Konfig-File telex.json:

Code: Alles auswählen

# configuration file for electronic typewriter connected to the serial port.
# model tested: Brother CE-550 with Brother IF-60 interface
# missing: connect / disconnect / wru (tty specific functions) from typewriter keyboard
# 250904 / brotty
{
  "devices": {
    # screen output and kwyboard input (for debugging)
    "screen": {
      "type": "screen",
      "enable": true,
      "show_BuZi": true,
      "show_ctrl": true,
      "show_info": false,
      "show_capital": false
    },

    ###########################################################################


    "terminal": {
      "type": "terminal",
      "enable": true,
      "portname": "/dev/ttyUSB0",
      "baudrate": 300,
      "bytesize": 8,
      "stopbits": 1,
      "parity": "N",
      "loc_echo": true,
      "show_BuZi": false,
      "show_ctrl": false,
      "show_info": false,
      "show_capital": false,
      "auto_CRLF": 0,              # number of chars in a line before CR LF
# clear display   cursor off   vert. scroll
#      "init": "[0C][1B 5F 00][1B 12] -= piTelex VFD =-\r\n",  
      "init": "[0D 0A]",
      "replace_char": {
#        "\r": "[0A]",              # WR
#        "\n": "[0D]",              # ZL
#        " ":  "_"                  # space
      },
      "replace_esc": {
        "ZZ": "[0C]"               # clear display on sleep mode
      }
    },


    ###########################################################################

    # Module type "i-Telex"

    "i-Telex": {
      "type": "i-Telex",
      "enable": true,
      "port": 2342,
      # WARNING
      # Setting tns-dynip-number to anything except 0 will enable dynamic IP
      # updates with i-Telex TNS (Teilnehmerserver, Subscriber Server).
      #
      # Leave at 0 if you've chosen a static TNS entry!
      #
      # Change to the calling number of your i-telex device if and only if
      # - you've got your number approved by i-Telex administrators, and
      # - you've chosen dynamic IP update and told i-Telex administrators so, and
      # - you've set your TNS pin properly.
      "tns_dynip_number": 0,
      "tns_pin": 12345
    },


    ###########################################################################

    "log": {
      "type": "log",
      "enable": true,
      "filename": "./piTelex.log"
    },

    ###########################################################################

    "archive": {
      "type": "archive",
      "enable": false,
      "path": "./archive/"
    }
  
  },

  ###########################################################################

  "wru_id": "12345 dummy d",
  "wru_replace_always": false,
  "dial_timeout": 0,
  "continue_with_no_printer": true,
  "errorlog_path": "./",
  "welcome_msg": true	#Prints out a ed1000 style timestamp on connection
}