This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2014-01-02 22:05:41 +00:00
|
|
|
ASCII to USB keyboard protocol converter
|
|
|
|
========================================
|
|
|
|
This converts serial console terminal into USB keyboard, tested with TRS-80 model 100 TELCOM application.
|
|
|
|
Target MCU is ATMega32u4 but other USB capable AVR will also work.
|
|
|
|
|
|
|
|
|
|
|
|
Hardware
|
|
|
|
--------
|
2014-01-05 03:45:52 +00:00
|
|
|
Connect RX, TX and GND to UART pin of AVR. Note that you may need line driver/level shifter like MAX232 to interface high voltage of RS-232C.
|
2014-01-02 22:05:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Build Firmware
|
|
|
|
--------------
|
|
|
|
Configure UART setting and Just use 'make'
|
|
|
|
|
|
|
|
$ cd ascii_usb
|
|
|
|
$ make
|
|
|
|
|
|
|
|
Then, load the binary to MCU with your favorite programmer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Limitation
|
|
|
|
----------
|
|
|
|
- This cannot see key up event, you cannot hold a key.
|
|
|
|
- Alt, Gui(Win/Mac) modifier key are not available.
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-02 23:05:19 +00:00
|
|
|
TRS-80 model 100
|
|
|
|
----------------
|
|
|
|
Use TELCOM program with setting: 19200bps/8bit/odd parity/1stop bit
|
|
|
|
To set this configuration push Stat(F3) and input '9801D,10'. Then push Term(F4) to connect.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|