自作キーボード温泉街の歩き方

自作キーボードの世界は温泉に例えられます。自作キーボードの温泉街の楽しい歩き方を紹介します。

Ent4Spaceというマクロパッドを作ろうと挑戦したよ!

こんにちは。自キ温泉ガイドのサリチル酸です。

Hello. I am Salicylic_acid3 from DIY-Keyboard Guide.

f:id:Salicylic_acid3:20181119233252p:plain

今回はSeeed Fusion DIY XIAO Mechanical Keyboard Contestに参加したので、私のやりたかった挑戦とその結果について解説したいと思います。

I participated in the Seeed Fusion DIY XIAO Mechanical Keyboard Contest and would like to explain the challenge I wanted to take on and the results.

(I use DeepL to translate my text.)

出来たもの - The finished product

画像

画像

やりたかったこと - What I wanted to do

最初に言っておきますが、私は全てのやりたかったことを出来ていません。

だいたい50%くらいです。

  1. 5mmインテグレーテッドマウントかつスタビの共存
  2. ケースの意匠を自分なりに凝ってみる
  3. XiaoマイコンボードをPCBに直付けする
  4. PRK Firmwareに対応する
  5. 無線対応する
  6. Senceの加速度センサーによるマウス操作を実現する

この4番目まで出来ましたが、最後までは出来ませんでした。

First let me say that I have not been able to do everything I wanted to do.

It is approximately 50%.

  1. Coexistence of 5mm thick integrated mount and stabilizer

  2. Consider my favorite elaborate case design

  3. Xiao microcontroller board directly attached to PCB

  4. Support PRK Firmware

  5. Wireless support

  6. Mouse operation with Sence accelerometer

I was able to do up to the fourth, but not to the last.

1.5mmインテグレーテッドマウントかつスタビの共存 - Coexistence of 5mm thick integrated mount and stabilizer

私は5mm厚のインテグレーテッドマウントのアルミケースに結構可能性を感じていまして、低コストで良好な打鍵感にできるように色々な工夫を試行錯誤しています。

しかし、5mm厚のインテグレーテッドマウントはそのままではスタビライザーを取り付けられないため、検証する必要がありました。

私は3DプリントとCNC削り出しで試しました。

I see quite a bit of potential in 5mm-thick integrated-mount aluminum cases, and I am working on various ways to make them low-cost and good hitting feel.

However, I needed to verify the 5mm-thick integrated mounts, since I could not install stabilizers as is.

I tried with 3D printing and CNC machining.

2.ケースの意匠を自分なりに凝ってみる - Consider my favorite elaborate case design

私はあまりセンスがある方ではないことを自覚しているため、キーボードに華美な意匠を付けることは有りませんでした。

しかし、最近のキーボードがかなり凝った意匠をしているのでチャレンジしてみたくなったのです。

私の好きなデザインは直線主体の角張ったデザインです。

大きく面取りしたデザインで、ケース全体でスペースバーの様に見せています。

I am aware that I am not a person of good taste, so I have never put a fancy design on a keyboard.

However, I wanted to try my hand at designing a keyboard, since the latest keyboards have quite elaborate designs.

My favorite design is an angular design with straight lines.

The large chamfered design makes the entire case look like a space bar.

大きいスペースバーの様に見えます?
Looks like a big space bar?

またこの側面のデザインは「クジラのようだ」とよく言われますが、クジラみたいですかね?

私としては最高に格好いいんですが、デザインって難しいですね。

Also, this side design is often said to "look like a whale," but does it look like a whale?

As far as I'm concerned, it's the best looking, but design is difficult.

一つの気づきですが、この大きく面取りをしたデザインは削るドリルのブレが発生してエッジが鈍ることがあるみたいです。(写真では分かりづらいですが)

この大きく面取りしたデザインは3Dプリントの方が適している可能性があります。

