# Pico Macro Keyboard AI Placement [Example] ## Description The Pico Macro Keyboard is a compact and powerful macro pad built using the latest Raspberry Pi Pico 2. Inspired by the Figma Creator Micro, this keyboard is designed for customizable control and enhanced productivity. It features mechanical switches with per-key RGB lighting, along with two rotary encoders for added functionality. With a modular 4-layer PCB and fully customizable keymaps, it seamlessly integrates with any software, making it perfect for designers, gamers, and power users alike. ## Project Details - **Owner:** example-user - **Created:** 4/30/2026 - **Last Updated:** 4/30/2026 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ ## Key Components ### D1 — [PMEG6010ELR](https://www.flux.ai/vasy_skral/pmeg6010elr~pyx.md) - Role Details: Series/protection diode from USB-C VBUS to VSYS; place between J1 VBUS pins and the VSYS input bulk network. Keep the VBUS path wide and short, put C18/R8/U2 VIN/VINA on the protected VSYS side, and maintain connector-side clearance for USB mechanical stress. - Part Type: Diode - Datasheet URL: https://eu.mouser.com/datasheet/2/916/PMEG6010ELR_Q-2498669.pdf - Manufacturer Part Number: PMEG6010ELR - License: https://creativecommons.org/licenses/by/4.0/ - Role: USB VBUS Protection Diode - Manufacturer Name: Nexperia USA Inc. **Pins:** - A [pin 2] - K [pin 1] ### D10 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Part Type: Diode - Role: Keyboard Matrix Diode - Manufacturer Part Number: 1N4007W - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics - Role Details: Isolation diode for SW10, anode at SW10 pin 2 and cathode on U1 GPIO10 matrix net; place next to SW10, routing the row bus past the cathode side. **Pins:** - A [pin 2] - K [pin 1] ### D11 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - Part Type: Diode - Role Details: Isolation diode for SW11, anode at SW11 pin 2 and cathode on U1 GPIO10 matrix net; place beside SW11 with orientation matching D8-D10 for easy visual inspection. - Role: Keyboard Matrix Diode **Pins:** - A [pin 2] - K [pin 1] ### D12 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Role Details: Isolation diode for SW12, anode at SW12 pin 2 and cathode on U1 GPIO11 matrix net; place close to SW12 and keep routing clear of encoder/LED mechanical areas. - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics - Role: Keyboard Matrix Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D13 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Manufacturer Part Number: 1N4007W - Part Type: Diode - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics - Role: Keyboard Matrix Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Role Details: Isolation diode for SW13, anode at SW13 pin 2 and cathode on U1 GPIO11 matrix net; place adjacent to SW13 with cathode on the shared row/column bus. **Pins:** - A [pin 2] - K [pin 1] ### D2 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Role: Keyboard Matrix Diode - Role Details: Isolation diode for SW2, anode at SW2 pin 2 and cathode on U1 GPIO8 row/column net; place immediately next to SW2 with cathode orientation matching the matrix row bus. - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D3 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Part Type: Diode - Role Details: Isolation diode for SW3, anode at SW3 pin 2 and cathode on U1 GPIO8 matrix net; place beside SW3 and align with other key diodes for consistent routing and assembly inspection. - Manufacturer Part Number: 1N4007W - Role: Keyboard Matrix Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D4 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Part Type: Diode - Role: Keyboard Matrix Diode - Manufacturer Part Number: 1N4007W - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics - Role Details: Isolation diode for SW4, anode at SW4 pin 2 and cathode on U1 GPIO9 matrix net; place close to SW4 with short switch-to-diode trace and clear LED light path. - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D5 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Role: Keyboard Matrix Diode - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Name: Shandong Jingdao Microelectronics - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Isolation diode for SW5, anode at SW5 pin 2 and cathode on U1 GPIO9 matrix net; place adjacent to SW5, matching orientation with neighboring matrix diodes. - Part Type: Diode - Manufacturer Part Number: 1N4007W **Pins:** - A [pin 2] - K [pin 1] ### D6 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Part Type: Diode - Role: Keyboard Matrix Diode - Manufacturer Part Number: 1N4007W - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Role Details: Isolation diode for SW6, anode at SW6 pin 2 and cathode on U1 GPIO9 matrix net; place beside SW6 and keep row/column traces compact around the key footprint. - Manufacturer Name: Shandong Jingdao Microelectronics - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### D7 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Manufacturer Name: Shandong Jingdao Microelectronics - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - Manufacturer Part Number: 1N4007W - Role: Keyboard Matrix Diode - Role Details: Isolation diode for SW7, anode at SW7 pin 2 and cathode on U1 GPIO9 matrix net; place immediately adjacent to SW7 and keep diode body outside keycap/plate interference zones. - Part Type: Diode **Pins:** - A [pin 2] - K [pin 1] ### D8 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Role Details: Isolation diode for SW8, anode at SW8 pin 2 and cathode on U1 GPIO10 matrix net; place close to SW8 with consistent cathode marking orientation. - Part Type: Diode - Role: Keyboard Matrix Diode - Manufacturer Part Number: 1N4007W - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics **Pins:** - A [pin 2] - K [pin 1] ### D9 — [1N4007W](https://www.flux.ai/vasy_skral/1n4007w~xpy.md) - Role: Keyboard Matrix Diode - Part Type: Diode - Manufacturer Part Number: 1N4007W - Role Details: Isolation diode for SW9, anode at SW9 pin 2 and cathode on U1 GPIO10 matrix net; place adjacent to SW9 and maintain clearance for the per-key LED/diffuser. - Datasheet URL: https://datasheet.lcsc.com/lcsc/1811031612_Shandong-Jingdao-Microelectronics-1N4007W_C108803.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Shandong Jingdao Microelectronics **Pins:** - A [pin 2] - K [pin 1] ### H1 — [M2106-2545-AL](https://www.flux.ai/vasy_skral/m2106-2545-al~69r.md) - Role: Mounting Standoff - Exclude from BOM: false - Part Type: Standoff - Manufacturer Part Number: M2106-2545-AL - Manufacturer Name: RAF Electronic Hardware - Role Details: Mechanical board standoff; place at a structural corner or enclosure support point with keepout around screw/standoff hardware. Keep copper, traces, LEDs, and switch bodies clear of the mechanical footprint and align with the remaining H2-H4 mounting pattern. - Datasheet URL: http://dpk3n3gg92jwt.cloudfront.net/domains/raf/pdf/RAF%20Catalog.pdf **Pins:** - P1 [pin 1] ### H2 — [M2106-2545-AL](https://www.flux.ai/vasy_skral/m2106-2545-al~69r.md) - Datasheet URL: http://dpk3n3gg92jwt.cloudfront.net/domains/raf/pdf/RAF%20Catalog.pdf - Role: Mounting Standoff - Manufacturer Name: RAF Electronic Hardware - Manufacturer Part Number: M2106-2545-AL - Exclude from BOM: false - Part Type: Standoff - Role Details: Mechanical board standoff; place at a structural corner or enclosure support point with keepout around screw/standoff hardware. Keep copper, traces, LEDs, and switch bodies clear of the mechanical footprint and align with the remaining H1/H3/H4 mounting pattern. **Pins:** - P1 [pin 1] ### H3 — [M2106-2545-AL](https://www.flux.ai/vasy_skral/m2106-2545-al~69r.md) - Datasheet URL: http://dpk3n3gg92jwt.cloudfront.net/domains/raf/pdf/RAF%20Catalog.pdf - Manufacturer Part Number: M2106-2545-AL - Manufacturer Name: RAF Electronic Hardware - Role Details: Mechanical board standoff; place at a structural corner or enclosure support point with keepout around screw/standoff hardware. Keep copper, traces, LEDs, and switch bodies clear of the mechanical footprint and align with the remaining H1/H2/H4 mounting pattern. - Role: Mounting Standoff - Exclude from BOM: false - Part Type: Standoff **Pins:** - P1 [pin 1] ### H4 — [M2106-2545-AL](https://www.flux.ai/vasy_skral/m2106-2545-al~69r.md) - Role: Mounting Standoff - Manufacturer Part Number: M2106-2545-AL - Manufacturer Name: RAF Electronic Hardware - Datasheet URL: http://dpk3n3gg92jwt.cloudfront.net/domains/raf/pdf/RAF%20Catalog.pdf - Exclude from BOM: false - Part Type: Standoff - Role Details: Mechanical board standoff; place at a structural corner or enclosure support point with keepout around screw/standoff hardware. Keep copper, traces, LEDs, and switch bodies clear of the mechanical footprint and align with the remaining H1-H3 mounting pattern. **Pins:** - P1 [pin 1] ### J1 — [TYPE-C-31-M-12](https://www.flux.ai/vasy_skral/type-c-31-m-12~75f.md) - Datasheet URL: https://datasheet.lcsc.com/lcsc/2205251630_Korean-Hroparts-Elec-TYPE-C-31-M-12_C165948.pdf - Role: USB-C Power/Data Connector - Symbol Style: Parametric - Role Details: Board-edge USB-C connector; align shell flush to the enclosure/PCB edge with keepout for cable insertion. Route VBUS pins to D1/R11/C18 power entry, GND/shield directly to chassis/ground copper, and DP/DN as a short 90 ohm differential pair through R3/R10 to U1 USB_DP/USB_DM. - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: TYPE-C-31-M-12 - Manufacturer Name: Korean Hroparts Elec **Pins:** - CC1 [pin A5] - CC2 [pin B5] - DN1 [pin A7] - DN2 [pin B7] - DP1 [pin A6] - DP2 [pin B6] - GND [pin B1A12] - GND [pin A1B12] - SBU1 [pin A8] - SBU2 [pin B8] - SHIELD [pin S3] - SHIELD [pin S1] - SHIELD [pin S4] - SHIELD [pin S2] - VBUS [pin B4A9] - VBUS [pin A4B9] ### LED1 — [LED-0603-Template](https://www.flux.ai/vasy_skral/led-0603-template~ye5.md) - Role: Status LED - Part Type: LED - Role Details: Status indicator driven from U1 GPIO19 through R18; place where visible through the case or top plate, with consistent polarity marking. Keep R18 adjacent to LED1 or U1 GPIO19, route LED1 cathode directly to GND, and avoid conflict with key switch and encoder mechanical keepouts. - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - A [pin 2] - K [pin 1] ### PROG — [Pin Socket 01x03 2.54mm Horizontal](https://www.flux.ai/adrian95/pin-socket-01x03-254mm-horizontal~ik.md) - Role: SWD Programming Header - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector - Role Details: 3-pin debug/programming header for SWDIO, GND, and SWCLK through R4/R6; place on an accessible board edge or underside test area with enough clearance for a cable or pogo fixture. Keep traces short to U1 SWDIO/SWCLK pins and keep ground pin adjacent to programmer cable return. **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### Q1 — [DMG1012T](https://www.flux.ai/vasy_skral/dmg1012t~cm4.md) - Role: ADC/Power Control MOSFET - Datasheet URL: https://www.diodes.com/assets/Datasheets/DMG1012UW.pdf - Manufacturer Name: Diodes Incorporated - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: DMG1012T - Part Type: Transistor - Role Details: MOSFET tied to GPIO29_ADC3 and the filtered sense/control node; place near R15/R16/R17/C21 and U1 GPIO29_ADC3 so the high-impedance ADC/control trace is short. Keep C21 close to Q1/R16/R17 for local noise filtering and route the VSYS-related node away from USB and crystal traces. **Pins:** - D [pin 3] - G [pin 1] - S [pin 2] ### RV1 — [PTA2043-2010CIB103](https://www.flux.ai/jecstronic/pta2043-2010cib103~5ro.md) - Datasheet URL: https://www.bourns.com/docs/Product-Datasheets/pta.pdf - Resistance: 10kΩ - Manufacturer Name: Bourns Inc. - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: 10k potentiometer between +3V3 and GND with wiper to U1 GPIO26_ADC0 through R19; place where the slider is accessible and mechanically supported. Keep the wiper trace short and away from WS2812/switching nodes, and place R19 near the U1 ADC entry or wiper route as the ADC series element. - Manufacturer Part Number: PTA2043-2010CIB103 - Part Type: Potentiometer - Role: Linear Potentiometer Input **Pins:** - CCW [pin 1] - CW [pin 3] - WIPER [pin 2] ### SW1 — [PTS815](https://www.flux.ai/vasy_skral/pts815~6b.md) - Manufacturer Name: C&K - Manufacturer Part Number: PTS815 SJM 250 SMTR LFS - Part Type: Switch - Datasheet URL: https://www.ckswitches.com/media/2728/pts815.pdf - Role: User Pushbutton - Role Details: Momentary switch to GND with pull network via R13; place for user access while avoiding encoder/keycap travel. Keep its signal route to U1/QSPI_SS area short, provide ground copper near the switch pins, and leave mechanical clearance around the actuator. **Pins:** - ~1 [pin 1] - ~2 [pin 2] - ~3 [pin 3] - ~4 [pin 4] ### SW10 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Part Number: Choc Red - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Role: Keyboard Matrix Switch - Manufacturer Name: Kailh - Part Type: Switch - Role Details: Kailh Choc key switch in matrix row/column network with D10; place on the key grid with enough clearance for keycap travel. Keep D10 close and leave an unobstructed LED light path. **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW11 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Manufacturer Name: Kailh - Part Type: Switch - Role Details: Kailh Choc key switch in matrix row/column network with D11; place with matching grid spacing and rotation. Keep D11 near the switch and route row/column traces compactly. - Role: Keyboard Matrix Switch - Manufacturer Part Number: Choc Red - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW12 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Part Number: Choc Red - Role Details: Kailh Choc key switch in matrix row/column network with D12; place on the key grid and coordinate with the corresponding WS2812 light position. Keep diode D12 close to reduce matrix loop area. - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Switch - Manufacturer Name: Kailh - Role: Keyboard Matrix Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW13 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Role Details: Kailh Choc key switch in matrix row/column network with D13; place at the assigned key location with mechanical clearance. Keep D13 adjacent and preserve nearby lighting symmetry. - Role: Keyboard Matrix Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Part Type: Switch - Manufacturer Name: Kailh - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: Choc Red **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW14 — [PEC12R-2220F-S0024](https://www.flux.ai/vasy_skral/pec12r-2220f-s0024~tky.md) - Part Type: Rotary encoder - Manufacturer Name: Bourns Inc. - Role: Rotary Encoder - Manufacturer Part Number: PEC12R-2220F-S0024 - Datasheet URL: https://www.bourns.com/docs/Product-Datasheets/PEC12R.pdf - Role Details: Encoder connected to U1 GPIO14/GPIO15/GPIO13 with R20-R22 and C22-C24; place at the intended knob edge with shaft/knob keepout and hand clearance. Keep R20-R22/C22-C24 close to the encoder pins and route A/B/S lines away from WS2812 data and USB. **Pins:** - A [pin A] - B [pin B] - C [pin C] - S1 [pin S1] - S2 [pin S2] ### SW15 — [EC12D1564402](https://www.flux.ai/vasy_skral/ec12d1564402~1ol.md) - Manufacturer Part Number: EC12D1564402 - Role Details: Encoder connected to U1 GPIO3/GPIO1/GPIO2 with R23-R25 and C25-C27; place at the intended knob edge with mechanical clearance for shaft, knob, and mounting tabs. Keep its debounce RC parts adjacent and route signals compactly back to U1. - Datasheet URL: https://datasheet.lcsc.com/lcsc/2011041404_ALPSALPINE-EC12D1564402_C444933.pdf - Role: Rotary Encoder - Part Type: Rotary encoder - Manufacturer Name: ALPSALPINE **Pins:** - A [pin A] - B [pin B] - C [pin C] - S1 [pin S1] - S2 [pin S2] ### SW2 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Part Number: Choc Red - Role Details: Kailh Choc key switch in matrix row/column network with D2; place on the key grid with correct key spacing and cap clearance. Put D2 close to the switch pin 2 side and route row/column traces along the switch matrix channels. - Role: Keyboard Matrix Switch - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Kailh - Part Type: Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW3 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Name: Kailh - Part Type: Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - License: https://creativecommons.org/licenses/by/4.0/ - Role: Keyboard Matrix Switch - Manufacturer Part Number: Choc Red - Role Details: Kailh Choc key switch in matrix row/column network with D3; place on the key grid with consistent orientation. Keep D3 adjacent to the switch, and leave room for U4-U15 LED light placement under/near the key. **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW4 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Role: Keyboard Matrix Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Part Type: Switch - Manufacturer Name: Kailh - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Kailh Choc key switch in matrix row/column network with D4; place aligned to the keyboard switch grid. Keep D4 close to pin 2 and route matrix rows/columns without blocking nearby LED light path. - Manufacturer Part Number: Choc Red **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW5 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Role Details: Kailh Choc key switch in matrix row/column network with D5; place with matching orientation and mechanical clearance. Put D5 adjacent to the switch and keep LED position centered for even illumination. - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Manufacturer Name: Kailh - Part Type: Switch - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: Choc Red - Role: Keyboard Matrix Switch **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW6 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Name: Kailh - Part Type: Switch - Role: Keyboard Matrix Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Role Details: Kailh Choc key switch in matrix row/column network with D6; align to the key grid. Keep diode D6 near the switch pin it protects and route matrix traces around LED/light placement. - Manufacturer Part Number: Choc Red - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW7 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Manufacturer Name: Kailh - Part Type: Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Role: Keyboard Matrix Switch - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Kailh Choc key switch in matrix row/column network with D7; place on the grid with cap and plate clearance. Keep D7 close and preserve space for the assigned WS2812 light/diffuser. - Manufacturer Part Number: Choc Red **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW8 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Role: Keyboard Matrix Switch - Part Type: Switch - Manufacturer Name: Kailh - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Manufacturer Part Number: Choc Red - Role Details: Kailh Choc key switch in matrix row/column network with D8; place on the grid, maintaining consistent switch rotation. Keep D8 adjacent and avoid running matrix traces through LED optical keepout. - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - 1 [pin 1] - 2 [pin 2] ### SW9 — [Kailh Choc V1](https://www.flux.ai/vasy_skral/kailh-choc-v1~ew9.md) - Role: Keyboard Matrix Switch - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: Choc Red - Manufacturer Name: Kailh - Part Type: Switch - Datasheet URL: https://cdn.shopify.com/s/files/1/0657/6075/5954/files/SPEC-CPG135301D01_Kailh_Choc_V2_Low_Profile_Red_Switch.pdf?v=1666690444 - Role Details: Kailh Choc key switch in matrix row/column network with D9; place aligned to surrounding keys. Keep D9 close to the switch and coordinate LED position for even backlighting. **Pins:** - 1 [pin 1] - 2 [pin 2] ### U1 — [RP2350A](https://www.flux.ai/vasy_skral/rp2350a~yf9.md) - Role: Main Microcontroller - Role Details: RP2350A controller; place centrally to minimize matrix, QSPI flash, USB, debug, encoder, ADC, and WS2812 routes. Keep C1-C6/C10 on +3V3/IOVDD/QSPI_IOVDD/USB_OTP_VDD and C7-C9/C13 on +1V1/DVDD immediately around the matching U1 power pins with short via-to-GND returns; keep C11 at ADC_AVDD, C14 at VREG_AVDD, L1 at VREG_LX/VREG_FB, Y1/C15/C16 at XIN/XOUT, and USB resistors R3/R10 close to USB_DP/USB_DM pins. - Compliance: RoHS,REACH,Conflict Minerals - Datasheet URL: https://cdn2.flux.ai/copilot-datasheets/pdf-upload-42b1ac17fa99447872bb75334a75d2fe3396182f51790cdbf9b88e022ed43904/e095863baea4b32fe411f947dac8ff446ed7060b942529871db787c2bbf56cd5.pdf?GoogleAccessId=graviton-mvp%40appspot.gserviceaccount.com&Expires=4876807598&Signature=N6C%2B7Ij%2Bsb7nb%2B%2BnSnRmIw2ZOtlHL2eSZA2EHgRDt4qhFGvMGzMuS%2F7On6FEvLOjojVr58pykv3TnGNPoM5%2F6NNKbCE1bUk6bTdx3MQPrcyzBRNhaA3eTRGtRO%2B7jf3HCeY5%2F31EPjYorHW%2FqfJ4rgwk8bHFyi%2B28GzFryKagSlDWnmxDwS9oLRqGmlbiTv1it2zpFZbaRnKEgGNgzMK45JjkKBOGRE6v2ZKBieaz9XRB2XFFkx7tSp%2B7%2B0tlpzpadDKXcpxgzpr3vyxwCRc%2FK2PACmlUiKL6jhyR9tLyy7CsUPe9cB8946GLCpQyA8Z7y52blkbps%2FnseMpsq1UPQ%3D%3D - Package or Case Code: QFN40P700X700X90-61N - Symbol Style: Parametric - Manufacturer Part Number: RP2350A - Part Type: Microcontroller - Manufacturer Name: Raspberry Pi Ltd - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - ADC_AVDD [pin 44] - DVDD [pin 39] - DVDD [pin 6] - DVDD [pin 23] - GND [pin 61] - GPIO0 [pin 2] - GPIO1 [pin 3] - GPIO10 [pin 14] - GPIO11 [pin 15] - GPIO12 [pin 16] - GPIO13 [pin 17] - GPIO14 [pin 18] - GPIO15 [pin 19] - GPIO16 [pin 27] - GPIO17 [pin 28] - GPIO18 [pin 29] - GPIO19 [pin 31] - GPIO2 [pin 4] - GPIO20 [pin 32] - GPIO21 [pin 33] - GPIO22 [pin 34] - GPIO23 [pin 35] - GPIO24 [pin 36] - GPIO25 [pin 37] - GPIO26_ADC0 [pin 40] - GPIO27_ADC1 [pin 41] - GPIO28_ADC2 [pin 42] - GPIO29_ADC3 [pin 43] - GPIO3 [pin 5] - GPIO4 [pin 7] - GPIO5 [pin 8] - GPIO6 [pin 9] - GPIO7 [pin 10] - GPIO8 [pin 12] - GPIO9 [pin 13] - IOVDD [pin 1] - IOVDD [pin 38] - IOVDD [pin 30] - IOVDD [pin 11] - IOVDD [pin 45] - IOVDD [pin 20] - QSPI_IOVDD [pin 54] - QSPI_SCLK [pin 56] - QSPI_SD0 [pin 57] - QSPI_SD1 [pin 59] - QSPI_SD2 [pin 58] - QSPI_SD3 [pin 55] - QSPI_SS [pin 60] - RUN [pin 26] - SWCLK [pin 24] - SWDIO [pin 25] - USB_DM [pin 51] - USB_DP [pin 52] - USB_OTP_VDD [pin 53] - VREG_AVDD [pin 46] - VREG_FB [pin 50] - VREG_LX [pin 48] - VREG_PGND [pin 47] - VREG_VIN [pin 49] - XIN [pin 21] - XOUT [pin 22] ### U10 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Role Details: WS2812 per-key light in chain between U9 and U11; place on the key-light grid with consistent spacing from the switch center. Keep local VDD/GND rails close and route DO directly to U11 DI. - Part Type: Integrated Circuit - Manufacturer Part Number: WS2812-2020 - License: https://creativecommons.org/licenses/by/4.0/ - Role: Per-Key RGB LED **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U11 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Manufacturer Part Number: WS2812-2020 - Role Details: WS2812 per-key light in chain between U10 and U12; place for even lighting at its assigned key, matching orientation and optical offset of neighboring LEDs. Keep data and power routing clear of switch stabilizer/mechanical cutouts. - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Integrated Circuit - Role: Per-Key RGB LED **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U12 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Manufacturer Part Number: WS2812-2020 - Role Details: WS2812 per-key light in chain between U11 and U13; place centered to the keycap/legend or diffuser region. Maintain short DI/DO daisy-chain routing and provide nearby GND return for LED switching current. - License: https://creativecommons.org/licenses/by/4.0/ - Role: Per-Key RGB LED - Part Type: Integrated Circuit **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U13 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: WS2812-2020 - Role: Per-Key RGB LED - Role Details: WS2812 per-key light in chain between U12 and U14; align with the physical switch grid for consistent light placement. Keep data route short and avoid routing the LED data line parallel to sensitive ADC/USB traces. - Part Type: Integrated Circuit **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U14 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Part Type: Integrated Circuit - Role Details: WS2812 per-key light in chain between U13 and U15; place under/near the assigned key switch with the same orientation as the array. Keep VDD/GND low impedance and leave optical/mechanical clearance for the switch and plate. - Role: Per-Key RGB LED - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: WS2812-2020 **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U15 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Manufacturer Part Number: WS2812-2020 - Role: Per-Key RGB LED - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Final WS2812 per-key light in the daisy chain from U14 DO; place at its assigned key position with consistent optical alignment. Terminate the chain cleanly, keep VDD/GND robust, and avoid unnecessary DO stub length. - Part Type: Integrated Circuit **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U2 — [RT6150B-33GQW](https://www.flux.ai/vasy_skral/rt6150b-33gqw~ng1.md) - Manufacturer Part Number: RT6150B-33GQW - Role: 3.3 V Buck-Boost Regulator - Manufacturer Name: Richtek USA Inc. - Part Type: Integrated Circuit - Role Details: RT6150B 3.3 V regulator; place near VSYS entry from D1/C18 and the +3V3 distribution point. Keep L2 tight between LX1/LX2, C17 at VOUT/FB return, VIN/VINA input path short from VSYS, and all GND pins tied to a compact ground copper area away from keyboard switch openings. - Datasheet URL: https://www.richtek.com/assets/product_file/RT6150A=RT6150B/DS6150AB-05.pdf **Pins:** - EN [pin 6] - FB [pin 10] - GND [pin 3] - GND [pin 9] - GND [pin 11] - LX1 [pin 4] - LX2 [pin 2] - PS [pin 7] - VIN [pin 5] - VINA [pin 8] - VOUT [pin 1] ### U3 — [W25Q32RVXHJQ](https://www.flux.ai/vasy_skral/w25q32rvxhjq~eh5.md) - Part Type: Integrated Circuit - Role: QSPI Flash Memory - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: Winbond Electronics - Datasheet URL: https://www.winbond.com/hq/support/documentation/downloadV2022.jsp?__locale=en&xmlPath=/support/resources/.content/item/DA00-W25Q32RV_1.html&level=1 - Manufacturer Part Number: W25Q32RVXHJQ - Role Details: External flash on U1 QSPI bus; place close to U1 QSPI pins 54-60 with short, length-conscious QSPI_SD0-SD3, QSPI_SCLK, and QSPI_SS routes. Place C19 0.1uF and C20 4.7uF directly between U3 VCC and VSS/EP, on the same side if possible, before routing QSPI traces. **Pins:** - ~CS [pin 1] - ~HOLD_OR_~/RESET_(IO3) [pin 7] - ~WP_(IO2) [pin 3] - CLK [pin 6] - DI_(IO0) [pin 5] - DO_(IO1) [pin 2] - EP [pin 9] - VCC [pin 8] - VSS [pin 4] ### U4 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Part Type: Integrated Circuit - Role Details: WS2812 per-key light at start of LED chain from U1 GPIO0; place centered under/near its assigned key switch for even diffusion, oriented consistently with the other WS2812s. Keep VDD/GND short to VSYS/GND and route DO to U5 DI cleanly. - Role: Per-Key RGB LED - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: WS2812-2020 **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U5 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: WS2812-2020 - Role Details: WS2812 per-key light in chain between U4 and U6; place centered under its assigned key switch with the same rotation as adjacent LEDs for predictable data flow. Keep DI/DO daisy-chain short and VDD/GND connected with local low-impedance rail stitching. - Part Type: Integrated Circuit - Role: Per-Key RGB LED **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U6 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Role Details: WS2812 per-key light in chain between U5 and U7; place under/near the corresponding key opening for even illumination. Keep DI/DO routing sequential, avoid crossing switch diode routes, and keep VSYS/GND rails close. - Part Type: Integrated Circuit - Role: Per-Key RGB LED - Manufacturer Part Number: WS2812-2020 - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U7 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Role Details: WS2812 per-key light in chain between U6 and U8; align to key center or diffuser window and maintain consistent LED orientation. Route data as a short daisy chain and keep power traces wide enough for cumulative LED current. - Manufacturer Part Number: WS2812-2020 - License: https://creativecommons.org/licenses/by/4.0/ - Role: Per-Key RGB LED - Part Type: Integrated Circuit **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U8 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Part Type: Integrated Circuit - Role: Per-Key RGB LED - Manufacturer Part Number: WS2812-2020 - Role Details: WS2812 per-key light in chain between U7 and U9; place for uniform key legend/backlight illumination. Keep DI/DO away from USB D+/D- and crystal traces, with VDD/GND tied close to the shared VSYS/GND LED rail. - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### U9 — [WS2812-2020](https://www.flux.ai/jecstronic/ws2812-2020~1au.md) - Manufacturer Part Number: WS2812-2020 - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: WS2812 per-key light in chain between U8 and U10; center under the assigned switch footprint or light pipe. Maintain same polarity/orientation as LED array and keep the data path sequential to minimize routing length. - Role: Per-Key RGB LED - Part Type: Integrated Circuit **Pins:** - DI [pin 3] - DO [pin 1] - GND [pin 2] - VDD [pin 4] ### Y1 — [ABM8-272-T3](https://www.flux.ai/vasy_skral/abm8-272-t3~4on.md) - Manufacturer Name: Abracon LLC - Role Details: Clock source for U1 XIN/XOUT; place immediately beside U1 pins XIN and XOUT. Put C15 on XIN-to-GND and C16 on XOUT-to-GND symmetrically with very short traces, local ground return, and keep the clock loop isolated from USB, WS2812, and switching-regulator nodes. - Role: 12 MHz Crystal/Oscillator - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/6128/ABM8-272-T3.pdf - Manufacturer Part Number: ABM8-272-T3 - Part Type: Oscillator - Frequency: 12MHz - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - P1 [pin 1] - P2 [pin 2] - P3 [pin 3] - P4 [pin 4] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/example-user/pico-macro-keyboard-ai-placement-example~aj](https://www.flux.ai/example-user/pico-macro-keyboard-ai-placement-example~aj).* --- *Generated from [https://www.flux.ai/example-user/pico-macro-keyboard-ai-placement-example~aj](https://www.flux.ai/example-user/pico-macro-keyboard-ai-placement-example~aj)*