Skip to the content
2 layers33.2 × 36.7 mmS3DUCKY, the printed circuit board in 3D

A pocket-sized USB HID injection tool built on the ESP32-S3's native USB peripheral — no separate USB-serial or "Digispark"-style bootloader chip needed. Plug it in, and it enumerates as a keyboard.

Size
33.2 × 36.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
43
Pads
124
Tracks, vias
188, 118
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Oct 2026
Updated
26 Oct 2026

Overview

S3DUCKY is an open-source printed circuit board by himanivishwa, from the himanivishwa/S3DUCKY repository on GitHub. It is a 2-layer board of 33.2 × 36.7 mm with 26 parts on 43 nets, routed with 188 tracks and 118 vias.

It is built around the ESP32-S3-WROOM-1-N8 and LD1117V. Its parts include 5 capacitors, 4 resistors, 3 diodes, 3 connectors and 2 ICs. It belongs with the ESP32 boards of this library.

Main components

2

README

README.md

S3 Ducky

A pocket-sized USB HID injection tool built on the ESP32-S3's native USB peripheral — no separate USB-serial or "Digispark"-style bootloader chip needed. Plug it in, and it enumerates as a keyboard.

NOTE: Firmware is not tested.

Front PCB Back PCB (Add renders or photos of the front/back PCB here — e.g. exported from KiCad's 3D viewer or your fab's preview.)

Why I built this

I had no experience in making devboards from esp32 dev modules so this is the best practical project i could think of aside from making a simple devboard

Features

  • Native USB HID keyboard — the ESP32-S3's built-in USB-OTG peripheral emulates a keyboard directly; no USB-to-serial bridge or second MCU in the path.
  • ESP32-S3-WROOM-1 module — also brings Wi-Fi and BLE on board for future expansion (e.g. wireless trigger, exfil, or OTA payload updates).
  • Single-button payload trigger — a press on the BOOT button (GPIO0) fires the macro in triggerMacro().
  • Two onboard push buttons (SW1, SW2) — serve as the BOOT (GPIO0) and EN/RESET buttons needed to manually enter flashing mode
  • Status LEDs — onboard red, green and blue 0805 LEDs (D1–D3) for state/feedback.
  • Two 11-pin headers (J1, J3) — breakout for spare GPIO.
  • Compact 2-layer PCB — roughly 33 × 37 mm, SMD passives throughout.
  • USB-A male, through-hole — plugs straight into a host port like a standard USB drive/dongle; no cable needed.

How it works

The ESP32-S3 has a native USB-OTG peripheral, so it can act as a USB HID device entirely in firmware (via the Arduino USBHIDKeyboard library) — the chip itself is the keyboard, nothing is emulated over serial.

On boot, the firmware initializes the keyboard HID driver and the USB peripheral. The main loop watches the BOOT button (GPIO0, debounced) for a press. On a press, triggerMacro() sends a scripted sequence of keystrokes to whatever host the board is plugged into — the included example opens the Windows Run dialog (GUI + R), launches Notepad, and types a short message, release-all-keys between each step to avoid stuck inputs.

Flashing

  1. Install the ESP32 board package in Arduino IDE (or PlatformIO) and select ESP32S3 Dev Module.
  2. Under Tools, set:
    • USB Mode: USB-OTG (TinyUSB) — required for native HID.
    • USB CDC On Boot: as needed for your debug setup.
  3. If the board doesn't auto-enter the bootloader (no auto-reset circuit on this design), hold SW1 (BOOT), tap SW2 (RESET), then release SW1 to enter download mode.
  4. Select the correct COM/serial port and upload HID_firmware.ino.
  5. Reset the board and confirm it enumerates on the host as a USB keyboard before relying on it.

Repo contents

FileDescription
s3-ducky.kicad_pro / .kicad_sch / .kicad_pcbKiCad 9 project, schematic and PCB layout
s3-ducky-*.gbr, *.drl, *.gbrjobFabrication Gerbers / drill files / job file
s3duckygerber.zipZipped Gerber set, ready to send to a fab
HID_firmware.inoArduino sketch — native USB HID keyboard + button-triggered macro
BOMS3DUCKY.csvSourced bill of materials (see below)

Bill of Materials

Prices below are what I found while sourcing parts for a single board, mostly from Indian component shops (Robu, Quartz Components, Sharvi Electronics). Unsourced rows weren't matched to a confirmed listing — check stock/pricing yourself before ordering.

