|
VT100 Terminal App
Circle VT100 module documentation
|
This project designs and builds a carrier board for the Raspberry Pi Zero that, together with the Pi Zero software, enables a bare‑metal implementation of a VT100 terminal. The software features are described in the VT100 directory.
The carrier board can be mounted directly in the rear panel of a terminal enclosure of a 60% VT100 replica designed by megardi (https://www.instructables.com/23-Scale-VT100-Terminal-Reproduction/) and provides the following components:
The Pi Zero GPIO pins are not 5 V tolerant. Therefore, all incoming signals (here: RxD only) must be level‑shifted from 5 V to 3.3 V. This applies to the Mini DIN6 connector to the MBC2-Z80. The RxD level shifting is implemented with a resistor divider: 820 Ω and 1.5 kΩ. No issues have been observed even at 115200 baud.
To provide the RS-232 connection I use a MAX3232 board with Vcc connected to the 3.3V output of the Pi zero which solves this compatibility problem, as all in and outgoing signals are 3.3V.
The images above show the schematic and the layout of the last version which uses a LM2576 switching regulator to provide the 5V 2A power line for the display controller and the MBC2 connected through DIN6 connector. If a LM2576-adj is used both smd resitors can be used to select a voltage slighthly above 5V (eg. 5.1 - 5.2V) as I discovered sometimes some flickering of the screen when background ist reversed (white), which may be related to power fluctuations. If you use a LM2576-5V just one resitor has to be bridged (0R).
The usb keyboard input is wired to 2 testpoints below the usb C connector of the Pi. Klick and Bell sounds are generated via 800 Hz PWM signals from GPIO and a small buzzer. Switching of the Tx/Rx lines of the RS232 connector are done by a relay which is triggered by a GPIO pin.
All changes have been reflected in the schematic and layout.
An adapter for the MBC2‑Z80 to connect the Z80 via the Mini‑DIN‑8 connector is described in the sub‑project “Z80‑SBC_Adapter”.
Board revisions:
A new backplate has been developed in OpenScad to be able to mount the pcb and insert it in the opening slot at the back of the 60% VT100 replica.
Holes allow to add on/off toggle switch, give access to power connector, RS-232, Mini DIN6 and USB connector. The slot above the usb connector could be used to mount a SD-card extension cable to accomodate switching of sd card at the back of the VT100 case.
To connect the display controller to power and the hdmi connector at the Pi additional custom cabeling has to be used depending on the connections at the display controlller.
F12 (legacy setup), F11 (modern setup), F10 (local keyboard loopback mode).