Skip to the content
PCBKitNew board
2 layers390 × 150 mmKeyboard - Ayaan, the printed circuit board in 3D

Keyboard - Ayaan

AAPythonCode/AI-Keys

A custom mechanical keyboard designed in KiCad, with a built-in AI function to ask AI a question.

Size
390 × 150 mm
Copper layers
2
Thickness
1.6 mm
Parts
203
Nets
146
Pads
763
Tracks, vias
872, 86
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Jun 2026
Updated
19 Jun 2026

Overview

Keyboard - Ayaan is an open-source printed circuit board by AAPythonCode, from the AAPythonCode/AI-Keys repository on GitHub, published under the MIT licence. It is a 2-layer board of 390 × 150 mm with 203 parts on 146 nets, routed with 872 tracks and 86 vias.

It is built around the ESP32-S3-DEVKITC-1-N8R2, TPS63001DRC and TYPE-C-31-M-12, with the XFL4020-222MEC among its other parts. Its parts include 83 diodes, 83 switches, 10 ICs, 7 resistors and 6 capacitors. It belongs with the keyboards and input boards and the ESP32 boards of this library.

Main components

4

README

README.md

AI-Keys

A custom mechanical keyboard designed in KiCad, with a built-in AI function to ask AI a question. To make this yourself, check the information down below! ↓

Special Thanks

This project was a ride of twists and turns, and I have to firstly credit AIVON for their support on this entire project! They willingly lowered the PCB cost to 100 dollars, just so this project would be able to continue! If you liked this project, please do check out their company at aivon.com! When I was first sifting through each of the possible PCB manufacturers, both JLCPCB and PCBWay gave me extremely expensive prices without even taking in the cost of the parts for the PCBA order! AIVON, however, supported me fully, and gave me a cost that fit right within my budget! Thank you so much AIVON, and thank YOU for taking the time to check out their exquisite company!

Moreover, I'd like to express my gratitude to the Hack Club community and organization! They are the reason why I started this perilous project in the first place, as they provided coverage on all of the parts, whilist their community provided all of their knowledge! Thank you, Hack Club! Please check them out at hackclub.com!

Why I Made This Project

Honestly, after seeing macropads being made on Hack Club's Blueprint program, I realized that I wanted to create something bigger. Someting unique, that at the same time feels useful. So, I realized I wanted to create a big macropad: a keyboard. But, I didn't want to make any generic keyboard. After all, keyboard are nothing special. So, I added my own twist to it: AI! And the rest

is

history.

How it works

  • The firmware runs on a ESP32-S3 DEVKIT C1, handing all of the logic to make the keyboard run.
  • It can work with any Cherry-branded switch, but in particular it uses the Cherry MX Brown model.
  • The LED strip embedded in the case utilizes a ws2812b strip. There is no particular model; however, the one I used had a red, black, and green wire for power and data.
  • There is a decently sized battery to run the keyboard.
  • To charge the battery, I created a charging circuit, which utilizes the MCP73831-2-MC and USB Type C VBUS input modules to charge the battery correctly.
  • To stabilize power flow to the ESP32, the keyboard uses a TPS63001 (buck convertor).
  • The speaker runs on a MAX98357A, which is a module that controls the speaker to output the message the AI wants to speak out loud.

[!TIP] Though a 3.7V battery is used for this project, you may use higher/lower voltages, in accordance to the TPS63001's datasheet.

BOM (Bill Of Materials)

Here's a dedicated BOM for creating this keyboard yourself:

PartCostLink/DownloadManufacturer/Retailer
Cherry MX Brown Switches$8.00 (with new user discount)Click HereAliExpress
Keycaps$4.06 (with new user discount)Click HereAliExpress
Screws$1.07 (with new user discount)Click HereAliExpress
Speaker$1.79Click HereAliExpress
Stabilizers$3.90 (with new user discount)Click HereAliExpress
Battery$6.99Click HereAmazon
XFL4020-222MEC (inductor for TPS63001)$2.47Click HereCoilcraft
MCP73831-2-MC$0.79Click HereDigiKey
MAX98357A$4.75Click HereLCSC
USB VBUS TYPE-C$0.94Click HereLCSC
Resistors and Caps$5.66Click HereLCSC
TPS63001$2.27Click HereTexas Instruments
PCBDepends On ManufacturerClick Here Or Check Repo FilesAny PCB Manufacturer
CaseDepends On Manufacturer/Manufacturing DeviceClick Here Or Check Repo FilesAny Fabrication Device/Company

[!IMPORTANT] The PCB doesn't have a link to a product page; instead, it downloads gerbers.zip. Don't unzip it; instead, go to a PCB manufacturer's page (such as aivon.com) and drop the zip into its "gerber file uploader." The "gerber file uploader" should look like something similar or exactly like this:

Screenshot 2026-06-09 at 10 54 21 AM

The case's zip file, however, contains an STL and a STEP file, so please unzip it.

And finally, the best part... ↓

