You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Hardware.md 3.0 KiB

3 years ago
3 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # Video Terminal Hardware
  2. Build instructions for the video-terminal-revival project.
  3. ## Bill of Materials
  4. - ESP32 development board
  5. - USB cable (for development)
  6. - 5V power source (may be a 12V step down converter)
  7. - Display with composite input (TV, monitor)
  8. - RCA cable
  9. - RCA socket
  10. - resistors: 2x 1k ohm
  11. - LK201 keyboard
  12. - RJ-11 socket
  13. - MAX2323 TTL-RS232 conversion board
  14. - 12V power source + connector socket
  15. ## Build
  16. ### Display
  17. Connect the TV via the RCA cable to the RCA socket, then through a voltage divider into the ESP32:
  18. ```
  19. ESP32 TV
  20. -------+
  21. GND |-+------------------ Composite (-)
  22. | | ____ 1k ohm
  23. | +-|____|-+ (RCA socket)
  24. | ____ |
  25. pin25 |---|____|-+--------- Composite (+)
  26. -------+ 1k ohm
  27. ```
  28. ### Keyboard
  29. Connect the keyboard into the RJ-11 socket, hook that into a 12V power source and the RS-232 converter, then to the ESP32's serial port:
  30. ```
  31. [GND][12V]
  32. [1] | | [2]
  33. | | | |
  34. ------------------- MAX2323 ESP32
  35. | " " " " | +-----------+ +--------
  36. | E G 1 L | [1]--| <- - |-----------| GND
  37. | S N 2 K | [2]--| -> + |--[5V] |
  38. | P D V -> | x-| + <- |-----------| pin17
  39. | -> E | [GND]--| - -> |-----------| pin16
  40. | L S | +-----------+ +--------
  41. | K P |
  42. -- --
  43. | |
  44. -- --
  45. | |
  46. -------
  47. Looking into the RJ-11 Socket
  48. on the ESP32-side (i.e. DEC)
  49. ```
  50. ![LK201 connection](http://www.netbsd.org/docs/Hardware/Machines/DEC/LK201_connector.jpg)
  51. Source: [LK201 Interface](http://www.netbsd.org/docs/Hardware/Machines/DEC/lk201.html)
  52. ![LK201](screenshots/keyboard.jpg)
  53. ### TTY
  54. This part depends on what serial port you are connecting to. Most SBCs (e.g. Orange Pi) provide pins for TTL serial port, alternatively you can use a USB-Serial dongle. Either way you can connect the ESP32 directly to this:
  55. ```
  56. ESP32 Serial port
  57. -------+ +---
  58. GND |--------------|GND
  59. pin18 |--------------|TX
  60. pin19 |--------------|RX
  61. -------+ +---
  62. ```
  63. ### CPU
  64. The ESP32 should now be connected to both the keyboard and the display, as well as the "mainframe" (serial port) it will be talking to.
  65. For development (or at least the first flashing), all that remains is to connect it over USB to a computer with the Arduino IDE.
  66. For production use, connect it to a 5V power source.
  67. ![electronics](screenshots/tv_bottom.jpg)
  68. ### Finishing
  69. For bonus points, place everything on a PCB, solder it, put it into a cool enclosure and go impress your friends!
  70. Following is a gallery of one possible solution.
  71. #### TV (original)
  72. ![TV front](screenshots/tv_front.jpg)
  73. ![TV back](screenshots/tv_back.jpg)
  74. #### TV (modified)
  75. ![TV modified back](screenshots/tv_modified_back.jpg)
  76. #### TV + Keyboard
  77. ![TV and Keyboard](screenshots/tv_and_keyboard.jpg)