Author Topic: [TMK] HHKB Alt Controller with Mini-B/Type-C connector  (Read 520181 times)

0 Members and 1 Guest are viewing this topic.

Offline Glissant

  • Posts: 1976
  • Location: Oslo, Norway
Re: [TMK] HHKB Alt Controller
« Reply #50 on: Sun, 05 July 2015, 21:23:57 »
Much appreciated, hasu. I even had those posts bookmarked from before, but had forgotten them -_-". Sorry!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #51 on: Sun, 05 July 2015, 21:35:13 »
ugh, seems like Rev.D fix is too complex :D

Glissant, I can send you a *raw* Rev.G PCB for nothing if you are serious about BT mod.

Offline Glissant

  • Posts: 1976
  • Location: Oslo, Norway
Re: [TMK] HHKB Alt Controller
« Reply #52 on: Sun, 05 July 2015, 21:59:39 »
I have my battery ready, and my hhkb type-s wants to be wireless, but does "raw" mean I need to source the smd parts myself? Might be better to deal with this via private message, so if you agree just continue there.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #53 on: Sun, 05 July 2015, 22:35:26 »
I meant an empty PCB without any components by "raw". Yes, you need to get all components, but perhaps you can desolder some of them from your Rev.D controler. Or you can source them from me but it costs, of course.

Anyhoo, you can get a PCB for free. PM me.

Offline IonutZ

  • Posts: 130
  • Location: Detroit
  • Stay awhile and listen
    • SC
Re: [TMK] HHKB Alt Controller
« Reply #54 on: Wed, 08 July 2015, 18:45:09 »
Hey buddy, hope you're well. Can you please document the various transmittal power choices we have?

I'm aware of

SY,0004 which is really strong and
SY,FFF4 which is really weak

I'm not very hex savvy, what could go in between? I tried BBBB thinking it might be somewhere in the middle, but had no luck.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #55 on: Wed, 08 July 2015, 19:29:28 »
Hi.
See page 27 of the date sheet, you can use one of the following eignt vaules. Not sure BBBB is valid value.
FFF4 is two's compliment notation of -12.

Code: [Select]
0010 16
000C 12
0008 8
0004 4
0000 0
FFFC -4
FFF8 -8
FFF4 -12

http://ww1.microchip.com/downloads/en/DeviceDoc/bluetooth_cr_UG-v1.0r.pdf
https://en.wikipedia.org/wiki/Two's_complement

Offline IonutZ

  • Posts: 130
  • Location: Detroit
  • Stay awhile and listen
    • SC
Re: [TMK] HHKB Alt Controller
« Reply #56 on: Wed, 08 July 2015, 19:54:16 »
Yea, wow I had no idea haha. I thought the range of values was a lot higher and started at FFFF and ended at 0000. Lol. Thanks for this!!!

Offline mko

  • Posts: 6
Re: [TMK] HHKB Alt Controller
« Reply #57 on: Thu, 09 July 2015, 22:19:35 »
This is what I have been looking for all the time. hope you the BT can have multi pairing(connect to multiply device at the same time and switch using key combo)

Offline TastaturenAuslese

  • Formerly temence
  • Posts: 231
  • Location: North Vancouver, Canada
  • life marrow suckerer
Re: [TMK] HHKB Alt Controller
« Reply #58 on: Sun, 12 July 2015, 02:37:20 »
Any issues with dust gathering inside the empty USB ports in the back? =)) I'm really considering picking up a BT version soon.
Home: Kishsaver - IBM 6019284/F62 | Work: HHKB Professional 2 Silenced | Temporary Retirement:
More
IBM '89 1391401 Merrill Lynch Financial Edition


They are a functional and practical indulgence.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #59 on: Sun, 12 July 2015, 13:04:56 »
You may need to close them with tape or something if you are going to use the keyboard outdoor :D
3D-printed cover would be better cosmetically.

Offline shrubkeys

  • Posts: 60
Re: [TMK] HHKB Alt Controller
« Reply #60 on: Sun, 12 July 2015, 14:10:22 »
Do a quick search - someone posted some .stl files they created for little inexpensive/good-enough covers on one of the other hhkb alt controller threads...

Offline yomammary

  • Posts: 525
  • Location: Québec
Re: [TMK] HHKB Alt Controller
« Reply #61 on: Mon, 13 July 2015, 07:21:15 »
Can someone link it? I couldn't find it.
RF 87u 55g | Leeku 1800

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: [TMK] HHKB Alt Controller
« Reply #62 on: Mon, 13 July 2015, 19:28:08 »
Can someone link it? I couldn't find it.

