初の海外登壇である、ということで海外の CfP に書きがちなテンション等を AI で調査しつつ、ちょうどよい塩梅を探しました。
Title
Build Your Own USB HID Keyboard with TinyGo (Live Coding)
Elevator Pitch
Can you build a USB keyboard in 5 minutes with Go? Yes — and I’ll do it live.
In this talk, I’ll show how TinyGo lets you run Go on microcontrollers and turn your code into a real USB HID keyboard.
It’s the same approach we use in our TinyGo Keeb workshops in Japan, where soldering meets Go.
Description
Go is widely known for cloud services and backend systems — but it can also run on real hardware.
TinyGo is a Go compiler for microcontrollers and small devices, allowing you to write firmware in pure Go.
In this talk, I’ll demonstrate how to build a USB HID keyboard using TinyGo and explain how Go code becomes firmware running directly on a microcontroller.
The core of the session is a short live-coding demo. In a short live-coding session, we’ll build a minimal keyboard firmware with layer support, step by step:
Send a single key press and release after time.Sleep()
Read a physical button and send key events (including key repeat)
Expand from one button to multiple hard-coded buttons
Refactor the buttons into a slice for scalability
Add a simple layer feature that changes key behavior while a modifier button is held
Along the way, we’ll briefly explore how USB HID works, how TinyGo targets microcontrollers, and how to structure embedded firmware in Go.
This session is accessible even if you have no prior embedded systems experience. If you know Go, you already have everything you need to get started.
Attendees will leave with:
A clear understanding of how TinyGo runs on microcontrollers
Practical knowledge of USB HID basics
A mental model for structuring firmware in Go
The confidence to start building hardware projects with Go
If you’ve ever wondered whether Go belongs beyond the cloud, this session will give you a concrete, hands-on answer.
内容としてはいつもの TinyGo Keeb Tour を英語版で実施しました。
README やビルドガイドなども英語化して挑みました。
今回のワークショップは deadprogram / Ron Evans の Hardware Hacking with TinyGo と同じ部屋で開催しました。
ということで、途中から Ron が合流して本当に楽しいイベントになりました。
Ron にはんだ付けを教えるという実績も作れました。
(なお、 Ron はもともとはんだ付けばっちりです)
作業途中で Ron からビルドガイドや作業台 (の作業のしやすさ)、チェッカーによるはんだ付けチェックなどの工夫に対してお褒めの言葉をいただきました。
今までの TinyGo Keeb Tour の集大成なわけで、 TinyGo Keeb コミュニティとしてとてもうれしいですね。
USB PD なはんだごて持ち運びセットを更新して、替えのコテ先を入れれるようにした。写真には写ってないですが、フタもあるのでいい感じに持ち歩くことができます。コテ先を取り外して収納すればもう少し小さく出来るけど、完全に冷えるまで待つのは面倒なので。 pic.twitter.com/WKHN8qRvi6