
Lemon pcb
rianadon/Cosmos-Keyboard-PCBs
Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

Open-Source keyboard PCB designs for the Cosmos Keyboard Generator
Lemon pcb swizzle is an open-source printed circuit board by rianadon, from the rianadon/Cosmos-Keyboard-PCBs repository on GitHub. It is a 2-layer board of 31.9 × 36 mm with 63 parts on 76 nets, routed with 1,699 tracks and 154 vias.
It is built around the RP2040, ZD25WQ80CTIGT and FSUSB42MUX, with the LM66200DRL, XC6206P332MR-G and WS2812B-2020 among its other parts. Its parts include 18 capacitors, 16 resistors, 6 ICs, 4 transistors and 4 connectors. It belongs with the keyboards and input boards and the RP2040 boards of this library.
This is a version of the Lemon Wired that swap the two USB ports depending on which one has power incoming.
The pinout is equivalent to v0.4 of the Lemon Wired. However, while GP16 was previously now unused, it's now the software override for the USB swap.
I use LM6620 to isolate the the VBUS voltages on both USB sockets. This part has an ST pin that indicates which VBUS was powered. This ST pin drives sel, and if sel is not overwrittten by GP16, then the two USB data lines are swapped using FSUSB42MUX.
Shortly after the device is powered on, power is applied to both VBUS using a PMOS with an RC circuit at the gate to ensure there is a delay so that ST can settle before both VBUS are turned on. Because of the hysteresis on LM6620, turning on both VBUS does not change the ST pin.
Cosmos Keyboards invests time and resources providing this open source design, please support Cosmos and open-source hardware by purchasing products from Cosmos!
Designed by Ryan Adolf/rianadon for Cosmos Keyboards.
Creative Commons Attribution/Share-Alike, all text above must be included in any redistribution. See license.txt for additional details.
adapted from Adafruit's Creative Commons Attribution/Share-Alike license.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 100nF | Capacitor_SMD:C_0402_1005Metric | C1, C5, C6, C9, C10, C11, C12, C13, C14, C15 |
| 5 | 5k1 | Resistor_SMD:R_0402_1005Metric | R3, R4, R10, R11, R14 |
| 4 | 1k | Resistor_SMD:R_0402_1005Metric | R1, R2, R7, R16 |
| 4 | 27R | Resistor_SMD:R_0603_1608Metric | R5, R6, R8, R9 |
| 3 | 10k | Resistor_SMD:R_0402_1005Metric | R12, R13, R15 |
| 3 | 1uF | Capacitor_SMD:C_0402_1005Metric | C4, C8, C18 |
| 3 | Q_PMOS_SGD | Package_TO_SOT_SMD:SOT-23 | Q2, Q3, Q4 |
| 2 | 1uF | Capacitor_SMD:C_0603_1608Metric | C16, C17 |
| 2 | 22pF | Capacitor_SMD:C_0402_1005Metric | C2, C3 |
| 2 | FSUSB42MUX | Package_SO:MSOP-10_3x3mm_P0.5mm | U2, U5 |
| 2 | LOGO | LOGO | G***, G*** |
| 2 | SW_Push | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW1, SW2 |
| 2 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1, J2 |
| 1 | 10uF | Capacitor_SMD:C_0402_1005Metric | C7 |
| 1 | 12MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | Conn_01x11 | Connector_PinHeader_2.54mm:PinHeader_1x11_P2.54mm_Vertical | J5 |
| 1 | Conn_01x11 | Connector_PinHeader_2.54mm:PinHeader_1x14_P2.54mm_Vertical | J3 |
| 1 | Fingers | Footprints:FPC-SMD_21P-P0.30_HDGC_0.3K-QX-21PWB | FPC1 |
| 1 | G*** | lemonlib:vik_small | svg2mod |
| 1 | LED_Small | LED_SMD:LED_0603_1608Metric | D2 |
| 1 | LM66200 | Package_TO_SOT_SMD:SOT-583-8 | U6 |
| 1 | Q_NMOS | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | RP2040 | Sleep-Lib:RP2040-QFN-56 | U3 |
| 1 | SolderJumper_2_Bridged | Jumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mm | JP1 |
| 1 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP2 |
| 1 | Thumbs | Footprints:FPC-SMD_10P-P0.50_HC-FPC-05-09-10RLTAG | FPC2 |
| 1 | VIK Conn | Footprints:FPC-SMD_FPC05012-09200 | VIK1 |
| 1 | WS2812B-2020 | LED_SMD:LED_WS2812B-2020_PLCC4_2.0x2.0mm | D1 |
| 1 | XC6206P332MR-G | Package_TO_SOT_SMD:SOT-23 | U4 |
| 1 | ZD25WQ80CTIGT | Package_SO:SOP-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | cosmoslogo | Footprints:cosmoslogo-kicad-small | G*** |
The 62 most common of 63 parts.

rianadon/Cosmos-Keyboard-PCBs
Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

rianadon/Cosmos-Keyboard-PCBs
Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

rianadon/Cosmos-Keyboard-PCBs
Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

rianadon/Cosmos-Keyboard-PCBs
Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

punkfab/pcb-corpus
235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark


Ash1of1/FlightRecorder
FR-1 is a standalone rocket telemetry module. It samples pressure/altitude, temperature, acceleration, and gyro data, and serves a live dashboard over its own WiFi network — no internet, router, or app install required.

gslee-dev/portpulse
USB replug test dongle with KiCad hardware, CH552 firmware, and native C host




It measures 31.9 × 36 mm and has 2 copper layers, 1.6 mm thick.
63 parts, built around the RP2040, ZD25WQ80CTIGT, FSUSB42MUX and LM66200DRL. 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.
From the rianadon/Cosmos-Keyboard-PCBs repository on GitHub, at the commit this page was made from: the board is lemon-wired-swizzle/lemon-pcb-swizzle.kicad_pcb and its schematic cactus-connector/cactus-connector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask rianadon before reusing the design.