Just thought I'd post here that my friend and I designed and 3d printed dust covers for the usb ports on the hhkb with Hasu controller.  Here is a picture of it:

Show Image


I'll get the .stl file from my buddy and upload for anyone that wants it.  Some minimal sanding is required around the corners and edges etc.  Unfortunately, I cannot make these for anyone as my school has the machine, and I will be graduating in a week.

No sign of the .stl file though, maybe send him a PM?

120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline MJ45

  • HHKB Pro
  • Posts: 530
  • Location: Chicagoland
Re: [TMK] HHKB Alt Controller
« Reply #63 on: Mon, 13 July 2015, 20:09:33 »
Can someone link it? I couldn't find it.

Just thought I'd post here that my friend and I designed and 3d printed dust covers for the usb ports on the hhkb with Hasu controller.  Here is a picture of it:

Show Image


I'll get the .stl file from my buddy and upload for anyone that wants it.  Some minimal sanding is required around the corners and edges etc.  Unfortunately, I cannot make these for anyone as my school has the machine, and I will be graduating in a week.

No sign of the .stl file though, maybe send him a PM?
Try this link; https://www.dropbox.com/s/v6vtinzjoh5y06u/HHKBusbcover.stl?dl=0

Offline yomammary

  • Posts: 525
  • Location: Québec
Re: [TMK] HHKB Alt Controller
« Reply #64 on: Tue, 14 July 2015, 07:05:20 »
Thanks :)
RF 87u 55g | Leeku 1800

Offline Glissant

  • Posts: 1976
  • Location: Oslo, Norway
Re: [TMK] HHKB Alt Controller
« Reply #65 on: Thu, 16 July 2015, 13:05:47 »
Got my kit, hasu. Will build the kit once I get back to my soldering station :) Thanks again!

Offline esoomenona

  • Gnillort?
  • Posts: 5323
Re: [TMK] HHKB Alt Controller
« Reply #66 on: Thu, 16 July 2015, 13:36:13 »
.
« Last Edit: Wed, 12 August 2015, 08:23:53 by esoomenona »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #67 on: Thu, 16 July 2015, 19:35:06 »
Yes, Pro1 alt controller is identical electronically with Pro2 so you can use same binary hex file on both.

Offline s00pcan

  • Posts: 1
Re: [TMK] HHKB Alt Controller
« Reply #68 on: Tue, 21 July 2015, 18:50:42 »
Registered here to ask about possible usb type c on this board.  I'd buy one!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #69 on: Wed, 22 July 2015, 18:13:49 »
Yes Type-C is interesting. And I know it is next big thing on USB and some people are excited at that.
It doens't seems to be hard to replace mini B connector with Type-C but note that you have to file your case to fit it into.

The connector is so pricy at the time I feel like waiting till it becomes common everywhere and cheap.

Offline flipjsio

  • Posts: 5
  • Location: UK
    • flipjs.io
Re: [TMK] HHKB Alt Controller
« Reply #70 on: Mon, 27 July 2015, 11:57:15 »
Hi Hasu. Id like to buy one controller please. I have Pro-2 Type-S. Can you pm me your paypal details and total to pay (including shipping) please. I am in the UK. Thanks.
AEKII † Filco MJ TKL Blues † Filco Zero TKL † KBP V60 Blues † HHKB2 Type-S † Infinity † The Planck

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #71 on: Mon, 27 July 2015, 18:43:24 »
PM'd. Thanks.
Either USB or Bluetooth controller can be shipped in a few days right now.

Offline grantr

  • Posts: 2
Re: [TMK] HHKB Alt Controller
« Reply #72 on: Thu, 30 July 2015, 13:46:35 »
Hi Hasu! I'd like to buy the bluetooth board. I have a Pro2 and am in the US. Can you PM me the details? Thanks!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #73 on: Thu, 30 July 2015, 21:58:51 »
PM'd.
Post here or PM me if you have any question.

Offline esoomenona

  • Gnillort?
  • Posts: 5323
Re: [TMK] HHKB Alt Controller
« Reply #74 on: Wed, 12 August 2015, 14:36:33 »
.
« Last Edit: Fri, 14 August 2015, 14:32:06 by esoomenona »

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #75 on: Wed, 12 August 2015, 17:30:57 »
You have to build from source to define macro.

Offline dustinhxc

  • * Exalted Elder
  • Posts: 6739
  • Location: MN
  • IV
    • Gray Designs
