• Please review our updated Terms and Rules here

WiFi Modem for VT-100/102?

Hutch

Experienced Member
Joined
Jul 1, 2018
Messages
311
Location
California
I recently acquired a VT-102 in good working condition. I was thinking about connecting it to a Pi running a PDP emulator but I think some level shifting is required to get RS-232 working on the Pi.
Then I wondered if there was a decent WiFi modem I could just plug into the VT-102 serial port and then I could just telnet to my Pi or maybe other systems out on the internet.
A quick google search reveals a number of WiFi modem options but also leaves me with some questions.

A VT102 manual I found says that the serial port is RS-232-C, is that so? or is it possible it's a variable that depends on the model or options?
RS-232-C is 5V? So level shifting may not be necessary with a USB to serial converter on the Pi?

Any recommendations for a specific WiFi (or Ethernet) serial to Telnet device? Are there any that can do SSH?

Thanks
IMG_9850.jpg
 
A VT102 manual I found says that the serial port is RS-232-C, is that so? or is it possible it's a variable that depends on the model or options?
RS-232-C is 5V? So level shifting may not be necessary with a USB to serial converter on the Pi?

RS-232 is bipolar, with a "1" being at least three volts positive (the specification says it should be 5-25v, 12v is commonly used for PC serial ports) and a zero specified as -3v (or more, again, -12v is common). A "proper" USB to RS-232 adapter (vs. a TTL serial adapter) typically uses something like the MAX232 chip that has internal charge pumps to create the correct signalling voltages off a 5v or 3.3v supply, so if you use one of those you should be fine driving the terminal with it. If you want to try to drive it directly off the serial pins on the Raspberry Pi's GPIO header then you *will* need to build your own level shifter using something like a MAX232.
 
As far as the TV-102 goes, Isn't the RS232-C standard TTL? It's actually hard to find specifics on the different versions of RS232.
I'm thinking if I get a TTL level RS232 wifi modem, it may just work with the VT-102 out of the box.
 
As far as the TV-102 goes, Isn't the RS232-C standard TTL? It's actually hard to find specifics on the different versions of RS232.
I'm thinking if I get a TTL level RS232 wifi modem, it may just work with the VT-102 out of the box.

No, RS232-C (aka ANSI/EIA-232-E) is not TTL levels but rather +3V..+25V and -3V..-25V levels.

Probably the simplest solution is to use a standard USB-serial converter cable with a DE9 to DB25 pin converter and plug it into your RPI, and the DB25 end into your VT102. This should produce a /dev/ttyUSB0 entry on your RPI. Then you need to enable a the RPI to spawn a login prompt over the serial connection.
Ref: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=177076&p=1129209&hilit=getty#p1129209

So you should then be able to login via the VT102 to your RPI, and then SSH anywhere thru it.
 
As far as the TV-102 goes, Isn't the RS232-C standard TTL? It's actually hard to find specifics on the different versions of RS232.
I'm thinking if I get a TTL level RS232 wifi modem, it may just work with the VT-102 out of the box.

"C" dates from 1969, and all subsequent revisions mostly just pick around the edges in terms of formalizing timing and making the standard D-shell connector an official recommendation instead of a serving suggestion.

I don't know why you're so worried about TTL; if you get a wifi modem that has a DB-9 connector on it, of which there are many available, it's almost certainly going to have a MAX232 in front of the port. TTL serial devices generally come to pin headers and are *not* labeled RS-232. Or at least they shouldn't be.
 
I'm mainly worried about not having enough signaling level to work with the VT102 if it's expecting 12v and only getting 5 and/or frying the TTL input with a 12v signal.

You CANNOT use TTL levels with the RS232 connector on the VT10x. It will be RS232 levels only (+/- 3V up to 25V). It is NOT TTL levels.
You have to use a standard serial port like on a PC or on a USB/serial converter cable. The DB9 connector uses RS232 levels.
Forget about TTL serial levels. They are the wrong polarity anyway (inverted H/L) from what RS232 levels are.
RS232 inputs require a voltage that is a minimum of about +/- 3V and will accept an input up to +/- 25V per the spec.
Typical RS232 output drivers today use either +/- 5V, +/- 12V, or +/- 15V on older equipment. Higher output voltage can drive a longer cable.
 
OK. So forget about TTL levels.
I'm mainly a Commodore user and most of the devices I've seen are for the old 8bit Commodore machines which are all TTL level, so I just wanted to make sure I got a device that is compatible with the VT1xx.

So how about it? I can't be the first one to have this idea. Is there a good RS232 WiFi device that others use? Something like a WiFi232, but that can do SSH?
Or am I just better off using a Pi? I want to try out running the PiDP11 anyway.

Thanks
 
OK. So forget about TTL levels.
I'm mainly a Commodore user and most of the devices I've seen are for the old 8bit Commodore machines which are all TTL level, so I just wanted to make sure I got a device that is compatible with the VT1xx.

So how about it? I can't be the first one to have this idea. Is there a good RS232 WiFi device that others use? Something like a WiFi232, but that can do SSH?
Or am I just better off using a Pi? I want to try out running the PiDP11 anyway.

Thanks