One thing I noticed is that this large chamfered design seems to cause blurring of the drill that is used to cut it, which may dull the edges.(It's hard to tell from the picture.)

3D printing may be more suitable for this heavily beveled design.

3.XiaoマイコンボードをPCBに直付けする - Xiao microcontroller board directly attached to PCB

Xiaoボードを直接PCBに取り付けるフットプリントのテストです。

スルーホールを備えることでリフロー前提のバッテリー用のパッドなども使えるようにしました。

This is a test of the footprint of the Xiao board directly on the PCB.

Through-holes are provided so that pads for reflow batteries, etc. can be used.

また、この様にピンヘッダを反対側差し込むことで簡単にハンダ付けすることが出来ます。

Also, the pin header can be easily soldered by inserting it on the opposite side like this.

この2つの工夫は完全にうまく行きました。

他のキーボードでも活かせそうです。

These two innovations worked perfectly.

It could be utilized on other keyboards as well.

4.PRK Firmwareに対応する - Support PRK Firmware

これは非常に簡単でした。

PRK Firmwareの作者の(@hasumikin)に感謝です。

This was very easy.

Thanks to the author of PRK Firmware (@hasumikin).

github.com

5.無線対応する - Wireless support

Xiaoの裏面のBat+、Bat-パッドにコイン電池をつなげて動くか確認してみましたが、動きませんでした。

本来リチウムイオン電池を繋ぐようになっているのですが、私は爆発が怖いのであまり使いたくなかったのです。

でも悔しかったのでテスト用に小さいものを買って繋いでみました。

I tried connecting coin cell batteries to the Bat+ and Bat- pads on the back of the Xiao to see if it would work, but it did not.

Originally, lithium-ion batteries are supposed to be connected, but I didn't want to use them because I was afraid they would explode.

But I was frustrated, so I bought a small one and connected it for testing.

結果は、問題なく動きました。

The results worked fine.

USBを繋いでないのにペアリングLEDが光っている様子
Pairing LED glowing even though USB is not connected

Xiaoはバッテリーの充電回路がついているため、リチウムイオンバッテリーも充電する事ができます。

ホント、高機能で凄いですね。

キー入力くらいは出来るようになりましたが、QMKやPRKなどのファームウェアほどの使い勝手を備えるのは私のスキルではとても難しいため、このままの形で頒布するのはちょっとどうかなと思って迷っています。

Xiao has a battery charging circuit, so it can also charge lithium-ion batteries.

It's really a great, highly functional device.

I can now at least key in, but it is very difficult with my skills to provide as much usability as firmware such as QMK and PRK, so I am not sure about distributing it in its current form.

6.Senceの加速度センサーによるマウス操作を実現する - Mouse operation with Sence accelerometer

これもちょっとだけできました。

これを使うことでキーボードを振り回してマウスポインタを動かすという野望がちょっとだけ見えてきましたよ。

I was able to do a little bit of this too.

I'm starting to see a little bit of my ambition to use this to move the mouse pointer around by waving the keyboard around.

このようにキーボードを振り回してマウスポインタを動かせたら最高に格好良く有りませんか?

格好良くないですか、そうですか。

Wouldn't it be cool to be able to move the mouse pointer around the keyboard like this?

Wouldn't it be cool?

これはこちらのソースコードをほぼ流用しました。

This is mostly adapted from the source code here.

embedded-things.blogspot.com

後は初期ポジションをリセットする機能とか追加したいですね。

まあ、そんな技術力が無いのが問題なのですが。。。

After that, I would like to add a function to reset the initial position or something.

Well, the problem is that I don't have that kind of technical capability.

まとめ

私はこのEnt4Spaceマクロパッドで色々挑戦的なことを行いました。

しかし、私一人で全てを開発し切るのは難しいので、手伝ってくれる方を募集中です。

また、頒布しないとSeeed Fusion DIY XIAO Mechanical Keyboard Contest的に良くないのかな、と思い7Nanoマクロパッドというものを作りました。

7NanoマクロパッドはEnt4Spaceを小さくまとめたケース形状でPRK Firmwareに対応し、安価に製造できるような作りにしてあります。

近々7Nanoマクロパッドについても記事にまとめたいと思いますので、乞うご期待です。

そしてSeeed様、このような面白い企画をありがとうございました。

I did many challenging things with this Ent4Space macro pad.

However, I thought it would not be good for the Seeed Fusion DIY XIAO Mechanical Keyboard Contest if I did not distribute it, so I created the 7Nano Macro Pad.

The 7Nano Macro Pad is a smaller version of the Ent4Space case that is compatible with PRK Firmware and can be manufactured inexpensively.

We will soon write an article about the 7Nano Macro Pad, so please stay tuned.

And thank you Seeed for such an interesting project.

些細な宣伝 - advertisement

www.seeedstudio.com

www.seeedstudio.com

www.seeedstudio.com

おわりに

私としては結構挑戦的なことを色々やれて楽しかったですが、他の方のキーボードを見るとかなりガチで凄いなと思いました。

私は完全に賑やかし要員になっている気がしますが、まあ他に色々溢れているので勘弁してください。。。

For me, it was fun to do a lot of things that were quite challenging, but when I looked at other people's keyboards, I thought they were pretty serious and awesome.

I feel like I'm a total storyteller...but, hey, I'm overflowing with other things, so give me a break.

本記事の記載内容に対して変更や更新要望等あれば遠慮なく私のDiscordまでどうぞ。

If you have any requests for changes or updates to the information in this article, please feel free to contact me on my Discord.

salicylic-acid3.hatenablog.com

本記事はNaked64SF v3 Proto3で書きました。

This article was written by Naked64SF v3 Proto3.