Search models, users, collections, and posts

Custom Mechanical Keypad with Display

Print Profile(1)

All
A1
P1S
P1P
X1 Carbon
X1E
X1
H2D
H2D Pro
H2S
P2S
H2C
X2D
A2L

0.16mm layer, 3 walls, 100% infill
0.16mm layer, 3 walls, 100% infill
1.7 h
1 plate

Open in Bambu Studio
Boost
9
24
0
0
11
4
Released 

Description

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!

Print Settings

Printer:

CR-10

Rafts:

No

Supports:

No

Resolution:

0.2

Infill:

20%


Notes:

Good leveling needed to avoid warping.

Category: Electronics

Comment & Rating (0)

(0/1000)

No more