Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 25817

A two-button mechanical keyboard that types ASCII values, one bit at a time

$
0
0

README.md

A two-button backlit mechanical keyboard that types ASCII values, one bit at a time.

Photos

Photo of Binary Keyboard

Photo of Screen

TopDown Photo

GIFS

Boot Up Sequence

Normal Use

Switching Modes

Fancy Backlighting

Yet another gif

Image of Schematic

Components

  • Arduino Pro Micro (knockoff)
  • Cherry MX Clear Mechanical Switches
  • SSD1306 OLED Display

Arduino Library Requirements

These libraries are used to drive the SSD1306 OLED display.

Eagle Schematic Details

Because I could not locate a part to represent the SSD1306 OLED Display, I created my own. This can be found in theCSJ Library file for Eagle. A word of warning, this was my first time using Eagle. The part works, but could be improved.

Uses c0z3n/cherrymx-eagle library as well.

Usage

Each byte can either be typed from most significant bit to least significant bit (left to right), or least significant bit to most significant bit (right to left). This is set before uploading to the board. After all 8 bits have been entered, it will type out the ASCII value equivalent of that binary valiue. The Pro Micro has native USB support, which means it acts just like any other keyboard.

If both keys are held down, the keyboard will switch to "1/0 mode" / "single button press mode" (I'm bad at names). In this mode, each key will represent a '1' or a '0' just like on a traditional keyboard, no binary involved.

Arduino Problems

Initially I was going to use a DigiStump board for this, but I found issues with not having enough memory to work with after importing libraries and not enough I/O. I'm using an Arduino Pro Micro knockoff. The reason that there is electrical tape covering it is because I found that shorting the contacts with a finger would cause it to stop working. I'm still not really sure why.

Contribution and Modifications

Please feel free to fork this project for your own purposes.

Acknowledgements

Special thanks goes to everyone in the UWB Makerspace that helped make this possible.


Viewing all articles
Browse latest Browse all 25817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>