

Red ducky
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
1README
README.mdRed-ducky
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
The builded Red-ducky (without case) :
The PCB :
The schematic :
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.
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
| Item | Description | Quantity | Unit price ($) | Total prince ($) | URL |
|---|---|---|---|---|---|
| 0402CG330J500NT | 33pF 50V C0G ±5% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS | 4 | 0.001 | 0.004 | https://jlcpcb.com/partdetail/1914-0402CG330J500NT/C1562 |
| DSX321G 12MHz | SMD3225-4P Crystals ROHS | 5 | 0.4003 | 2.0015 | https://jlcpcb.com/partdetail/KDSDaishinku-DSX321G12MHz/C93234 |
| KT-0603W | 100mW 120° 2.6V~3.1V 360mcd 5mA Discrete Diode White Yellow Lens op View Mount 0603 LED Indication - Discrete ROHS | 2 | 0.0104 | 0.0208 | https://jlcpcb.com/partdetail/Hubei_KENTOElec-KT0603W/C2290 |
| CL05A105KA5NQNC | 1uF 25V X5R ±10% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS | 4 | 0.0029 | 0.0116 | https://jlcpcb.com/partdetail/53938-CL05A105KA5NQNC/C52923 |
| RP2040 | 12bit 133MHz 30 LQFN-56(7x7) Microcontrollers (MCU/MPU/SOC) ROHS | 2 | 0.9298 | 1.8596 | https://jlcpcb.com/partdetail/RaspberryPi-RP2040/C2040 |
| 0402WGF1001TCE | -55℃~+155℃ 1kΩ 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS | 6 | 0.0006 | 0.0036 | https://jlcpcb.com/partdetail/12256-0402WGF1001TCE/C11702 |
| W25Q16JVUXIQ | -40℃ | 2 | 0.5448 | 1.0896 | https://jlcpcb.com/partdetail/WinbondElec-W25Q16JVUXIQ/C2843335 |
| CL05B104KO5NNNC | 100nF 16V X7R ±10% 0402 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS | 22 | 0.0012 | 0.0264 | https://jlcpcb.com/partdetail/1877-CL05B104KO5NNNC/C1525 |
| 0402WGF1002TCE | -55℃~+155℃ 10kΩ 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS | 2 | 0.0005 | 0.001 | https://jlcpcb.com/partdetail/26487-0402WGF1002TCE/C25744 |
| CL10A106KP8NNNC | 10V 10uF X5R ±10% 0603 Multilayer Ceramic Capacitors MLCC - SMD/SMT ROHS | 4 | 0.0057 | 0.0228 | https://jlcpcb.com/partdetail/20411-CL10A106KP8NNNC/C19702 |
| 0402WGF220JTCE | -55℃~+155℃ 22Ω 50V 62.5mW Thick Film Resistor ±1% ±100ppm/℃ 0402 Chip Resistor - Surface Mount ROHS | 4 | 0.0006 | 0.0024 | https://jlcpcb.com/partdetail/25835-0402WGF220JTCE/C25092 |
| MCP1700T-3302E/TT | IC REG LINEAR 3.3V 250MA SOT23-3 | 2 | 0.51 | 1.02 | https://www.lcsc.com/product-detail/C39051.html |
| MOLEX 48037-2200 | USB-A (USB TYPE-A) Receptacle Connector 4 Position Solder Cup | 2 | 2.0539 | 4.1078 | https://www.lcsc.com/product-detail/C2765195.html |
| SKRKAHE020 | SWITCH TACTILE SPST-NO 0.05A 12V | 2 | 0.41 | 0.82 | https://www.lcsc.com/product-detail/C202388.html |
| PCB | Green, 1.6 Thickness, HASL(with lead) | 5 | 0.4 | 2 | |
| PCBA | Assemble top side | 2 | 12.875 | 25.75 | |
| 3D printing | 3D printing of the case | 1 | 0.87 | 0.87 |
Parts
33| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C2, C3, C4, C5, C6, C7, C8, C9, C11, C12, C17 |
| 3 | 1K | Resistor_SMD:R_0402_1005Metric | R3, R5, R6 |
| 3 | TestPoint | TestPoint:TestPoint_Pad_1.5x1.5mm | TP1, TP2, TP3 |
| 2 | 10uF | Capacitor_SMD:C_0603_1608Metric | C13, C14 |
| 2 | 1uF | Capacitor_SMD:C_0402_1005Metric | C1, C10 |
| 2 | 22 | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | 33pF | Capacitor_SMD:C_0402_1005Metric | C15, C16 |
| 1 | 10K | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 12 MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | MCP1700x-330xxTT | Package_TO_SOT_SMD:SOT-23 | U2 |
| 1 | RP2040 | Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U1 |
| 1 | SW_Push | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW1 |
| 1 | USB_A | Connector_USB:USB_A_Molex_48037-2200_Horizontal | J1 |
| 1 | W25Q16JVUXIQ TR | Package_SON:Winbond_USON-8-1EP_3x2mm_P0.5mm_EP0.2x1.6mm | U3 |
Similar boards
- 2 layers290.1 × 130 mm

- 4 layers50 × 30 mm

Picodvi
Fr4nkFletcher/ESP32-Marauder-Cheap-Yellow-Display
ESP32Marauder Cheap Yellow Display
55 parts1.8kMIT - 4 layers299 × 127 mm

- 2 layers42 × 67 mm

- 2 layers181 × 97 mm

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 mm

- 4 layers102.9 × 96.7 mm

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 mm

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.