#ReferencePartFootprintQtyVendorProductPrice (₹)Price ($)
1C1, C7100nFCapacitor_SMD:C_0805_2012Metric2Sharvi0.1uF/100nF 10V Capacitor – 0805 Package250.26
2C2, C510uFCapacitor_SMD:C_0805_2012Metric2Sharvi10uF/10000nF 16V Capacitor – 0805 SMD Package29.500.31
3C622uFCapacitor_SMD:C_0805_2012Metric1Unsourced22uF 0805 X5R 10V4.560.048
4D1RED LEDLED_SMD:LED_0805_2012Metric1QuartzRed LED – SMD (0805), Pack of 50250.26
5D2GREEN LEDLED_SMD:LED_0805_2012Metric1QuartzGreen LED – SMD (0805), Pack of 50240.26
6D3BLUE LEDLED_SMD:LED_0805_2012Metric1QuartzBlue LED – SMD (0805), Pack of 50240.26
7J1, J31x11 male header, 2.54 mmPinHeader_1x11_P2.54mm_Vertical2Unsourced1x40 break-away male header strip——
8J2USB_A (male, through-hole)usb_afoot:USB-AM-TH_AM901RobuUSB A-type Plug Male PCB R/A Connector (Pack of 5)50.053
9R3, R4, R5, R65.1kResistor_SMD:R_0805_2012Metric4Quartz5.1K ohm 5% SMD Resistor 0805 (Pack of 20)80.084
10SW1, SW2SMD tact switch ~3.9 × 3.0 mmsmd_sw:SW-SMD_L3.9-W3.0-P4.452UnsourcedSMD tactile switch, 20 pcs250.26
11U1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-11RobuEspressif ESP32-S3-WROOM-1-N16R8 Module4494.73
12U2LD1117V (3.3V, SOT-223 footprint)SOT-223-3_TabPin21RobuLM1117GS-3.3 1A LDO, SOT-223 (pin-compatible sub)250.26

Shipping, tax & fab

ItemPrice (₹)Price ($)
Robu shipping490.52
Quartz shipping + taxes74.580.79
Sharvi Electronics shipping + taxes68.200.72
JLCPCB (PCB fab)379.784.00
PCB shipping626.646.60
Total₹1,842.26$19.40

Parts

26
QtyValueFootprintReferences
7LOGOLOGOG***, G***, G***, G***, G***, G***, G***
45.1kResistor_SMD:R_0805_2012MetricR3, R4, R5, R6
2100nFCapacitor_SMD:C_0805_2012MetricC1, C7
210uFCapacitor_SMD:C_0805_2012MetricC2, C5
2Conn_01x11_PinConnector_PinHeader_2.54mm:PinHeader_1x11_P2.54mm_VerticalJ1, J3
2SW_Pushsmd_sw:SW-SMD_L3.9-W3.0-P4.45SW1, SW2
122uFCapacitor_SMD:C_0805_2012MetricC6
1BLUELED_SMD:LED_0805_2012MetricD3
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U1
1GREENLED_SMD:LED_0805_2012MetricD2
1LD1117VPackage_TO_SOT_SMD:SOT-223-3_TabPin2U2
1REDLED_SMD:LED_0805_2012MetricD1
1USB_Ausb_afoot:USB-AM-TH_AM90J2

Similar boards

  • 2 layers50.5 × 86.3 mmF4 SMD V1 1, the printed circuit board in 3D

    F4 SMD V1 1

    androda/F4_BlueSCSI

    A small SCSI device based on STM32F4

    42 parts24
  • 2 layers152.9 × 74.9 mmClock, the printed circuit board in 3D

    Clock

    erikvanzijst/clock

    24H digital quartz clock from scratch

    82 parts21
  • 2 layers64 × 61.5 mmCarbonAwareCircuit, the printed circuit board in 3D

    CarbonAwareCircuit

    AbhiramV010/CarbonAwareCharge

    The Carbon-Aware Charging logic & KiCad Schematics that were used in my STEAM ICAC 2026 Project. It will work for other applications as well.

    15 parts1GPL-2.0
  • 4 layers74.9 × 62.2 mm1000W Controller, the printed circuit board in 3D

    1000W Controller

    benvrakas/1000W-LED-Controller

    61 parts1
  • 2 layersBreatheEasy, the printed circuit board in 3D

    BreatheEasy

    1440pQHD/One-board-Air-quality-sensor

    A simple, cheap-to-build PCB that actively monitors air quality and prevents invisible hazards. It makes protection from enviromental hazards accesible to everyone.

    12 parts
  • 2 layers86.5 × 99 mmPCB schematics, the printed circuit board in 3D

    PCB schematics

    Alemagpie/Teensy-based-Multieffect-Pedal

    49 parts
  • 2 layers55.6 × 50.9 mmCanbus transeiver adapter, the printed circuit board in 3D

    Canbus transeiver adapter

    mbouyer/canbus_transeiver_adapter

    A breadboard-friendly CAN transeiver

    19 partsBSD-2-Clause
  • 2 layers85 × 115 mmOSO BOOK B1, the printed circuit board in 3D

    OSO BOOK B1

    joeycastillo/The-Open-Book

    For details on how to build, test and use Open Book, I've made documentation available here.

    76 parts8.1kCC-BY-SA-4.0

Questions

How big is the S3DUCKY PCB?

It measures 33.2 × 36.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the S3DUCKY use?

26 parts, built around the ESP32-S3-WROOM-1-N8 and LD1117V. 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 S3DUCKY KiCad files?

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

Can I use the S3DUCKY design in my own project?

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