筐体サイズについて考えていること+とあるMCUを待っている件

12 min

(日本語版は後ろにあります)
Thoughts on Enclosure Size + Waiting for a Certain MCU.


Peaky 8-bit has reached a working prototype, but I still have plenty of “I want it to be like this!” ideas — and the motivation to chase them. In this post, I’d like to write about what I’m currently thinking and what I’m hoping for.

When it comes to the design of the P8 enclosure and PCB, my guiding principle is “as slim as possible.” Admittedly, the reason is rather developer-centric: my hands are on the small side, and my fingers aren’t very long… But more than that, I really want to be able to carry it around in my pocket and use it. I’m also the kind of person who can’t keep my hands still, so having a favorite key switch in my pocket to fidget with is oddly calming. That’s part of it, too.

Right now, a single half of the P8, inside its case, measures roughly:

  • Height: approx. 2 cm (approx. 2.5 cm including the protruding key switches; depends on the keycaps)
  • Width: approx. 4 cm
  • Length: approx. 12 cm
P8's current configuration (rough diagram)
P8's current configuration (rough diagram)

With that as the starting point, here are the possibilities and directions I’m currently considering.

Height: currently approx. 2 cm

At the moment, I’m using standard-height key switches (Cherry MX compatible). I think switching to Kailh low-profile switches would make that part thinner.

The limiting factor, though, is the battery. The P8 currently uses AAA batteries. (Li-Po batteries still feel a little scary to me… and they’d also make international shipping impossible…)

NOTE

By the way, the P8 can also be used while connected via USB Type-C. It works even without batteries! (You’ll need either two USB Type-C cables or a Y-splitter cable, though.)

So, the height taken up by the AAA batteries is something I don’t think I can reduce.

That said, I think there’s a possible workaround in the shape of the case. For example, giving the lid of the case a slope, as shown in the images below.

Sloping the case lid (concept image 1)Sloping the case lid (concept image 2)

I have a feeling this would make it much more comfortable to hold and use with both hands. I already have Kailh low-profile hot-swap sockets on hand, so all I need to do is tweak the PCB design slightly and place an order. I’m planning to try this soon.

Width: currently approx. 4 cm

Personally, this is the dimension I most want to shrink!! (Well… I also really want to reduce the height…)

I’ve found some room to tighten the current PCB layout, so the next revision I order should already be 2–3 mm narrower.

The limiting factors here are the width of the key switches and the width of the AAA batteries. Those can’t change, so the question becomes: how tightly can I pack that combined width plus the wiring?

NOTE

If I could place the batteries on the back of the PCB (sandwiching the board between the key switches and the batteries), things might be a bit different. That feels like it’s getting into more advanced territory, though… so I’ll look into it.

Length: currently approx. 12 cm

For this one:

  1. I can probably shave off about 1 cm going forward
  2. However, I’m planning to add a rotary encoder / analog joystick in the future

So the length will likely shrink a bit at step 1, but in the end I suspect it’ll be about the same as now — or maybe even around 1 cm longer…

“1. Minus 1 cm in length: waiting for a certain MCU”

Sekigon-san (of “Nogikes-ya”), a well-known name among those in the know in Japan’s DIY keyboard community, is developing something like this:

I am waiting! For this! To be released…!!

The P8 currently uses the “XIAO nRF52840 Plus”, along with the part marked ② in the diagram below as a boost converter module.

P8's current configuration (rough diagram)
P8's current configuration (rough diagram)

With Sekigon-san’s MCU, the green part ② would no longer be needed…! And if I no longer need to reserve space for that green part (the boost converter module), I can reduce the overall length by about 1 cm.

”2. However, I’m planning to add a rotary encoder / analog joystick in the future”

Here’s roughly what I have in mind:

P8, a future daydream (positions will probably change)
P8, a future daydream (positions will probably change)

The current P8 has no mouse functionality, and no way to scroll… To make up for that, I’d like to add a rotary encoder (for scrolling) and a joystick (for moving the mouse cursor).


…That’s what’s been going around in my head lately.

Since the rotary encoder and joystick would be operated with the thumb, I think the main challenge will be their orientation. (For thumb operation, I feel they’d probably need to be mounted on the side of the P8’s case.)

I wasn’t very confident relying on AI for this kind of implementation, so I’d been a bit hesitant… but from what I’ve seen using the recently released Claude Opus 5.5, its “eyes” (visual understanding) seem to have improved quite a lot. And an MCP server for KiCad has apparently been released too, so maybe it’s about time I gave it a shot?



日本語版

Peaky 8-bitはとりあえずのプロトタイプは出来上がっている状態ですが、とはいえまだまだ「こうしたい!」という希望とモチベはある状態でして。
現状考えていることや、その希望についてを書いてみます。