Re: [TMK] HHKB Alt Controller
« Reply #76 on: Fri, 21 August 2015, 17:55:33 »
Hey Hasu, Id love a USB Controller! I sent a PM. Stoked to try one man, always loved your work.  :thumb:

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #77 on: Fri, 21 August 2015, 19:48:51 »
dustinhxc,
Thanks for your interest.
Sorry not in stock currently, last three USB controllers have gone in this week.
Components for next batch were ordered but it will take a few weeks until starting assembly.


Updated STOCK in the first post.
Quote
Preassembled boards in stock:(can be shipped in a few days)
    USB: 0
    BT: 3

Components in stock:(can be assembled in a week)
    USB: 0
    BT: 0

Offline dustinhxc

  • * Exalted Elder
  • Posts: 6739
  • Location: MN
  • IV
    • Gray Designs
Re: [TMK] HHKB Alt Controller
« Reply #78 on: Fri, 21 August 2015, 19:50:19 »
dustinhxc,
Thanks for your interest.
Sorry not in stock currently, last three USB controllers have gone in this week.
Components for next batch were ordered but it will take a few weeks until starting assembly.


Updated STOCK in the first post.
Quote
Preassembled boards in stock:(can be shipped in a few days)
    USB: 0
    BT: 3

Components in stock:(can be assembled in a week)
    USB: 0
    BT: 0

Can I be added to the waiting list please? Id like one. Thanks!

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #79 on: Wed, 26 August 2015, 12:38:46 »
Hi, Hasu, nice thread  ;D
I am willing to buy a polymer battery on Sparkfun

Quote
Do not attempt to charge these with anything but a charger specifically designed for Lithium Ion batteries.

Is it safe to charge it through usb from keyboard?

Still any 2000 mah battery or more available that would fit into HHKB?

Thanks you, great works!



Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #80 on: Wed, 26 August 2015, 12:50:16 »
yes, you can charge Lipo battery with USB, this controller uses Lipo charger chip MCP73831.

Check this for battery cavity size.

Quote
Bluetooth Battery
More
BT Controller doesn't include battery. I can recommend Sparkfun Lipo battery(850mA or 1000mA) but you will be able to find proper batteries at many sites on the net.

You need to use 3.7V Lithium Ion Polymer battery with JST PH 2pin connector and battery protection circuit. Battery space inside HHKB is around 54mm x 50mm and its height is 7mm(or 8mm).
https://geekhack.org/index.php?topic=56494.msg1597883#msg1597883

LIPO BATTERY IS VERY DANGEROUS, TAKE EXTRA CARE OF YOUR SAFETY AND PROPERTY. For your safety check this.
https://learn.adafruit.com/li-ion-and-lipoly-batteries
https://www.sparkfun.com/tutorials/241

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #81 on: Wed, 26 August 2015, 13:29:55 »
http://www.evita.lt/en/a-lp804550-akumuliatorius-3-7v-2000mah-8x45x50mm-li-polymer

What do you think about this 2000 mah polymer battery? That's the ony that may fit into HHKB case

It has no JST connectors and cables
How to attach it to the battery?



Offline flabbergast

  • Posts: 234
  • Location: UK
Re: [TMK] HHKB Alt Controller
« Reply #82 on: Wed, 26 August 2015, 14:11:51 »
http://www.evita.lt/en/a-lp804550-akumuliatorius-3-7v-2000mah-8x45x50mm-li-polymer

What do you think about this 2000 mah polymer battery? That's the ony that may fit into HHKB case

It has no JST connectors and cables
How to attach it to the battery?
I have one LiPo from SparkFun (I think) and the JST connector is not directly cabled to the battery leads like you see on the your picture, but there's a small PCB (JST -- wires -- PCB -- battery). It's hard to see on SparkFun's photos, it's kind of hidden in the battery cover.

