7

I have an USB keyboard (HHKB) which has some great irreplaceable features(That's why I would not like to buy a Bluetooth keyboard directly) and I love to use it very much. But the only improvement I expect is to avoid its USB wire. I would like to connect it to my laptop(a Macbook Air) wirelessly with Bluetooth.

I have searched the Internet but found only a little pieces. I still don't know what I need to prepare and how to do it. Is there any small device which can be plug into the USB port of my keyboard and convert it to a Bluetooth keyboard? If there's not, how can I make one by myself?

Thank you!

Timothy
  • 171
  • 1
  • 1
  • 5
  • 4
    It isn't just a question of communication; it's also a question of getting power to the keyboard. – Dave Tweed Nov 09 '12 at 11:51
  • You could probably do it with an Arduino + Bluetooth shield. Packaging and power might take some thought though. – Paul R Nov 09 '12 at 11:53
  • 1
    @DaveTweed It if works I would like to embed an rechargeable Ion battery into the keyboard and keep the USB way. When it's short of power, I could connect it with USB and recharge it. What do you think? – Timothy Nov 09 '12 at 12:01
  • 1
    Man, that's one expensive keyboard! – kenny Nov 09 '12 at 12:04
  • @PaulR Arduino is a little too big to be embed into a keyboard. Is there any smaller Arduino board? – Timothy Nov 09 '12 at 12:07
  • @kenny yes it is:-D – Timothy Nov 09 '12 at 12:07
  • Arduino also draws a lot of current. Maybe a raw avr chip would work - here is some communication software - [click](http://www.fourwalledcubicle.com/LUFA.php), but the whole thing sounds incredibly complicated to me. – Vorac Nov 09 '12 at 12:27
  • Looks like there could be a a TinyDuino soon, which might fit the bill: http://www.kickstarter.com/projects/kenburns/tinyduino-the-tiny-arduino-compatible-platform-w-s – Paul R Nov 09 '12 at 12:38
  • I opened the keyboard just now to make sure there's inner space to contain the modules. Unfortunately I found that there's no that space. So the modules and battery have to be packaged and plug from outside of the keyboard. – Timothy Nov 09 '12 at 12:40
  • @PaulR The TinyDuino, and also the [DigiSpark](http://www.kickstarter.com/projects/digistump/digispark-the-tiny-arduino-enabled-usb-dev-board?ref=search), are very promising... The latter has USB built in unlike the FemtoDuino. However, neither is available off the shelf yet. – ExcitingProjects Nov 09 '12 at 12:58

4 Answers4

5

You can use Handheld Scientific's adapter which is battery powered.

Here is a build log for a Model M. I don't know if HHKB has enough free space, but one always can hack something up.

You can also check out adafruit's ez-key, I guess it'll be fairly easy to use it, won't take up much space in the keyboard either.

Czar
  • 151
  • 1
  • 5
  • I don't own a HHKB so it's not my problem, but the handheld scientofic page explicitly states that boards with integrated usb hibs, such as HHKB, don't work. Looks like it will support my Model M's, though. – Wyatt Ward Jan 31 '16 at 15:04
2

The Arduino Micro, announced just yesterday by AdaFruit and Arduino, might be a good solution for you.

The new board is compatible with the Arduino Leonardo and uses the ATmega32u4, thus it comes with built-in USB functionality. The size is 1.9 x 0.7 inches (48 x 18mm), with a microUSB socket at one end.

Note that this board is different from, and actually bigger than, the SparkFun Pro Micro, which is a mere 1.3 x 0.7 inches and also comes with the same MCU and USB functionality - so I'm not quite sure why the Adafruit product was announced at all.

A power source and an equally tiny Bluetooth module (e.g. 1, 2, 3, 4) would be needed, and of course the functionality required will have to be coded.

Before going down that path, this other question is a valuable caution about 3.3 Volts v/s 5 Volts in connecting up a module to any 5 Volt Arduino.


There are also several other, older Arduino boards of various diminutive sizes, such as the unbelievably tiny yet fully capable FemtoDuino at 0.81 x 0.6 inches (20.7 × 15.2 mm). However, these require USB to TTL conversion either using a FTDI chip or otherwise. None of the various ultra-tiny Arduinos seem to support USB natively, but searching deeper might prove otherwise.

ExcitingProjects
  • 672
  • 7
  • 19
  • Cool! Any idea about the power supply? tiny rechargeable battery inside? – Timothy Nov 09 '12 at 13:03
  • 2
    Don't forget that you need USB **host** or **OTG** functionality to talk to the keyboard. The boards suggested in this answer only have USB device capability. – Dave Tweed Nov 09 '12 at 14:07
  • @DaveTweed Yeah, this answer won't work. Something like the Teensy++2.0 would work. – Jim Paris Nov 09 '12 at 19:36
  • 2
    @JimParis: No, Teensy++2.0 is also device-only USB. The [Teensy 3.0](https://www.pjrc.com/teensy/index.html), with its MK20DX128 processor, has USB OTG capability. – Dave Tweed Nov 10 '12 at 03:04
  • Huh, you're right. I thought the Teensy++2.0 was an AT90USB1287, but they skimped on the CPU and only put at 1286 in there. An AT90USBKEY would work if you want to stick with AVR. – Jim Paris Nov 10 '12 at 06:54
  • I think all four Bluetooth modules only support Bluetooth serial ports. For this project, you'd need HID support on the BT chip unless you want to write a program for the Mac that emulates keystrokes. – Kevin Chen Feb 17 '14 at 05:39
1

Check out ATEN TAP CS533 bluetooth converter, you will find the device you want.

Linebear
  • 11
  • 1
  • It's great but not what I want. My expection is to avoid the USB wire, and ATEN tap cs533 even introduces more wires :-) – Timothy Nov 01 '13 at 19:19
0

According to this guide it seems kinda easy. Just the 4th point is kinda tricky.

4.Connect the radio transmitter to the micro-controller that is attached to the keyboard. The micro-controller and the radio transmitter have designated interfaces for this connection. The transmitter should be configured to transmit at 433.92 MHz. Radiotronix offers a wide range of transmitters suitable for this type of use. The transmitter must be powered by an internal battery.

Jamby
  • 101