Skip to main content

Building a Keyboard

·1 min

Assembling #

keyboard with brown switches keyboard view #2 keyboard view #3 keyboard view #4 royal glam wood labs keyboard with stabilizers all done

Firmware #

Installation #

  • Install dfu-programmer:

    Linux: sudo apt-get install dfu-programmer

    Mac: brew install dfu-programmer

  • Python 2.7+ to run Easy AVR

Steps #

  1. Startup Easy AVR

./EasyAVR/easykeymap.sh & <-- run on a background thread

  1. Make modifications to the .dat file

  2. Run File > Save Layout As…

  3. Run File > Build Firmware

  4. Hold PCB reset button for 10 seconds

  5. Run these commands:

    Note: once the keyboard enters flash mode it won’t work - have a backup keyboard or wrap this script in a timer

sudo dfu-programmer atmega32u4 erase
sudo dfu-programmer atmega32u4 flash /path/to/firmware.hex
sudo dfu-programmer atmega32u4 start

Parts #

Thanks Tech Keys!