Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pythonで始める自作キーボード入門 / Introduction to Self-Made...

Avatar for mu2in mu2in
October 10, 2020

Pythonで始める自作キーボード入門 / Introduction to Self-Made Keyboard from Python

近年、安価な電子部品が簡単に調達できるようになり、自作キーボードというジャンルが流行り始めています。
今回はマイコン上で動作するMicroPythonから派生したCircuitPythonを使って、マイコン・ブレッドボード・スイッチを組み合わせた自作キーボードを作ってみた話をしたいと思います。

「PyCon mini Hiroshima 2020」でのLT資料です。 https://hiroshima.pycon.jp/2020/

Avatar for mu2in

mu2in

October 10, 2020
Tweet

More Decks by mu2in

Other Decks in Programming

Transcript

  1. ͓લ୭Α ‣ @mu2in ‣ ;ͭ͏ͷJavaΤϯδχΞ ‣ ओͳίϛϡχςΟ׆ಈ ▹ ͍͢͝޿ౡ •

    ຖिਫ༵೔ʹ޿ౡͰ։࠵͍ͯ͠ΔIT΋͘΋͘ձ • 2017೥4݄͔Βຖ݄ʮ͍͢͝޿ౡ with PythonʯΛڞಉओ࠵ ▹ PyCon mini Hiroshima • 2018೥10݄͔Βελοϑͱͯ͠ࢀՃ ▹ PyCon JP • PyCon JP 2018: ͍͢͝޿ౡ with Python ίϛϡχςΟϒʔεग़ల • PyCon JP 2019: ͍͢͝޿ౡ with Python ίϛϡχςΟϒʔεग़ల • PyCon JP 2020: ޿ౡʹ͓͚Δ஍ҬPythonίϛϡχςΟͷ্ཱͪ͛ํͱଓ͚ํ
  2. • CherryMXޓ׵εΠον + ΩʔΩϟοϓ • KeyBread + SK6812MINI + Kailh

    PCBιέοτ • ࡉϐϯϔομ • Adafruit ItsyBitsy nRF52840 Express • ϩʔλϦʔΤϯίʔμʔ + DIPԽج൘ • ϒϨουϘʔυ • δϟϯύʔϫΠϠʔ • ϚάωοτmicroUSBέʔϒϧ ( ΋͛๷ࢭ༻ ) ༻ҙ͢Δ΋ͷ ؒʹ߹͍·ͤΜͰͨ͠
  3. ·ͱΊ • ిࢠ޻࡞ॳ৺ऀͷࢲͰ΋؆୯ʹCircuitPythonͰແઢΩʔϘʔυΛ࡞Δ͜ͱ͕Ͱ͖ͨɻ • CircuitPythonͷֶशγεςϜͷνϡʔτϦΞϧ͕͘͢͝෼͔Γ΍͔ͬͨ͢ɻ • ࢀߟࢿྉ • Adafruit CircuitPython

    NeoPixel - Read the Docs https://circuitpython.readthedocs.io/projects/neopixel/en/latest/ • CircuitPython HID Keyboard | Adafruit Learning System https://learn.adafruit.com/adafruit-circuit-playground-express/ circuitpython-hid-keyboard • BLE HID Keyboard Buttons with CircuitPython | Adafruit Learning System https://learn.adafruit.com/ble-hid-keyboard-buttons-with-circuitpython