mnaberez / mxlock

Replace locking key switches with momentary switches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MXLock

Photo

MXLock is a two-chip circuit that allows up to four mechanically locking keys (push-on, push-off) to be simulated using regular momentary key switches.

Many older computer keyboards have mechanically locking keys. For example, the Commodore 128 has three locking keys: SHIFT LOCK, CAPS LOCK, and 40/80. The MXLock circuit can be included on the PCB of replacement keyboard projects, such as those using Cherry MX keys, so that the entire keyboard can be made from momentary key switches.

Features:

  • Simulates up to 4 locking keys using an ATtiny214/414/814 and a 4066
  • Shows the on/off state of each key with LEDs
  • Remembers the lock states between power cycles (useful for mode keys like 40/80)
  • Resets the computer by pulling /RESET low if a key is held down

Hardware

The hardware/ directory in this repository contains the schematic and a PCB layout for the demonstration board pictured above. It can be used to test the MXLock circuit.

The circuit is intended to be integrated directly onto the PCB of a keyboard. Steve Gray's C128SX keyboard is an example of a keyboard using the circuit.

Firmware

The firmware is written in AVR assembly language. It can be assembled and flashed using open source software and inexpensive hardware. See firmware/ for the source code and instructions.

Author

Mike Naberezny

About

Replace locking key switches with momentary switches

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Assembly 99.8%Language:Makefile 0.2%