aboutsummaryrefslogtreecommitdiff
path: root/hhkb/README
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-09-17 22:39:50 +0900
committertmk <nobody@nowhere>2011-09-17 23:53:18 +0900
commite67c988824f5ec0c965beb412f8ee5953dfd3c8c (patch)
tree190543f5bddfd31a326234aad91a0a995e55863a /hhkb/README
parentb703de7b298f8463bf4654fa3730ba1958a7fa9e (diff)
downloadqmk_firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.tar.gz
qmk_firmware-e67c988824f5ec0c965beb412f8ee5953dfd3c8c.zip
Added Bulegiga iWRAP support into HHKB.(Bluetooth)
Diffstat (limited to 'hhkb/README')
-rw-r--r--hhkb/README113
1 files changed, 92 insertions, 21 deletions
diff --git a/hhkb/README b/hhkb/README
index 2a4418101..65f7dcab5 100644
--- a/hhkb/README
+++ b/hhkb/README
@@ -4,7 +4,7 @@ Alternative Controller for HHKB
4Feature 4Feature
5------- 5-------
6- Mouse Keys 6- Mouse Keys
7- NKRO on USB 7- NKRO on USB(PJRC Tennsy only)
8- Keymap Layers 8- Keymap Layers
9 9
10 10
@@ -13,8 +13,11 @@ Customize Keymap
13see keymap.c. 13see keymap.c.
14 14
15 15
16Build for Teensy 16
17---------------- 17Build
18=====
19PJRC Teensy
20-----------
180. Edit matrix.c. 210. Edit matrix.c.
19 adjust scan code to your pin configuration.(see doc/HHKB.txt for pinouts) 22 adjust scan code to your pin configuration.(see doc/HHKB.txt for pinouts)
201. Define macros in config_pjrc.h.(Optional) 231. Define macros in config_pjrc.h.(Optional)
@@ -22,15 +25,15 @@ Build for Teensy
22 IS_COMMAND 25 IS_COMMAND
232. Edit Makefile for MCU setting and build options. 262. Edit Makefile for MCU setting and build options.
24 MCU, F_CPU 27 MCU, F_CPU
25 MOUSEKEY_ENABLE, USB_EXTRA_ENABLE, USB_NKRO_ENABLE 28 MOUSEKEY_ENABLE, EXTRAKEY_ENABLE, NKRO_ENABLE
263. Build hex file. 293. Build hex file.
27 $ make 30 $ make -f Makefile.pjrc
284. Program MCU. 314. Program MCU.
29 $ make program 32 $ make -f Makefile.pjrc program
30 33
31 34
32Build for V-USB 35V-USB
33--------------- 36-----
340. Edit matrix.c and usbconfig.h. 370. Edit matrix.c and usbconfig.h.
35 adjust scan code to your pin configuration.(see doc/HHKB.txt for pinouts) 38 adjust scan code to your pin configuration.(see doc/HHKB.txt for pinouts)
36 define macros for V-USB in usbconfig.h. 39 define macros for V-USB in usbconfig.h.
@@ -38,7 +41,7 @@ Build for V-USB
38 IS_COMMAND 41 IS_COMMAND
392. Edit Makefile.vusb for MCU setting and build options. 422. Edit Makefile.vusb for MCU setting and build options.
40 MCU, F_CPU 43 MCU, F_CPU
41 MOUSEKEY_ENABLE, USB_EXTRA_ENABLE, USB_NKRO_ENABLE 44 MOUSEKEY_ENABLE, EXTRAKEY_ENABLE
423. Build hex file. 453. Build hex file.
43 $ make -f Makefile.vusb 46 $ make -f Makefile.vusb
444. Program MCU. 474. Program MCU.
@@ -52,21 +55,59 @@ Build for V-USB
52 http://www.obdev.at/products/vusb/usbasploader.html 55 http://www.obdev.at/products/vusb/usbasploader.html
53 56
54 57
55V-USB Circuit 58iWRAP
56------------- 59-----
600. Edit matrix.c and usbconfig.h.
61 adjust scan code to your pin configuration.(see doc/HHKB.txt for pinouts)
62 define macros for V-USB in usbconfig.h.
631. Define macros in config_iwrap.h.(Optional)
64 IS_COMMAND
652. Edit Makefile.iwrap for MCU setting and build options.
66 MCU, F_CPU
67 MOUSEKEY_ENABLE, EXTRAKEY_ENABLE
683. Build hex file.
69 $ make -f Makefile.iwrap
704. Program MCU.
71 $ make -f Makefile.iwrap program
72
73
74
75Hardware
76========
77PJRC Teensy
78-----------
79 +---------------+
80 | Teensy++ |
81 | |
82 | | HHKB
83 | | ~~~~
84 | PB0-2|------->ROW(6-8)
85 | PB3-5|------->COL(9-11)
86 | PB6|------->ENABLE(12)
87 | PE6|<-------KEY(4)
88 | PE7|------->PREV(5)
89 | |
90 | |
91 | |
92 +---------------+
93
94
95V-USB
96-----
57 +---+ +---------------+ 97 +---+ +---------------+
58USB GND | | ATmega168 | 98USB GND | | ATmega168 |
59=== C3 | | 99~~~ C3 | |
605V <-------+--------+---|Vcc,AVCC | HHKB 1005V <-------+--------+---|Vcc,AVCC | HHKB
61 R1 | | ==== 101 R1 | | ~~~~
62D- <----+--+-----R2-----|INT1 PB0-2|------->ROW 102D- <----+--+-----R2-----|INT1 PB2-4|------->ROW(6-8)
63D+ <----|---+----R3-----|INT0 PB3-5|------->COL 103D+ <----|---+----R3-----|INT0 PC0-2|------->COL(9-11)
64 Z1 Z2 | PB6|------->ENABLE 104 Z1 Z2 | PC3|------->ENABLE(12)
65GND<----+---+--+--+-----|GND PE6|------->KEY 105GND<----+---+-----------|GND PB0|<-------KEY(4)
66 | | | PE7|------->PREV 106 | PB1|------->PREV(5)
67 | C2-+--|XTAL1 | (see doc/HHKB.txt for pinouts) 107 | |
68 | X1 | | 108 GND+-C2--+--|XTAL1 RXD|------->Debug Console
69 +--C3-+--|XTAL2 RST|---SW--+GND 109 X1 | TXD|<-------Debug Console
110 GND+-C3--+--|XTAL2 RST|---SW--+GND
70 +---------------+ 111 +---------------+
71R1: 1.5K Ohm 112R1: 1.5K Ohm
72R2,R3: 68 Ohm 113R2,R3: 68 Ohm
@@ -77,4 +118,34 @@ X1: Crystal 20MHz(16MHz/12MHz)
77SW: Push Switch(Optional for bootloader) 118SW: Push Switch(Optional for bootloader)
78 119
79 120
121iWRAP
122-----
123 +---------------+ WT12
124 5V | ATmega168 | 5V/3.3V~~~~
125 +-----+---|Vcc,AVCC PC4|---/--->iWRAP(RxD)
126USB | C3 | PC5|<--/----iWRAP(TxD)
127~~~ | + | |
1285V <--BATT + GND | | HHKB
129 R1 | | ~~~~
130D- <----+-----+--R2-----|INT1 PB2-4|------->ROW(6-8)
131D+ <----|---+----R3-----|INT0 PC0-2|------->COL(9-11)
132 Z1 Z2 | PC3|------->ENABLE(12)
133GND<----+---+-----------|GND PB0|<-------KEY(4)
134 | PB1|------->PREV(5)
135 | |
136 GND+-C2--+--|XTAL1 RXD|------->Debug Console
137 X1 | TXD|<-------Debug Console
138 GND+-C3--+--|XTAL2 RST|---SW--+GND
139 +---------------+
140
141R1: 1.5K Ohm
142R2,R3: 68 Ohm
143Z1,Z2: Zener 3.6V
144C1,C2: 22pF
145C3: 0.1uF
146X1: Crystal 12MHz
147SW: Push Switch(Optional)
148BATT: Li-Po Battery, Battery Charger and Voltage Regulator(5V and 3.3V).
149
150
80EOF 151EOF