Skip to content

Replace locking key switches with momentary switches

License

Notifications You must be signed in to change notification settings

mnaberez/mxlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 the LOCK0 key is held down
  • Puts the ATtiny to sleep between keypresses to save power

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published