You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ben Blazak 813569cfe0 updated toplevel license and readme 8 years ago
contrib created a contrib folder 8 years ago
src updated toplevel license and readme 8 years ago updated toplevel license and readme 8 years ago
makefile (more makefile modifications) 8 years ago updated toplevel license and readme 8 years ago bug fixes, mostly; and other things 8 years ago

ergodox-firmware: Firmware for the ErgoDox keyboard

Also see the [geekhack] ( and [deskthority] ( discussion threads.

About this File

If you're viewing this on github, please note that directory links will only work if you're viewing this from the directory, and file links will only work if you're viewing this as a file. This is true for all the '.md' files here. The limitation is due to the way github addresses directories and files, and the fact that Markdown doesn't have any way (that I know of) to rewrite the URLs as would be required.

About this Project

This project is definitely in beta, but I'll do my best to keep the 'master' branch working. Please see the source (and especially the accompanying '.md' files) for documentation. And [] ( contains lots of good links, along with descriptions.

If you're just trying to compile, jump to the bottom of the file and read the [Dependencies] (#dependencies-for-building-from-source) section. Once that's taken care of, navigate to the [src] (src) directory, compile using Make, and fire up your teensy loader to transfer the '.hex' file. Just to be safe, you should also check the '.eep' file. If it's larger than 0 bytes, you need to load it too.

If you're looking to hack on the source, or just feel like reading it, you probably don't need much direction for a small project like this. I'll try to write more later (for people who are new to AVR programming, like I was when I started this project), but for now:

  • [src/lib] (src/lib) is for generally useful stuff. The TWI and USB libraries are in there, along with the file containing basic key press and release functions.
  • [src/keyboard] (src/keyboard) is for keyboard specific stuff. All the chip initialization code is there, along with the layout files, the software matrix to hardware matrix mapping, and hardware specific documentation.
  • [src/main.c] (src/main.c) ties it all together.

Open issues, feature requests, and such are tracked [on github] (/benblazak/ergodox-firmware/issues).


Features as of 2012-04-11 : first major release on branch 'main'

  • 6KRO
  • Teensy 2.0, MCP23018 I/O expander
  • ~167 Hz scan rate (most of which is spent communicating via I²C)
  • firmware level layers

Dependencies (for building from source)

Copyright © 2012 Ben Blazak
Released under The MIT License (MIT) (see "")
Project located at