Assembly!

  1. Install KiCad and Arduino IDE. (they'll be important!)
  2. Solder on all parts to their respective locations, as noted in the schematic file.
  3. Install the stabilizers into each of their respective holes.
  4. Install the keycaps onto each of the switches.
  5. Upload the firmware onto the ESP32-S3 using Arduino IDE.
  6. Happy typing/asking!

Images (for your convenience :)

The full schematic: Screenshot 2026-06-09 at 11 51 33 AM

The charging portion of the schematic: Screenshot 2026-06-09 at 11 55 13 AM

The keyboard portion of the schematic: Screenshot 2026-06-09 at 11 55 46 AM

The ESP32-S3 portion of the schematic: Screenshot 2026-06-09 at 11 56 19 AM

The full routed PCB: Screenshot 2026-06-09 at 11 56 41 AM

The Case:

Screenshot 2026-06-19 at 1 32 56 PM

The Case+PCB:

image

Assembled Build:

Coming soon! I have yet to finish building the keyboard itself 😅, so I'll post the image after it's complete!

Parts

203
QtyValueFootprintReferences
83DDiode_SMD:D_SOD-123FD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +67
68SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +52
7RCustom_Libraries:Custom_ResistorR1, R2, R3, R4, R5, R7, R8
7SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.25uSW73, SW74, SW75, SW77, SW78, SW79, SW80
6C_SmallCustom_Libraries:Custom_CapacitorC1, C2, C3, C4, C5, C6
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
3Custom Led 5.0mmLED_THT:LED_D5.0mmU2, U7, U11
2LOGOLOGOG***, G***
2STAB_MX_2.25uPCM_marbastlib-mx:STAB_MX_2.25u2.25u_REF, 2.25u_REF_2
2SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.50uSW32, SW45
2SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.25uSW59, SW60
2Two Pin ConnectorCustom_Libraries:Two Pin ConnectorU4, U10
1TurboCase:Cutout_TypeC
1ESP32-S3-DEVKITC-1-N8R2ESP32-S3-DEVKITC-1-N8R2:XCVR_ESP32-S3-DEVKITC-1-N8R2U1
1MAX98357APackage_DFN_QFN:TQFN-16-1EP_3x3mm_P0.5mm_EP1.23x1.23mmU9
1MCP73831-2-MCPackage_DFN_QFN:DFN-8-1EP_3x2mm_P0.5mm_EP1.7x1.4mmU8
1STAB_MX_2.75uPCM_marbastlib-mx:STAB_MX_2.75u2.75u_REF
1STAB_MX_2uPCM_marbastlib-mx:STAB_MX_2u2u_REF_2
1STAB_MX_6.25uPCM_marbastlib-mx:STAB_MX_6.25u6.25u_REF
1SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_6.25uSW76
1SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.00uSW28
1SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.75uSW47
1SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_2.75uSW71
1TPS63001Package_SON:Texas_DRC0010J_ThermalViasU5
1TYPE-C-31-M-12TYPE-C-31-M-12:HRO_TYPE-C-31-M-12J1
1Three Pin ConnectorCustom_Libraries:Three Pin ConnectorU6
1XFL4020-222MECXFL4020-222MEC:IND_XFL4020-222MECL2

Questions

How big is the Keyboard - Ayaan PCB?

It measures 390 × 150 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Keyboard - Ayaan use?

203 parts, built around the ESP32-S3-DEVKITC-1-N8R2, TPS63001DRC, TYPE-C-31-M-12 and XFL4020-222MEC. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Keyboard - Ayaan KiCad files?

From the AAPythonCode/AI-Keys repository on GitHub, at the commit this page was made from: the board is Schematic + PCB Files/Keyboard - Ayaan.kicad_pcb and its schematic Schematic + PCB Files/Keyboard - Ayaan.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Keyboard - Ayaan design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 6 layers76 × 56 mmCM4 MANET, the printed circuit board in 3D

    CM4 MANET

    ties1887/Mesh-radio-Halow-LoRa

    Modular mesh radio system using Raspberry Pi + HaLow (802.11ah) + LoRa.

    122 parts40
  • 11 layers44.6 × 31.6 mmNotecarrier Micro, the printed circuit board in 3D

    Notecarrier Micro

    Safecast/bGeigieZen

    bGiegieZen an Open Source Geiger Counter.

    33 parts24
  • 8 layers78 × 55 mmJetson AI Cam CopperPilot, the printed circuit board in 3D

    Jetson AI Cam CopperPilot

    CopperPilot/Jetson-AI-Cam-CopperPilot

    A carrier for Jetson Nano, Xavier NX and TX2 NX with two IMX219 cameras on a 39 mm stereo baseline, dual 4K outputs and CAN.

    305 parts15
  • 4 layers44 × 44 mmBoot console, the printed circuit board in 3D

    Boot console

    clarkmcc/my-first-linux-board

    my-first-linux-board is a small F1C200S Linux board built around removable microSD storage, USB-C power and USB device data, a 3.3 V UART console, and power/status LEDs.

    93 parts1
  • 2 layers100 × 25 mmCereyanV1, the printed circuit board in 3D

    CereyanV1

    fahreddinaykut/Cereyan

    Battery-powered ESP32-C3 smart ventilation fan with magnetic mounting, ESP-NOW synchronization, USB-C charging and programmable mobile control.

    67 parts
  • 2 layers180 × 80 mmProyecto0.1V, the printed circuit board in 3D

    Proyecto0.1V

    UTN-FRBA-2026-PF-EE-GP10/mpp_sdk

    ☀️ MPP simulation and validation framework

    168 partsMIT
  • 4 layers63.1 × 36.2 mmL0destar, the printed circuit board in 3D

    L0destar

    m4rkw/l0destar

    l0destar open-source tracker project

    60 parts43
  • 4 layers15 × 80 mmWand, the printed circuit board in 3D

    Wand

    JMET04/aicad-agent

    Deterministic CAD/EDA agent plugin for 2D drawings, AutoCAD, SolidWorks, KiCad, review gates and auditable delivery.

    46 parts1MIT