

S3DUCKY
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
2ESP32-S3-WROOM-1-N8
SMD,25.5x18mm-40℃~+85℃ -98.2dBm 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA Bluetooth5.0 ESP32-S3 Chip On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesLD1117V
TO-2200℃~+125℃ 1 1.25V~15V 1.2V@(800mA) 15V 5mA 75dB@(120Hz) 800mA Adjustable Over Current Protection、Thermal shutdown Positive TO-220 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSSTMicroelectronicsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdS3 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.
(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
- Install the ESP32 board package in Arduino IDE (or PlatformIO) and select ESP32S3 Dev Module.
- Under Tools, set:
- USB Mode:
USB-OTG (TinyUSB)— required for native HID. - USB CDC On Boot: as needed for your debug setup.
- USB Mode:
- 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.
- Select the correct COM/serial port and upload
HID_firmware.ino. - Reset the board and confirm it enumerates on the host as a USB keyboard before relying on it.
Repo contents
| File | Description |
|---|---|
s3-ducky.kicad_pro / .kicad_sch / .kicad_pcb | KiCad 9 project, schematic and PCB layout |
s3-ducky-*.gbr, *.drl, *.gbrjob | Fabrication Gerbers / drill files / job file |
s3duckygerber.zip | Zipped Gerber set, ready to send to a fab |
HID_firmware.ino | Arduino sketch — native USB HID keyboard + button-triggered macro |
BOMS3DUCKY.csv | Sourced 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.
| # | Reference | Part | Footprint | Qty | Vendor | Product | Price (₹) | Price ($) |
|---|---|---|---|---|---|---|---|---|
| 1 | C1, C7 | 100nF | Capacitor_SMD:C_0805_2012Metric | 2 | Sharvi | 0.1uF/100nF 10V Capacitor – 0805 Package | 25 | 0.26 |
| 2 | C2, C5 | 10uF | Capacitor_SMD:C_0805_2012Metric | 2 | Sharvi | 10uF/10000nF 16V Capacitor – 0805 SMD Package | 29.50 | 0.31 |
| 3 | C6 | 22uF | Capacitor_SMD:C_0805_2012Metric | 1 | Unsourced | 22uF 0805 X5R 10V | 4.56 | 0.048 |
| 4 | D1 | RED LED | LED_SMD:LED_0805_2012Metric | 1 | Quartz | Red LED – SMD (0805), Pack of 50 | 25 | 0.26 |
| 5 | D2 | GREEN LED | LED_SMD:LED_0805_2012Metric | 1 | Quartz | Green LED – SMD (0805), Pack of 50 | 24 | 0.26 |
| 6 | D3 | BLUE LED | LED_SMD:LED_0805_2012Metric | 1 | Quartz | Blue LED – SMD (0805), Pack of 50 | 24 | 0.26 |
| 7 | J1, J3 | 1x11 male header, 2.54 mm | PinHeader_1x11_P2.54mm_Vertical | 2 | Unsourced | 1x40 break-away male header strip | — | — |
| 8 | J2 | USB_A (male, through-hole) | usb_afoot:USB-AM-TH_AM90 | 1 | Robu | USB A-type Plug Male PCB R/A Connector (Pack of 5) | 5 | 0.053 |
| 9 | R3, R4, R5, R6 | 5.1k | Resistor_SMD:R_0805_2012Metric | 4 | Quartz | 5.1K ohm 5% SMD Resistor 0805 (Pack of 20) | 8 | 0.084 |
| 10 | SW1, SW2 | SMD tact switch ~3.9 × 3.0 mm | smd_sw:SW-SMD_L3.9-W3.0-P4.45 | 2 | Unsourced | SMD tactile switch, 20 pcs | 25 | 0.26 |
| 11 | U1 | ESP32-S3-WROOM-1 | RF_Module:ESP32-S3-WROOM-1 | 1 | Robu | Espressif ESP32-S3-WROOM-1-N16R8 Module | 449 | 4.73 |
| 12 | U2 | LD1117V (3.3V, SOT-223 footprint) | SOT-223-3_TabPin2 | 1 | Robu | LM1117GS-3.3 1A LDO, SOT-223 (pin-compatible sub) | 25 | 0.26 |
Shipping, tax & fab
| Item | Price (₹) | Price ($) |
|---|---|---|
| Robu shipping | 49 | 0.52 |
| Quartz shipping + taxes | 74.58 | 0.79 |
| Sharvi Electronics shipping + taxes | 68.20 | 0.72 |
| JLCPCB (PCB fab) | 379.78 | 4.00 |
| PCB shipping | 626.64 | 6.60 |
| Total | ₹1,842.26 | $19.40 |
Parts
26| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | LOGO | LOGO | G***, G***, G***, G***, G***, G***, G*** |
| 4 | 5.1k | Resistor_SMD:R_0805_2012Metric | R3, R4, R5, R6 |
| 2 | 100nF | Capacitor_SMD:C_0805_2012Metric | C1, C7 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C2, C5 |
| 2 | Conn_01x11_Pin | Connector_PinHeader_2.54mm:PinHeader_1x11_P2.54mm_Vertical | J1, J3 |
| 2 | SW_Push | smd_sw:SW-SMD_L3.9-W3.0-P4.45 | SW1, SW2 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | BLUE | LED_SMD:LED_0805_2012Metric | D3 |
| 1 | ESP32-S3-WROOM-1 | RF_Module:ESP32-S3-WROOM-1 | U1 |
| 1 | GREEN | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | LD1117V | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | RED | LED_SMD:LED_0805_2012Metric | D1 |
| 1 | USB_A | usb_afoot:USB-AM-TH_AM90 | J2 |
Similar boards
- 2 layers50.5 × 86.3 mm

- 2 layers152.9 × 74.9 mm

- 2 layers64 × 61.5 mm

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 mm

- 2 layers

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 mm

- 2 layers55.6 × 50.9 mm

Canbus transeiver adapter
mbouyer/canbus_transeiver_adapter
A breadboard-friendly CAN transeiver
19 partsBSD-2-Clause - 2 layers85 × 115 mm

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.