Skip to the content
2 layers16 × 40 mmRed ducky, the printed circuit board in 3D

In this project I'll make my own Rubber Ducky, named Red ducky ! A Rubber Ducky is a hacking tool that mimics a keyboard to inject a sequence of keys. I started this project with no knowledge of PCB design, so it promises to be very educational.

Size
16 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
52
Pads
139
Tracks, vias
242, 25
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
20 Dec 2025
Updated
22 May 2026

Overview

Red ducky is an open-source printed circuit board by Xpandaru, from the Xpandaru/Red-ducky repository on GitHub. It is a 2-layer board of 16 × 40 mm with 33 parts on 52 nets, routed with 242 tracks and 25 vias.

It is built around the RP2040. Its parts include 17 capacitors, 6 resistors, 3 ICs, 1 diode and 1 connector. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

Red-ducky

render_2 In this project I'll make my own Rubber Ducky, named Red ducky ! A Rubber Ducky is a hacking tool that mimics a keyboard to inject a sequence of keys. I started this project with no knowledge of PCB design, so it promises to be very educational.

The story of the project

It all started when a friend introduced me to Hack Club during the Cyber ​​Ninja CTF (a cybersecurity competition organized by Oteria Cyber ​​School). I was quickly drawn to the Blueprint program because I knew absolutely nothing about electronics, and being very curious, I saw it as the perfect opportunity to explore the field. I soon had the idea to recreate a Rubber Ducky (a very popular cybersecurity tool) to understand how it worked and have my own by the end of the project. From there, I began learning all the necessary knowledge and developing my project based on the custom devboard guided project.

Some screenshots

rendu_1

The builded Red-ducky (without case) :

image image

The PCB :

image

The schematic :

image

How to build

Ordering the PCB from JLCPCB

JLCPCB is a company that offers fast and affordable PCB manufacturing and assembly services through an easy-to-use online platform.

First, go to the JLCPCB website and start a new order by clicking the “Order Now” button in the top-right corner. Then, upload the PRODUCTION.zip file in the “Add Gerber File” field. You don’t need to change any settings except “PCB Qty” to select how many Red-Ducky boards you want. At the very bottom, enable “PCB Assembly”; again, you don’t need to change any settings. Finally, click “Next” on the right side of the screen under “Calculated Price.” Once that’s done, click “Next” again to reach the “Bill of Materials” tab, and upload the BOM.csv and CPL.csv files available in the repository.

Then click “Process BOM & CPL”, and you will see the list of components appear. However, you will likely notice that component J1 shows an error in the “Select” column labeled “Standard Only.” This happens because the “PCBA Type” setting is still set to “Economic.” To fix this, you have two options : either click “Standard Only” and then “Switch to Standard PCBA” (which will increase the price), or click “Next” and choose “Do not place” in each popup, which will remove the component from the assembly. If you choose the second option, you will need to purchase the part separately (for example from LCSC) and solder it yourself.

After that, you will see a preview of the components placed on the PCB, just make sure that the placement matches the image below and you can simply click “Next” and follow the instructions to complete your assembled PCB order. Capture d'écran 2026-04-04 154840

Building the Red-Ducky

Once you have received all the parts, solder J1 if you ordered it separately. Otherwise, you just need to 3D print the case available in the repository (I haven’t had the chance to print it yet, so I’m not sure if it works) and place the fully assembled Red-Ducky inside !

Finally, you can simply follow the tutorials in the wiki to flash the firmware and start using your Red-Ducky.

Bill of materials

