Custom Mechanical Keypad With Display 3D Printer Model

Author: @
License: CC BY-NC
File formats: ino,stl,ahk
Download type: zip
Size:89.1KB

The file 'Custom Mechanical Keypad With Display 3D Printer Model' is (ino,stl,ahk) file type, size is 89.1KB.

Summary

Keypad using mechanical keys, Arduino Pro Micro &ILI9340 SPI Display

Input device to improve workflow and user input without having to remember a lot of different key combinations.

Hardware

Mechanical Keys: Ebay
Microcontroller: Arduino Pro Micro (Ebay - different models available)
Display: Search Ebay for ILI9341

Software
The software running on the Arduino uses the OneButton Library to simply connect multiple buttons without debounce handling needed.
At the moment the software allows multiple modes (window management, start of programms and input of special characters)
The display shows the current selected mode and the function of the keys.

On the computer side i use AutoHotKey for the command handling.

Link to Source-Code

WIRING
The wiring depends on the microcontroller you use and the display. For my current configuration I connected the display according to the spec sheet. Its a simple SPI connection. The reset pin is always pulled high.

The buttons are connected to one digital pin each, using the internal pullup resistor. The other pin of the mechanical buttons are all connected to ground. Pressing the button grounds the pin. This allows a design without other resistors only using the arduino microcontroller.

Work in progress!

keypad.ino 10.6KB
KeypadBottom.stl 100.6KB
KeypadTop.stl 267.0KB
keypad_v1.ahk 2.3KB