Skip to the content
2 layers31.9 × 36 mmLemon pcb swizzle, the printed circuit board in 3D

Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

Size
31.9 × 36 mm
Copper layers
2
Thickness
1.6 mm
Parts
63
Nets
76
Pads
326
Tracks, vias
1,699, 154
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 Dec 2024
Updated
27 Apr 2026

Overview

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.

Main components

6

README

lemon-wired-swizzle/README.md

Lemon Wired Swizzle Microcontroller

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.

Theory of operation

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.

License

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.

Parts

63
QtyValueFootprintReferences
10100nFCapacitor_SMD:C_0402_1005MetricC1, C5, C6, C9, C10, C11, C12, C13, C14, C15
55k1Resistor_SMD:R_0402_1005MetricR3, R4, R10, R11, R14
41kResistor_SMD:R_0402_1005MetricR1, R2, R7, R16
427RResistor_SMD:R_0603_1608MetricR5, R6, R8, R9
310kResistor_SMD:R_0402_1005MetricR12, R13, R15
31uFCapacitor_SMD:C_0402_1005MetricC4, C8, C18
3Q_PMOS_SGDPackage_TO_SOT_SMD:SOT-23Q2, Q3, Q4
21uFCapacitor_SMD:C_0603_1608MetricC16, C17
222pFCapacitor_SMD:C_0402_1005MetricC2, C3
2FSUSB42MUXPackage_SO:MSOP-10_3x3mm_P0.5mmU2, U5
2LOGOLOGOG***, G***
2SW_PushButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW1, SW2
2USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1, J2
110uFCapacitor_SMD:C_0402_1005MetricC7
112MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1Conn_01x11Connector_PinHeader_2.54mm:PinHeader_1x11_P2.54mm_VerticalJ5
1Conn_01x11Connector_PinHeader_2.54mm:PinHeader_1x14_P2.54mm_VerticalJ3
1FingersFootprints:FPC-SMD_21P-P0.30_HDGC_0.3K-QX-21PWBFPC1
1G***lemonlib:vik_smallsvg2mod
1LED_SmallLED_SMD:LED_0603_1608MetricD2
1LM66200Package_TO_SOT_SMD:SOT-583-8U6
1Q_NMOSPackage_TO_SOT_SMD:SOT-23Q1
1RP2040Sleep-Lib:RP2040-QFN-56U3
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP2
1ThumbsFootprints:FPC-SMD_10P-P0.50_HC-FPC-05-09-10RLTAGFPC2
1VIK ConnFootprints:FPC-SMD_FPC05012-09200VIK1
1WS2812B-2020LED_SMD:LED_WS2812B-2020_PLCC4_2.0x2.0mmD1
1XC6206P332MR-GPackage_TO_SOT_SMD:SOT-23U4
1ZD25WQ80CTIGTPackage_SO:SOP-8_3.9x4.9mm_P1.27mmU1
1cosmoslogoFootprints:cosmoslogo-kicad-smallG***

The 62 most common of 63 parts.

More from rianadon/Cosmos-Keyboard-PCBs

4
  • 2 layers31.9 × 36 mmLemon pcb, the printed circuit board in 3D

    Lemon pcb

    rianadon/Cosmos-Keyboard-PCBs

    Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

    54 parts43
  • 4 layers29.9 × 42 mmLemon pcb wireless, the printed circuit board in 3D

    Lemon pcb wireless

    rianadon/Cosmos-Keyboard-PCBs

    Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

    47 parts43
  • 2 layers17 × 17.9 mmPlum twist, the printed circuit board in 3D

    Plum twist

    rianadon/Cosmos-Keyboard-PCBs

    Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

    9 parts43
  • 2 layers149.9 × 22.5 mmCactus connector, the printed circuit board in 3D

    Cactus connector

    rianadon/Cosmos-Keyboard-PCBs

    Open-Source keyboard PCB designs for the Cosmos Keyboard Generator

    7 parts43

Similar boards

  • 4 layers75 × 65 mmCRImier MyKiCad vaio re, the printed circuit board in 3D

    CRImier MyKiCad vaio re

    punkfab/pcb-corpus

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

    289 parts1
  • 2 layers85 × 66 mmRp hub75-panel, the printed circuit board in 3D

    Rp hub75-panel

    RoboticsBrno/RP-HUB75

    RP2350 based HUB75E driver board

    104 parts2MIT
  • 2 layers35 × 70 mmFlightRecorder, the printed circuit board in 3D

    FlightRecorder

    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.

    37 parts
  • 4 layers49.5 × 21.6 mmUSB Replug Dongle RevC1, the printed circuit board in 3D

    USB Replug Dongle RevC1

    gslee-dev/portpulse

    USB replug test dongle with KiCad hardware, CH552 firmware, and native C host

    38 partsMIT
  • 2 layers39.4 × 20.3 mmRp2040-pmod, the printed circuit board in 3D

    Rp2040-pmod

    mwelling/rp2040-pmod

    RP2040 MCU based PMOD

    46 parts21MIT
  • 4 layers210.9 × 127 mmDual panel, the printed circuit board in 3D

    Dual panel

    fchorney/krakenpad-poc

    proof of concept and research into making kraken pad

    174 parts1
  • 4 layers70 × 68 mmTarsus main board, the printed circuit board in 3D

    Tarsus main board

    EnejiOhieku/Tarsus

    ESP32 based ROS2 Compatible Hexapod Robot

    133 parts1
  • 2 layers16.9 × 51.3 mmVejasAuth, the printed circuit board in 3D

    VejasAuth

    Las-Vejas/VejasAuth

    An RP2350 powered passkey wielding device powered by picokey

    39 parts2

Questions

How big is the Lemon pcb swizzle PCB?

It measures 31.9 × 36 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Lemon pcb swizzle use?

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.

Where can I download the Lemon pcb swizzle KiCad files?

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.

Can I use the Lemon pcb swizzle design in my own project?

Its repository states no licence, so its author keeps all rights: ask rianadon before reusing the design.