ItemDescriptionQuantityUnit price ($)Total prince ($)URL
0402CG330J500NT33pF 50V C0G ±5% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS40.0010.004https://jlcpcb.com/partdetail/1914-0402CG330J500NT/C1562
DSX321G 12MHzSMD3225-4P Crystals ROHS50.40032.0015https://jlcpcb.com/partdetail/KDSDaishinku-DSX321G12MHz/C93234
KT-0603W100mW 120° 2.6V~3.1V 360mcd 5mA Discrete Diode White Yellow Lens op View Mount 0603 LED Indication - Discrete ROHS20.01040.0208https://jlcpcb.com/partdetail/Hubei_KENTOElec-KT0603W/C2290
CL05A105KA5NQNC1uF 25V X5R ±10% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS40.00290.0116https://jlcpcb.com/partdetail/53938-CL05A105KA5NQNC/C52923
RP204012bit 133MHz 30 LQFN-56(7x7) Microcontrollers (MCU/MPU/SOC) ROHS20.92981.8596https://jlcpcb.com/partdetail/RaspberryPi-RP2040/C2040
0402WGF1001TCE-55℃~+155℃ 1kΩ 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS60.00060.0036https://jlcpcb.com/partdetail/12256-0402WGF1001TCE/C11702
W25Q16JVUXIQ-40℃+85℃ 100,000 Cycles 10uA 133MHz 16Mbit 2.7V3.6V 20 Years 3ms SPI USON-8-EP(2x3) NOR FLASH ROHS20.54481.0896https://jlcpcb.com/partdetail/WinbondElec-W25Q16JVUXIQ/C2843335
CL05B104KO5NNNC100nF 16V X7R ±10% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS220.00120.0264https://jlcpcb.com/partdetail/1877-CL05B104KO5NNNC/C1525
0402WGF1002TCE-55℃~+155℃ 10kΩ 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS20.00050.001https://jlcpcb.com/partdetail/26487-0402WGF1002TCE/C25744
CL10A106KP8NNNC10V 10uF X5R ±10% 0603 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS40.00570.0228https://jlcpcb.com/partdetail/20411-CL10A106KP8NNNC/C19702
0402WGF220JTCE-55℃~+155℃ 22Ω 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS40.00060.0024https://jlcpcb.com/partdetail/25835-0402WGF220JTCE/C25092
MCP1700T-3302E/TTIC REG LINEAR 3.3V 250MA SOT23-320.511.02https://www.lcsc.com/product-detail/C39051.html
MOLEX 48037-2200USB-A (USB TYPE-A) Receptacle Connector 4 Position Solder Cup22.05394.1078https://www.lcsc.com/product-detail/C2765195.html
SKRKAHE020SWITCH TACTILE SPST-NO 0.05A 12V20.410.82https://www.lcsc.com/product-detail/C202388.html
PCBGreen, 1.6 Thickness, HASL(with lead)50.42
PCBAAssemble top side212.87525.75
3D printing3D printing of the case10.870.87

Parts

33
QtyValueFootprintReferences
110.1uFCapacitor_SMD:C_0402_1005MetricC2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17
31KResistor_SMD:R_0402_1005MetricR3, R5, R6
3TestPointTestPoint:TestPoint_Pad_1.5x1.5mmTP1, TP2, TP3
210uFCapacitor_SMD:C_0603_1608MetricC13, C14
21uFCapacitor_SMD:C_0402_1005MetricC1, C10
222Resistor_SMD:R_0402_1005MetricR1, R2
233pFCapacitor_SMD:C_0402_1005MetricC15, C16
110KResistor_SMD:R_0402_1005MetricR4
112 MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1LEDLED_SMD:LED_0603_1608MetricD1
1MCP1700x-330xxTTPackage_TO_SOT_SMD:SOT-23U2
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1
1SW_PushButton_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW1
1USB_AConnector_USB:USB_A_Molex_48037-2200_HorizontalJ1
1W25Q16JVUXIQ TRPackage_SON:Winbond_USON-8-1EP_3x2mm_P0.5mm_EP0.2x1.6mmU3

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 4 layers50 × 30 mmPicodvi, the printed circuit board in 3D

    Picodvi

    Fr4nkFletcher/ESP32-Marauder-Cheap-Yellow-Display

    ESP32Marauder Cheap Yellow Display

    55 parts1.8kMIT
  • 4 layers299 × 127 mmLaunch, the printed circuit board in 3D

    Launch

    system76/launch

    System76 Launch Configurable Keyboard

    385 parts1.4kGPL-3.0
  • 2 layers42 × 67 mmLalboard, the printed circuit board in 3D

    Lalboard

    JesusFreke/lalboard

    A 3D-printed keyboard inspired by the DataHand

    65 parts993
  • 2 layers181 × 97 mmOpenDeck r3.1.2, the printed circuit board in 3D

    OpenDeck r3.1.2

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    262 parts960Apache-2.0
  • 4 layers82.6 × 82.5 mmJumperless2, the printed circuit board in 3D

    Jumperless2

    Architeuthis-Flux/Jumperless

    A jumperless breadboard

    208 parts914
  • 4 layers102.9 × 96.7 mmPicoGUS chipdown, the printed circuit board in 3D

    PicoGUS chipdown

    polpo/picogus

    Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support

    99 parts805
  • 2 layers53.2 × 24.8 mmPicoLink, the printed circuit board in 3D

    PicoLink

    ErichStyger/mcuoneclipse

    McuOnEclipse projects and examples

    46 parts765

Questions

How big is the Red ducky PCB?

It measures 16 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Red ducky use?

33 parts, built around the RP2040. 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 Red ducky KiCad files?

From the Xpandaru/Red-ducky repository on GitHub, at the commit this page was made from: the board is PCB/red_ducky.kicad_pcb and its schematic PCB/red_ducky.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Red ducky design in my own project?

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