]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - keyboard/hhkb/doc/V-USB.md
Merge pull request #294 from shayneholmes/fix-debug-message
[max/tmk_keyboard.git] / keyboard / hhkb / doc / V-USB.md
1 V-USB controller for HHKB
2 =========================
3 Not supported actively any more.
4
5 ## Build
6 Use `Makefile.vusb` for [V-USB] controller.
7     $ make -f Makefile.vusb
8
9 ##Hardware
10 ###3. V-USB connection
11                     +---+   +---------------+
12     USB            GND  |   |   ATmega328p  |
13     ~~~                 C3  |               |
14     5V <-------+--------+---|Vcc,AVCC       |               HHKB pro    pro2
15                R1           |               |               ~~~~~~~~    ~~~~
16     D- <----+--+-----R2-----|INT1      PB2-4|------->ROW    (6-8)       (5-7)
17     D+ <----|---+----R3-----|INT0      PC0-2|------->COL    (9-11)      (8-10)
18             Z1  Z2          |            PC3|------->ENABLE (12)        (11)
19     GND<----+---+-----------|GND         PB0|<-------KEY    (4)         (3)
20                             |            PB1|------->PREV   (5)         (4)
21                             |               |
22                 GND+-C2--+--|XTAL1       RXD|------->Debug Console
23                          X1 |            TXD|<-------Debug Console
24                 GND+-C3--+--|XTAL2       RST|---SW--+GND
25                             +---------------+
26     R1:     1.5K Ohm
27     R2,R3:  68 Ohm
28     Z1,Z2:  Zener 3.6V
29     C1,C2:  22pF
30     C3:     0.1uF
31     X1:     Crystal 12MHz
32     SW:     Push Switch(for bootloader)
33
34 - NOTE: See [V-USB] documentation for more detail of hardware and the USB stack.
35 - NOTE: [USBaspLoader] is very useful for firmware update.
36
37
38 [V-USB]: http://www.obdev.at/products/vusb/index.html
39 [USBaspLoader]: http://www.obdev.at/products/vusb/usbasploader.html