Replacable USB Controller for Apple IIgs/Standard(M0116) | |||||
Replaceable USB Controller for Apple IIgs/Standard(M0116) | |||||
JeffreySung([email protected]) | JeffreySung([email protected]) | ||||
=============================== | =============================== | ||||
1. Bypass #31 pin(from board) to E4(Teensy) | 1. Bypass #31 pin(from board) to E4(Teensy) | ||||
2. Bypass #30 pin(from board) to F2(Teensy) | 2. Bypass #30 pin(from board) to F2(Teensy) | ||||
3. Bypass #6 pin(from board) to A0(Teensy) | 3. Bypass #6 pin(from board) to A0(Teensy) | ||||
4. Refer doc directory | |||||
4. Refer to documentation directory | |||||
To Do | To Do | ||||
===== | ===== |
### 3. Hasu | ### 3. Hasu | ||||
This is my favourite keymap with HHKB Fn, Vi cursor and Mousekey layer. See [keymap_hasu.c](keymap_hasu.c) for detail. | |||||
This is my favorite keymap with HHKB Fn, Vi cursor and Mousekey layer. See [keymap_hasu.c](keymap_hasu.c) for detail. | |||||
### 4. SpaceFN | ### 4. SpaceFN |
* No risks: Everything is all reversible | * No risks: Everything is all reversible | ||||
* No need for PCB trace patching, case cutting or any other destructive mod | * No need for PCB trace patching, case cutting or any other destructive mod | ||||
* Can keep original controller intact | * Can keep original controller intact | ||||
* Can change all HHKB behaviour as you like | |||||
* Can change all HHKB behavior as you like | |||||
###Cons | ###Cons | ||||
* Void your warranty | * Void your warranty | ||||
### Program | ### Program | ||||
First, push reset button on board to start bootloader. | First, push reset button on board to start bootloader. | ||||
This command programs the controller with [dfu-programmer] if the tool is intalled and configured properly. | |||||
This command programs the controller with [dfu-programmer] if the tool is installed and configured properly. | |||||
$ make dfu | $ make dfu | ||||
Or you can also use [FLIP] command to program. Also the tool should be intalled and configured properly. FLIP GUI app is also available. | |||||
Or you can also use [FLIP] command to program. Also the tool should be installed and configured properly. FLIP GUI application is also available. | |||||
$ make flip | $ make flip | ||||
##Hardware | ##Hardware | ||||
You have some options for hardware. Development boards with USB AVR family(ATMega32U4, AT90USB1286) like Teensy will work while MegaAVR with [V-USB] library is also cheapear option for DIY. | |||||
You have some options for hardware. Development boards with USB AVR family(ATMega32U4, AT90USB1286) like Teensy will work while MegaAVR with [V-USB] library is also cheaper option for DIY. | |||||
###1. TMK Alt Controller Board | ###1. TMK Alt Controller Board | ||||
TMK designed [Keyboard Controller Board for HHKB Pro2(KiCad project)](https://github.com/tmk/HHKB_controller). | TMK designed [Keyboard Controller Board for HHKB Pro2(KiCad project)](https://github.com/tmk/HHKB_controller). |
Use `Makefile.pjrc` if you want to use PJRC stack or use `Makefile.lufa` for LUFA stack. | Use `Makefile.pjrc` if you want to use PJRC stack or use `Makefile.lufa` for LUFA stack. | ||||
Booloader | |||||
Bootloader | |||||
--------- | --------- | ||||
The PCB is hardwired to run the bootloader if the key at the `Caps Lock` position is held down when connecting the keyboard. | The PCB is hardwired to run the bootloader if the key at the `Caps Lock` position is held down when connecting the keyboard. | ||||
### 2. Sleep LED | ### 2. Sleep LED | ||||
It is possible to have the LEDs fade in and out when the computer is suspended. | It is possible to have the LEDs fade in and out when the computer is suspended. | ||||
To enable this feature, uncoment the `SLEEP_LED_ENABLE` line in the makefile you are using: | |||||
To enable this feature, uncomment the `SLEEP_LED_ENABLE` line in the makefile you are using: | |||||
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||||