Peaky 8-bitの筐体およびPCBのデザインについては、「可能な限り、スリムに」、、と考えています。
というのも、私の手が小さめ+指も長くないから、という開発者本位の理由だったりするわけですが。。
あとやっぱり「ポケットの中に入れて使いたい!」という気持ちが大きい。
それと、「手いたずら」したくなってしまうタイプなので、ポケットの中にお気に入りのキースイッチがあると落ち着く、みたいな理由もあったり。

現状のP8は片手分で、ケースに入れた状態で

  • 高さ:約2cm(キースイッチ部分の出っ張りを入れると約2.5cm。キーキャップにもよる)
  • 幅:約4cm
  • 長さ:約12cm

という具合です。

P8、現在の構成(ざっくり図説)
P8、現在の構成(ざっくり図説)

その状態で、現在、以下のような可能性と方向性を考えています。

高さ:現在約2cm

現在キースイッチは通常の高さのもの(CherryMX互換のもの)を利用しています。
これをロープロファイルの、Kailhのものに変更すればその部分は厚みは薄くできるだろうと考えています。

ただ、制限となるのが「電池」の部分ですね。
現在、P8は単四電池を選択しています。
(Li-Poバッテリーはやはりちょっと使うのが怖い。。あと国際輸送ができなくなってしまう。。)

NOTE

ちなみに、P8はUSB Type-Cに有線した状態での利用も可能です。電池が無くても動きます!(ただし、USB Type-Cケーブルが2本あるいは二股のものが必要)

ということで、単四電池の部分の高さは削ることができない、、と考えています。

一応、ケースの形状を工夫するというソリューションはあると考えています。
例えば、図のように、ケースの蓋の部分を傾斜をつける。

ケースの蓋部分に傾斜をつける(イメージ図①)ケースの蓋部分に傾斜をつける(イメージ図②)

これだとたぶん両手で握持して使うときはだいぶ使い心地が良くなる気がしています。
手元にすでにKailhのロープロファイル用のホットスワップのソケットはあり、PCBの設計をちょっとだけ変更して発注すればいいだけなので、これは今後試す予定でいます。

幅:現在約4cm

個人的には、これを一番「縮めたい!!」と考えています。
(ああ、でも「高さ」も縮めたい気持ちは強いです。。)

現状、PCBデザイン上のレイアウトももう少し詰めることができたので、次の発注バージョンを発注する場合はもうマイナス2,3mmほど縮むことになっています。

制限となっているのが、「キースイッチの幅」と「単四電池の幅」ですね。
この幅は動かせないので、この合計の横幅+配線をいかに詰められるか?という話になります。

NOTE

PCBの裏面に電池を配置する(キースイッチと電池で基板をサンドイッチする)という構成にできればちょっと話は違ってくるかもしれません。ただちょっとそれは高度になってくる気がするので、、、調査しておきます。。

長さ:現在約12cm

これに関しては、

  1. これからたぶんマイナス1cmほどできそう
  2. しかし、将来的にロータリーエンコーダー/アナログジョイスティックを実装予定 という具合です。
    なので、「1」の段階で恐らくちょっと縮むのですが、最終的には現行の長さとほぼ同じか、あるいは少し、プラス1cmぐらいなってしまうかも、、、と考えています。

「1. 長さマイナス1cm:とあるMCUを待っている」

日本の自作キーボード界の、知る人ぞ知る「せきごん」さん(「のぎけす屋」さん)。
この方がこのようなものを開発中とのことです。

これが!発売されるのを!待っているのです…!!

現在、P8は「XIAO nRF52840 Plus」を利用しています。 そして昇圧モジュールとして下図②の部分のパーツを使っています。

P8、現在の構成(ざっくり図説)
P8、現在の構成(ざっくり図説)

せきごんさんのMCUだと、この緑色の②の部分が要らなくなる…!
緑色の部分(昇圧モジュール)のスペースを確保しなくてよくなると、全体的に長さをマイナス1cmほど縮められる、という話になるのです。

「2. しかし、将来的にロータリーエンコーダー/アナログジョイスティックを実装予定」

イメージ図としては、こんな感じで考えています。

P8、将来の妄想図(位置は変わると思います)
P8、将来の妄想図(位置は変わると思います)

現状のP8だと、マウスの機能が無かったり、スクロールダウンする機能がなかったり。。
ということで、それを補うためにロータリーエンコーダー(スクロールダウン用途)だったり、ジョイスティック(マウスカーソル用途)を付けたいと考えている次第です。


…という感じで脳内で妄想しています。

ロータリーエンコーダーとジョイスティックの実装については、親指での操作になるので「向き」がどうなるか?が課題になると考えています。
(親指で、となるとP8のケースの側面側に付ける必要がある気がしています)

この辺の実装、AIに頼るのもちょっと自信がなかったのですこし及び腰でいたのですが、、でも最近リリースされたClaudeのOpus5.5を使っている感じ、どうもかなり「目」が良くなったようですし、あとKiCadもMCPが公開されたりしているようなので、そろそろ挑戦してもいいかも?


👍/ Like