I would just start out using a standard USB/serial cable on your RPI and setting up the RPI to spawn a login shell on that line (see my post #4 above).
You could run SIMH from the command line and have your VT102 'talk' to a PDP-11 (or PDP-8 or VAX). Or ssh to some other system.

THEN when you get tired of that find an RS232/WIFI/SSH/TELNET adapter. You will likely end up paying 2X for that over what an RPI plus USB serial cable costs.
 
RS232 to TTL converters are quite cheap on Ebay.

I think the most common chip is the MAX232 to convert RS232 to TTL levels.
And remember, the voltages are inverted.
So a TTL 1 is -3...-15V on the RS232 side. And a TTL 0 is +3...+15V on the RS232 side.
The voltages between -3 and +3 are undefined.

But for connecting to a Pi I would also suggest a USB to RS232 converter.

Regards, Roland
 
Last edited:
I would just start out using a standard USB/serial cable on your RPI and setting up the RPI to spawn a login shell on that line (see my post #4 above).
You could run SIMH from the command line and have your VT102 'talk' to a PDP-11 (or PDP-8 or VAX). Or ssh to some other system.

THEN when you get tired of that find an RS232/WIFI/SSH/TELNET adapter. You will likely end up paying 2X for that over what an RPI plus USB serial cable costs.

A "WIFI/SSH/TELNET" adapter is called a computer. The VT102 do not have any ability to do any processing. It simply sends bytes over a serial port, and that's all it does.
If you want to talk SSH or TELNET, and communicate over WIFI or Ethernet, you need something that can process the interface and work the protocols. That is not the VT102...
That would be a computer.
 
A "WIFI/SSH/TELNET" adapter is called a computer. The VT102 do not have any ability to do any processing. It simply sends bytes over a serial port, and that's all it does.
If you want to talk SSH or TELNET, and communicate over WIFI or Ethernet, you need something that can process the interface and work the protocols. That is not the VT102...
That would be a computer.

There are Hayes command compatible "modems" that will connect a dumb terminal to a Telnet session without a computer. Granted, they are a small embedded computer but this is what I'm talking about.

http://biosrhythm.com/?page_id=1453

https://www.tindie.com/products/8bit_bruno/simple-wifi-rs232-modem/

modem.JPG
 
There are Hayes command compatible "modems" that will connect a dumb terminal to a Telnet session without a computer. Granted, they are a small embedded computer but this is what I'm talking about.

http://biosrhythm.com/?page_id=1453

https://www.tindie.com/products/8bit_bruno/simple-wifi-rs232-modem/

View attachment 57338

Nice gadgets. But yes, they are computers. They even come with a built-in web server, if you read the fine print. :)
And while there are certainly those who will appreciate the build-in Hayes command set, with a VT102, you'll have to manually do all those commands. I hope you memorized them. ;-)

Nah. Actually quite simple. ATDnnnnnnn<CR>

And hopefully it's flexible enough to allow domain names to be used instead of just phone numbers.
I don't expect you'll be interested in that many more commands. +++ and ATH perhaps.
 
I built one of these the other day and it seems to work well.

https://subethasoftware.com/2018/02/28/wire-up-your-own-rs-232-wifi-modem-for-under-10-using-esp8266-and-zimodem-firmware/

I'm using a ESP8266 NodeMcu off amazon along with a full rs232 to ttl adapter.

The node is here.
https://www.amazon.com/ESP8266-microcontroller-NodeMCU-WiFi-CP2102/dp/B071WRD25D/ref=sr_1_8?keywords=ESP8266+NodeMcu&qid=1574003058&s=electronics&sr=1-8

Around 7 dollars.

If you want hardware handshaking use a module like this.

https://www.amazon.com/RS232-converter-board-male-3-3V/dp/B0088SNIOQ/ref=sr_1_3?keywords=db9+rs232+serial+port+to+ttl+rts&qid=1574003346&s=electronics&sr=1-3

If you just need rx/tx, you can use any of the cheaper 4 wire ones.

As for dialing, it allows defining shortcuts, so you could put xxx.ddd.com:6464 in the firmware as 1 and then just turn on and type atd1.


And if you have a 3d printer, here's a case.

https://www.thingiverse.com/thing:2923619


Later,
dabone
 
...
Probably the simplest solution is to use a standard USB-serial converter cable with a DE9 to DB25 pin converter and plug it into your RPI, and the DB25 end into your VT102. This should produce a /dev/ttyUSB0 entry on your RPI. Then you need to enable a the RPI to spawn a login prompt over the serial connection.
Ref: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=177076&p=1129209&hilit=getty#p1129209

So you should then be able to login via the VT102 to your RPI, and then SSH anywhere thru it.
Thanks.
I tried this tonight and after fiddling with it for an hour I found I had a bad connector and got it working about a minute later.
I took the baud rate all the way down to 300 just to remember what it was like bitd, and then I set it back to 19200.
IMG_0171.JPG
Next Up ... PiDP-11

The VT102 is fully cleaned up now (photos) and seems to be working fine except for the CRT geometry.
I didn't notice it until I had a wall of text scrolling by but the text is larger at the top of the screen and the vertical size is short.
I'll look for a service guide for it and see if I can adjust it.
 
Last edited:
Thanks.
I tried this tonight and after fiddling with it for an hour I found I had a bad connector and got it working about a minute later.
I took the baud rate all the way down to 300 just to remember what it was like bitd, and then I set it back to 19200.
View attachment 57449
Next Up ... PiDP-11

The VT102 is fully cleaned up now (photos) and seems to be working fine except for the CRT geometry.
I didn't notice it until I had a wall of text scrolling by but the text is larger at the top of the screen and the vertical size is short.
I'll look for a service guide for it and see if I can adjust it.

Just open it. There are several potentiometers you can adjust, and they are marked on the board what they are for. And one is for that exact thing.
 
Looks like you got one in good condition; I didn't notice any yellowing at all.
Oh, there's yellowing but it's not even all over. Also, I did so much scrubbing with a magic eraser to get it cleaned up that I removed some of the yellowing just by removing some of the surface.
(photos)

BTW, did you have a spare period key for the numpad I could buy off ya? I sent you a PM.
keyboard.jpg
 
Back
Top