Author Topic: HHKB pro BT - Bluetooth mod  (Read 27678 times)

0 Members and 1 Guest are viewing this topic.

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« on: Wed, 10 August 2011, 09:03:54 »
No wire! Best fit for RMS style. It is a keyboard for nomad hackers!






Source code:
Code for BT has merged my keyboard firmware now.
You can access the code here: https://github.com/tmk/tmk_keyboard

Building firmware:
$ cd hhkb
$ make -f Makefile.iwrap
and upload(if you have a proper bootloader)
$ make -f Makefile.iwrap program


Power Supply: Battery(3.7V/310mAh), charger(LTC4054-4.2), and step-up DC-DC for 5V.
[ Guests cannot view attachments ] 23776[/ATTACH]

Controller: ATMega168P(5V)
3.3V regulator and 3.3V/5V converter for Bluetooth module.
[ Guests cannot view attachments ] 23778[/ATTACH]

Bluetooth Module: Bluegiga WT12(3.3V)
Power switch and LEDs.
[ Guests cannot view attachments ] 23777[/ATTACH]

Back: Power switch and LEDs on left window, header pins of UART and reset switch on right window.
[ Guests cannot view attachments ] 23787[/ATTACH]

Overall,
[ Guests cannot view attachments ] 23779[/ATTACH]

Circuit
[ Guests cannot view attachments ] 27857[/ATTACH]
2011/10/04 fixed 5V-3.3V level shift
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline RiGS

  • Posts: 1594
HHKB pro BT - Bluetooth mod
« Reply #1 on: Wed, 10 August 2011, 09:31:04 »
Very nice. I will add this to the Wiki.
Last edited by RiGS; Jan 2011

Offline WasabiJ

  • Posts: 14
HHKB pro BT - Bluetooth mod
« Reply #2 on: Wed, 10 August 2011, 11:02:52 »
You must post instructions!

:D

Offline heedpantsnow

  • * Esteemed Elder
  • Posts: 3717
  • Location: Orlando, FL
  • Old enough to know better
HHKB pro BT - Bluetooth mod
« Reply #3 on: Fri, 19 August 2011, 14:21:11 »
Quote from: WasabiJ;396443
You must post instructions!

:D

+1000
I'm back.

Espresso machine overhaul: https://geekhack.org/index.php?topic=78261.0

Carbon Fiber keyboard base: https://geekhack.org/index.php?topic=54825

Offline itlnstln

  • Posts: 7054
HHKB pro BT - Bluetooth mod
« Reply #4 on: Tue, 23 August 2011, 10:00:46 »
Well done.  A perfect mod for the HHKB.  Can you still use the USB port just in cast Bluetooth in unavailable?


Offline csm725

  • Posts: 276
  • I BLEED RED AND GOLD
    • http://csm725.com
HHKB pro BT - Bluetooth mod
« Reply #5 on: Tue, 23 August 2011, 12:18:53 »
Impossible.

Offline keyboardlover

  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
HHKB pro BT - Bluetooth mod
« Reply #6 on: Tue, 23 August 2011, 13:23:40 »
Quote from: csm725;403924
Impossible.

Who are you?

Offline keyboardlover

  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
HHKB pro BT - Bluetooth mod
« Reply #7 on: Tue, 23 August 2011, 13:32:26 »
Oh an OCNer. No wonder.

Offline keyboardlover

  • Posts: 4022
  • Hey Paul Walker, Click It or Ticket!
    • http://www.keyboardlover.com
HHKB pro BT - Bluetooth mod
« Reply #8 on: Tue, 23 August 2011, 13:34:56 »
Nope. I also haven't posted.

Kinda boring.

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« Reply #9 on: Tue, 23 August 2011, 17:40:28 »
Quote from: itlnstln;403825
Well done.  A perfect mod for the HHKB.  Can you still use the USB port just in cast Bluetooth in unavailable?


Not yet. It's just what I'm planning to implement.
Now USB port is used only to charge battery and program controller.


If you are interested in source codes you can look into them now.
I pushed codes to github from my private branch. Note that it's still under development and not ready to distribute.
This branch(iwrap) may include codes not compatible for GPL, Please don't distribute them to others.
You can find them here: https://github.com/tmk/tmk_keyboard/tree/iwrap

I'll post description of hardware and a circuit diagram sometime.


I have a lot to do:
-battery life(only several hour with 310mAh)
-LED indicator
-media key(consumer page) support
-Bluetooth/USB switching
-Bluetooth SPP keyboard support

and some limitations:
-mouse wheel function is not available
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline bluecar5556

  • Posts: 126
HHKB pro BT - Bluetooth mod
« Reply #10 on: Wed, 24 August 2011, 14:05:30 »
Some praise specifications as overlord's, but THIS is a prime example of what separates geekHACK apart from the rest.

