Project Description: This project describes
a keyboard for setting up the BIOS on an all-in-one computer (OPS).
The main
controller is the Hezhou Air001, the firmware is developed using Arduino, key scanning uses Hanwen Keyboard's scanning solution, and HID interaction uses the Qinheng CH9329 chip.

The main controller Air001
reserves UART1 as a firmware burning interface.
It communicates with the CH9329 chip via UART2, transmits and receives HID data
via SPI1 connected to the 74HC165 chip, obtains button status
via SPI2 to drive the reverse-mounted WS2812 LED bead, and adds RGB lighting effects.
The button layout and functions

of the numeric keypad are shown in the table below:
Key
Function
Description
Del, F2, F10
Enter BIOS
for most machines
Ctrl + Alt + Del
Hot start
Arrow keys
move cursor
Enter
enter the next level of settings
or open settings details
Esc
return to the previous level of settings
or close settings details
F10
Exit and save settings
(requires Enter key confirmation)
Ctrl + F3
One-click backup function for some OPS
Ctrl + F4
One-click restore function for some OPS For
software instructions and firmware burning methods,
please refer to the documentation in the project "OPS Dedicated Numeric Keypad".
The numeric keypad has a reserved programming interface, which can be used with the Air001 auto-programmer to automatically download firmware,
or other serial port programming tools can be used for firmware download.
The physical demonstration shows









the component assembly. The
assembly order and materials are as follows:
Positioning plate * 1:
4 M2*3 injection molded copper double-ended nuts welded to the reverse side (knurled double-ended nuts are not used to increase the welding area);
Main control board * 1
; Bottom shell * 1
(requires 4 M2*8 hex socket screws).
Reference project:
[Hanwen] HelloWord-Keyboard