tmk_keyboard/converter/pc88_usb
tmk 2173767a78 Remove INTERRUPT_CONTROL_ENDPOINT from converters
The LUFA feature can prevent converter's ISR from handing signal instantly.
The interrupt can block a while for Standard Device Requests and 500-1000us
for keyboard LED report.
2020-05-08 22:39:55 +09:00
..
config.h Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
keymap.c Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
Makefile Remove INTERRUPT_CONTROL_ENDPOINT from converters 2020-05-08 22:39:55 +09:00
Makefile.32u4 Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
Makefile.unimap Remove INTERRUPT_CONTROL_ENDPOINT from converters 2020-05-08 22:39:55 +09:00
Makefile.unimap.32u4 Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
matrix.c Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
README Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
unimap.c Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00
unimap_trans.h Add PC-8801 Keyboard support. (#620) 2019-07-23 10:14:59 +09:00

PC88(Late type) to USB keyboard protocol converter
=======================================
Target MCU is ATMega32u2 but other USB capable AVR will also work.


README FIRST
---------
This converter is for TYPE-B keyboard. For keyboards other than TYPE-B, 
change the mode switch on the back of the keyboard.

Stand the left foot on the back of the keyboard and there are two slits. 
There is a mode change switch in the back of it.

When this switch is up, TYPE-B mode is set.

When connecting a keyboard to this adapter, be sure to set to TYPE-B mode.



Connector
---------
On host/converter:

    5Pin mini DIN
       ___ ___
      /  |_|  \
     / 5     4 \
    | 3   |   2 |
     \_     1 _/
       \_____/
     (receptacle)


Wiring: You can change this with editing config.h.

    Pin mini DIN        MCU
    ----------------------------------
    1   5V              VCC
    2   GND             GND
    3   DATA            RD2
    4   NC
    5   NC




Protocol
--------
Signal: Asynchronous, Positive logic, 20800bps, Least bit first
Frame format: 1-Start bit(Lo), 8-Data bits, non-Parity, 1-Stop bit



Build Firmware
--------------
Just use 'make' to bild firmware for TMK PC88 converter.

    $ make -f Makefile.unimap clean
    $ make -f Makefile.unimap

To flash firmware

    $ make -f Makefile.unimap dfu

then push button on converter to flash firmware.

If you are using ATMega32u4 based board instead of premade TMK PC88 converter(ATMega32u2) use following commands.

    $ make -f Makefile.unimap.32u4 clean
    $ make -f Makefile.unimap.32u4
    $ make -f Makefile.unimap.32u4 dfu