• Stars
    star
    151
  • Rank 246,057 (Top 5 %)
  • Language
    C
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pocket Keyboard

First attempt at building a keyboard from scratch

  • PCB Design and Fabrication - EasyEDA + Seeed
  • EasyEDA Project Link
  • Firmware - TMK

Assembled

Top Layer

Top Layer

Bottom Layer

Bottom Layer

PCB Layout

PCB Layout

Components

Component Label Quantity
Atmega32u4 1
16MHZ Crystal Y1 1
Micro USB Connector 1
22OΞ© R1, R2 2
10KΞ© R3 1
330Ξ© R4 1
22pF C1, C2 2
1uF C3 1
LED D0 1
1N4148 D1-D70 70
TL3303 Tactile Switch SW 70
5-way Switch S1 1

Schematic

Controller Keys

Firmware

  • Based on TMK's onekey example
  • cd firmware/keyboard/pocket_kbd
  • make -f Makefile
  • press the reset button
  • sudo dfu-programmer atmega32u4 erace --force --debug 5
  • sudo dfu-programmer atmega32u4 flash firmware.hex --debug 5
  • power cycle board, it should now appear as an USB keyboard