Excellent work hasu.  There are people who hardware and some who are software inclined but you have vast knowledge in both.  Do you know of any reading material/projects/programs or anything for that matter to get someone's feet wet using programming language such as myself?  Need to bite the bullet but feel like I need a direction first if that makes sense.  At any rate, good job and keep it up!

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« Reply #11 on: Tue, 06 September 2011, 02:48:03 »
I added handwriting circuit picture. I know, I should play with KiCAD...

USB/Bluetooth switching feature has added now. I can also use this on PC without Bluetooth or BIOS setting such like normal USB keyboard.

With some improvement its battery life  lasts 10 hour or so now. This is very short by comparison with others in the market,
though, it is not completely lame. I'm still happy with this.
I think HHKB Capacitive switch which need 5V and extra hardware is very disadvantage in current consumption.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline Arexxk

  • Posts: 48
  • Algebraic!
    • Blog mehs
HHKB pro BT - Bluetooth mod
« Reply #12 on: Tue, 24 January 2012, 18:23:49 »
Does this reroute the driver board away from the usb? Or is it possible to use either usb or bluetooth. Also without the custom bluetooth firmware, will the keyboard default to a generic keyboard layout?
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« Reply #13 on: Tue, 24 January 2012, 19:05:05 »
It can be hooked up to USB port to use as normal USB keyboard or to just charge the battery.

Bluegiga module(with stock firmware) is unique and highly functional, it already knows bluetooth HID protocol itself and can interface to your keyboard controller with UART.
All you need is only send key events to the module with UART, so you can define keyboard layout in your keyboard controller firmware.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline isp

  • Posts: 159
HHKB pro BT - Bluetooth mod
« Reply #14 on: Tue, 24 January 2012, 19:25:26 »
what is rms style?

nice work btw, i have seen your other mods on youtube
hhkb

Offline cactux

  • Posts: 918
  • Location: Australia
  • Topre Knight
HHKB pro BT - Bluetooth mod
« Reply #15 on: Tue, 24 January 2012, 19:30:15 »
Have you consider something less intrusive, like a self powered moule connected via usb?
[FS]☠ The temple lol ->HERE<-

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« Reply #16 on: Tue, 24 January 2012, 20:16:13 »
Quote from: isp;498041
what is rms style?

nice work btw, i have seen your other mods on youtube


hehe, I meant this :-)

http://www.flickr.com/photos/lawrencelry/2540914602
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline hasu

  • Thread Starter
  • Posts: 2538
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
HHKB pro BT - Bluetooth mod
« Reply #17 on: Tue, 24 January 2012, 20:34:26 »
Quote from: cactux;498043
Have you consider something less intrusive, like a self powered moule connected via usb?

Yeah, it is an interesting. But it will need some wire yet :)
PS/2 to Bluetooth converter will be possible with my existent firmware(and some new codes),
while USB to Bluetooth one is a bit challenging. Hosting USB keyboard with MCU is new field to me.
TMK products:HHKB Alt  ⌨ConvertersAlps64FC660C AltFC980C Alt

Offline cactux

  • Posts: 918
  • Location: Australia
  • Topre Knight
HHKB pro BT - Bluetooth mod
« Reply #18 on: Tue, 24 January 2012, 21:20:57 »
^ But this aproach will add portability, and also the module can be use to configure multiple layers
[FS]☠ The temple lol ->HERE<-

Offline Wildcard

  • * Esteemed Elder
  • Posts: 1040
  • Location: Fields of Columbia
  • When caffeine isn't enough
HHKB pro BT - Bluetooth mod
« Reply #19 on: Tue, 24 January 2012, 21:24:57 »
Quote from: ripster;403998
Oh, OCN has it's moments.


it's not trolling if your right.

Right?

Offline Arexxk

  • Posts: 48
  • Algebraic!
    • Blog mehs
HHKB pro BT - Bluetooth mod
« Reply #20 on: Tue, 24 January 2012, 22:14:21 »
Quote from: cactux;498144
^ But this aproach will add portability, and also the module can be use to configure multiple layers

This is true, but I'd hard wire it if I had a chance. It'd be WAY leet.
PBC Poker 40% Cherry MX Blues - Stolen in the stupid CS labs
HHKB Pro 2 Topre OBV - Still kickin

Offline o2dazone

  • Posts: 946
HHKB pro BT - Bluetooth mod
« Reply #21 on: Wed, 25 January 2012, 11:53:25 »
Incredible!!!

Offline isp

  • Posts: 159
HHKB pro BT - Bluetooth mod
« Reply #22 on: Wed, 25 January 2012, 13:43:56 »
oh stallman :P
hhkb