So - I always thought that this small PCB has some kind of extra protection stuff on it (well maybe just a diode so that there's no reverse current going in). But I don't know enough about this stuff to tell. These things can be seriously dangerous, so I'm just trying to say that do some more research before just soldering wires straight to a LiPo like you posted.

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #83 on: Wed, 26 August 2015, 14:21:18 »
http://www.evita.lt/en/a-lp804550-akumuliatorius-3-7v-2000mah-8x45x50mm-li-polymer

What do you think about this 2000 mah polymer battery? That's the ony that may fit into HHKB case

It has no JST connectors and cables
How to attach it to the battery?
I have one LiPo from SparkFun (I think) and the JST connector is not directly cabled to the battery leads like you see on the your picture, but there's a small PCB (JST -- wires -- PCB -- battery). It's hard to see on SparkFun's photos, it's kind of hidden in the battery cover.

So - I always thought that this small PCB has some kind of extra protection stuff on it (well maybe just a diode so that there's no reverse current going in). But I don't know enough about this stuff to tell. These things can be seriously dangerous, so I'm just trying to say that do some more research before just soldering wires straight to a LiPo like you posted.

Yes, that raw battery has no protection circuit and you cannot use with BT controller.
I recommend buying battery with protection board from reliable vendor.

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #84 on: Wed, 26 August 2015, 15:44:12 »
Ok thanks, so those 2000 mah polymer batteries from Adafruit or Spakfun, are too large to be fitted into HHKB?
Only 1000 mah at best i guess?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #85 on: Wed, 26 August 2015, 20:54:40 »
Perhpas they may fit but not sure.
I'd recommend to check dimension of the battery and HHKB case yourself.

BTW, someone reported 2500mAh battery could fit in the place.
https://geekhack.org/index.php?topic=56494.msg1600169#msg1600169

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #86 on: Thu, 27 August 2015, 17:42:31 »

Offline shrubkeys

  • Posts: 60
Re: [TMK] HHKB Alt Controller
« Reply #87 on: Tue, 01 September 2015, 22:24:00 »
Any chance the online keymap editor could generate its C code in all ASCII? It would be great to be able to use it to create a basic layout, which you could then edit further locally. As it stands, the source ouput at the bottom (for debugging) writes the keymap table in hex codes, which isn't all that useful for human reading.

Offline deci

  • Posts: 206
  • Location: san diego
Re: [TMK] HHKB Alt Controller
« Reply #88 on: Sat, 05 September 2015, 19:54:15 »
Hey guys. I can now confirm that this 2000 mah battery easily fits in the case as well.
(I'm using it in my new Type S, and it is only slightly larger than the 1200 I have in my pro 2)

http://www.adafruit.com/products/2011

The connector side will overlap the pcb slightly but it is a little less thick than the rest of the battery so it's not a big deal.
(I also use 3m mounting tape for the battery so the slight boost in height fits perfectly over the pcb)

*Please note that if you use this battery do not mount it flush with the top of the case. There needs to be a little gap there for the support that presses down on the pcb.
You can leave a little gap or even mount it resting against the lower post for more security.


I also suspect that this 2500 mah might fit as well but there will be much more overlap so it might not be quite is neat.
I don't need the extra power so I did not test one of these yet:
http://www.adafruit.com/products/328
« Last Edit: Sat, 05 September 2015, 20:02:42 by deci »

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #89 on: Sun, 06 September 2015, 11:34:52 »
I found and bought a 3000 mah that might fit, its on larger by 0,1mm margin
Its from Aliexpress, not really reliable as Adafruit/Sparkfun, that's why i would test if whether its safe and reliable as polymer battery, before dropping the link here

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #90 on: Fri, 11 September 2015, 23:25:17 »
ANNOUNCE: Alt Controller for Pro1

You can order Alt Controller for Pro1 now.
Pro1(PD-KB300) is older EOL model from 2003-2006. ( http://deskthority.net/wiki/HHKB_Professional#HHKB_Professional.5B1.5D )
https://geekhack.org/index.php?topic=12047.msg1779801#msg1779801

« Last Edit: Fri, 11 September 2015, 23:29:51 by hasu »

Offline ajx

  • Posts: 391
Re: [TMK] HHKB Alt Controller
« Reply #91 on: Tue, 22 September 2015, 12:49:57 »
I having litige with the seller, he sold me a legit 3000 mah battery that could fit into HHKB case but as you may know, the possibility of finding such size capacity within HHKB case dimensions, is almost non existent



He claims its normal structure of lipo battery although i can see and touch a split in middle
What do you think guys, reliable battery?
« Last Edit: Tue, 22 September 2015, 12:51:48 by ajx »

Offline TrptJim

  • Posts: 3
Re: [TMK] HHKB Alt Controller
« Reply #92 on: Tue, 22 September 2015, 22:39:23 »
Just got my Pro2 BT board in this morning. Thanks so much Hasu!

I paired it with an Adafruit 2000mAh LiPo and have been testing it out for the past few hours. Everything functions great right out of the box.

I do hear a high pitch whine coming from what sounds like the battery/connector area, that only happens when plugged into a USB PC or charging port. Is this normal? I'll take a closer look tomorrow to narrow it down.

Jim

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #93 on: Tue, 22 September 2015, 23:09:29 »
Thanks for the report back.

Yes, that whine is normal to my BT controller unfortunately, it comes from one of yellow tantalum capacitors. I can't hear it when the case is closed but if you are young and have good ears you can still hear perhaps. In developement phase I tried to remove the whine by changing capacitor value and size, but I couldn't in the end.

It doesn't indicate any defect of components but it may be annoying for good ears.

Offline TrptJim

  • Posts: 3
Re: [TMK] HHKB Alt Controller
« Reply #94 on: Wed, 23 September 2015, 00:54:35 »
It's inaudible anywhere outside my bedroom so it's a very minor thing, though I wonder if a dab of hot glue would improve it.

Offline japanskcykel

  • Posts: 1
  • Location: Sweden
Re: [TMK] HHKB Alt Controller
« Reply #95 on: Sat, 26 September 2015, 04:04:46 »
Hello hasu! Awesome project you have started, I have always wanted the hhkb to be programmable! The reason I found out about this project is because my original controller fried a couple of days ago at my University (one of the computers had a faulty USB connector) along with my friends Ducky controller too ('dmesg' in linux says it doesn't accept the device enumerator). My question is (in your opinion), would replacing the controller suffice or is the rest of the keyboard broken (the key switch PCB too)? I have seen that the controller is connected to the PCB that contains the keys with a 13-bit (or was it 12?) parallel cable, by the little experience I have of electronics I don't think that should have mitigated there right?

I look forward to buy a hasu controller soon!
Thanks for your help!

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #96 on: Sat, 26 September 2015, 15:18:03 »
I'm not sure but I don't think your switch board was broken. Topre controller board has voltage regulator chip on power line and I guess it may work as protection when power failure. But not sure again there.

Note that TMK USB controller has no protection, you can suffer from a damage more severely when that situation. BT has poly fuse(PPTC) but I don't think it is enough protection in that case.

Offline Anonymous Coward

  • Posts: 1
Re: [TMK] HHKB Alt Controller
« Reply #97 on: Sat, 26 September 2015, 19:57:50 »
I just received my bt controller as well and it is fantastic.

Thank you for making these available.  :thumb:

Offline jgaddi

  • Posts: 6
  • Location: California
Re: [TMK] HHKB Alt Controller
« Reply #98 on: Wed, 21 October 2015, 02:44:40 »
Hey guys, I'm having trouble pairing with the bluetooth module. The battery is fully charged, and switching the bluetooth on (with USB unplugged) causes the battery LED to flash red twice. When plugged in, I can't detect a BT signal.

Here's my output from hid_listen after switching BT on. I don't think rn42 should read OFF at this point:

----- RN-42 info -----
protocol: LUFA
force_usb: 0
rn42: OFF
rn42_autoconnecting(): 1
config_mode: 0
USB State: Configured
battery: CHARG
RemoteWakeupEnabled: 0
VBUS: 1
uptime: 00 00:03:37

BAT: 4200mV        00:04:14



Initializing the bluetooth module with LShift+RShift+Del doesn't seem to change anything.

I was able to flash a custom layout, and the controller works great over USB. Any ideas?

Offline hasu

  •  Moderator
  • Thread Starter
  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: [TMK] HHKB Alt Controller
« Reply #99 on: Wed, 21 October 2015, 04:58:30 »
Hey guys, I'm having trouble pairing with the bluetooth module. The battery is fully charged, and switching the bluetooth on (with USB unplugged) causes the battery LED to flash red twice. When plugged in, I can't detect a BT signal.

Here's my output from hid_listen after switching BT on. I don't think rn42 should read OFF at this point:

----- RN-42 info -----
protocol: LUFA
force_usb: 0
rn42: OFF
rn42_autoconnecting(): 1
config_mode: 0
USB State: Configured
battery: CHARG
RemoteWakeupEnabled: 0
VBUS: 1
uptime: 00 00:03:37

BAT: 4200mV        00:04:14



Initializing the bluetooth module with LShift+RShift+Del doesn't seem to change anything.

I was able to flash a custom layout, and the controller works great over USB. Any ideas?


Weird, that output indicates Bluetooth module powers off.
This pic shows BT slide switch position and LEDs.


You will see BT LED blinks in red when BT module powers on.
Quote
BT LED
It lights red when Bluetooth is connected to host, blinks red(once per second) when waiting for connection and blinks red(10 times per second) when Bluetooth module is config mode.

To initialize BT module you should press LShift+RShift+ScrollLock, not Delete. LShift+RShift+Delete enters module into command mode.
Quote
Magic commands
Prefix of magic command are LShift + RShift.

- i displays Bluetooth information on hid_listen console.
- b displays battery voltage on console.
- Delete enter/exits Bluetoot module RN-42 config mode on console. See RN-42 manual.
- Scroll Lock initialize module with TMK default configuration.
- p put keyboard into paring mode focibly.
- u switches between USB and Bluetooth mode.

Check the first post of this thread again for Magic command key combos.