Arjun

Home / Engineering Projects / Project Daedalus

Build plan · hardware, firmware and case

Project Daedalus

A compact Bluetooth game controller with one drift-free stick, designed from the start to be made in a batch of 30, for $23 to $28 of parts each.

Where this stands: a design, not yet a built controller. No circuit board has been ordered and nothing here has been tested on hardware. The firmware compiles without errors; it has never run on a real board. Prices were looked up in November 2026 and some are marked as unconfirmed. The plan below starts with a breadboard and two prototype boards for exactly that reason: find the mistakes on $50 of parts, not on 30 boards.

What it is

L1L2 R1R2 USB-Con/off magnetic stickclick = L3 SelectStart Homelight four face buttons 125 mm 78 mm
Front view, drawn from the same numbers as the case model. The body is 22.2 mm thick in the middle, with a gently domed front and a back that swells into each palm; the case section has the side view. The exact button spacing is set by the rubber pad you buy, so measure the pad before drawing the board.

Daedalus · workbench · case version 4 · nothing built yet

See it go together

Three views of the same design. Follow the build one step at a time, look at the floor plan of each layer and click any part to see what it is, or change a part and watch every number and check work itself out again.

The 3D view loads when you scroll here

STEP 0 / 11

    The bought parts (stick, battery, switches, sockets, radio module) are drawn as plain blocks at their datasheet sizes: they show where things go, not what they look like. The printed parts are the real shapes. The same steps are written out, with every detail, under Assembly.

    On this page

    1. The workbench: build steps, floor plan, the working
    2. Specifications
    3. The five design decisions
    4. Parts list
    5. What to buy first, with links
    6. Options for each part
    7. Wiring and pin assignments
    8. Firmware
    9. Test a controller in the browser
    10. The circuit board
    11. The case
    12. Assembly, step by step
    13. Cost at 10, 30, 50 and 200
    14. If you sell them
    15. Honest trade-offs
    16. What to do first

    Specifications

    Design figures: what the drawings, datasheets and firmware say. None has been measured on a built controller yet. "Estimate" marks a figure worked out, not read from a datasheet.

    GroupItemValue
    BodySize125 × 78 mm; 22.2 mm thick in the middle, 29.2 mm from the crown of the front to the bottom of the palm swells (version 4; version 3 was a flat 21.7 mm)
    WeightAbout 100 g (estimate: case 58 g, battery 21 g, board and parts 16 g, stick and cap 6 g, screws 2 g)
    CasePETG, two shells, 2.0 mm walls, six M2 screws into brass inserts (four 8 mm long through the board, two 6 mm long in the grips)
    PrintAbout 46 cm³ of plastic (58 g) in 13 pieces, plus supports inside the two shells
    ControlsStickMagnetic (Hall), tilts 26° each way, about 120 gf to move, click at about 750 gf, rated 5 million movements and 1 million clicks; returns to centre within 6.3 %
    Face buttons4, silicone domes with carbon contacts on gold board pads, 27 mm apart across and 21 mm top to bottom
    Shoulder buttons4 (L1, R1, L2, R2), 160 gf, 0.12 mm travel, rated 500,000 presses
    Small buttonsSelect, Start, Home: 160 gf, 0.2 mm travel, rated 100,000 presses
    Reported as13 buttons, stick X and Y, and L2 / R2 again as fully pressed triggers
    RadioChipESP32-C6-WROOM-1-N8: Bluetooth 5 Low Energy, antenna on the module
    ProfileHID over GATT, gamepad. Pairs without a code and remembers the computer (bonding, LE Secure Connections)
    Time between radio slots7.5 ms asked for first; 11.25 ms, then 15 ms if the computer refuses
    Transmit power+3 dBm as set in the firmware (the module can do −16 to +19 dBm); receive sensitivity −98 dBm
    RangeNot measured. Expect ordinary same-room Bluetooth range; the antenna is closer to the case than Espressif recommends
    ResponseInputs readAbout 1,000 times a second
    Button clean-upFirst contact reported at once, then that button is ignored for 5 ms
    Stick12-bit readings, smoothed over about 2 ms; round dead zone of 8 % at the centre (the stick is specified to re-centre within 6.3 %) and 4 % at the edge; sent as −32,767 to +32,767
    Report12 bytes, sent only on change, at most one per radio slot (up to 133 a second at 7.5 ms)
    Added delayEstimate: under 1 ms to notice a press, then 3.75 ms on average (7.5 ms at worst) waiting for the next radio slot at 7.5 ms
    PowerBatteryOne lithium-polymer cell, 3.7 V, 1,200 mAh (4.4 Wh), 6 × 34 × 52 mm
    ChargingUSB-C at 5 V, about 0.37 A (a 3 kΩ resistor on the charger chip); stops when the current falls to a tenth of that. Estimate: about 4 hours from empty
    Draw while playingEstimate: about 35 mA. The chip with its radio idle is 14 to 30 mA by its datasheet, the radio adds a few milliamps at this report rate (it draws 130 mA sending and 73 mA listening, but only for a fraction of a millisecond per slot), and the Hall stick adds about 4 mA
    Play timeEstimate: about 30 hours on 1,200 mAh, about 12 on 500 mAh. A TMR stick saves about 3.6 mA
    AsleepEstimate: about 75 µA (regulator 60, chip 7, protection 3, battery sensing 2, charger 1), so over a year on a full cell
    Switched offEstimate: about 6 µA
    Battery protectionCuts off above 4.30 V, below 2.40 V, and above about 3 A; the cell's own board does the same
    USB-C socketRated 10,000 insertions
    TemperatureUse −10 to 70 °C (the stick's limit); charge only between 0 and 45 °C (the battery's limit)
    BoardSize108 × 46 × 1.2 mm with its top corners curved to follow the case, two layers, gold (ENIG) finish
    Parts50, of 25 different kinds, all on the front, placed by the factory; the stick is soldered by hand
    ConnectorsUSB-C (16-pin, charging and data), JST-PH 2-pin for the battery
    Spare pinsGPIO11, GPIO16 and GPIO17 (test pads). L2 and R2 are on pins that can read a voltage, for analog triggers later
    FirmwareBuilt withArduino, esp32 board package 3.3.12, NimBLE-Arduino 2.5.2
    Size719 KB of the 1,310 KB available (55 %); 24.7 KB of memory in use at start
    Saved on the chipStick calibration and the paired computers

    The five design decisions

    1. The chip: ESP32-C6-WROOM-1

    The controller is built around Espressif's ESP32-C6-WROOM-1 module. Four reasons:

    The smaller MINI version of the same chip would save space, but JLCPCB only fits it on its dearer "Standard" assembly service. The WROOM version is accepted on the cheap "Economic" one.

    What you give up: a Nordic nRF52840 uses roughly a tenth of the power and would run for weeks, not days. It costs about $2 more per unit and needs a separate programmer for every board. Battery life is last on this project's priority list and 25-plus hours is already more than most store-bought pads, so the ESP32-C6 wins. If you want month-long battery life later, the nRF52840 is the upgrade.

    2. Shoulder inputs: four digital buttons, no analog triggers

    Use two buttons a side, L1 / R1 and L2 / R2, all simple on/off switches. The firmware reports L2 and R2 both as buttons and as fully pressed triggers, so games that expect a trigger still respond.

    The two trigger pins were chosen from the ones that can also read a voltage, so a later board could swap the L2 and R2 switches for magnetic sensors without moving anything else.

    3. The stick: a full-size magnetic module

    Use a full-size stick that reads its position with magnets and no rubbing contacts, the same shape as the one in PlayStation and Xbox controllers: either a Hall-effect module or its newer cousin, TMR. Both sense a magnet without touching it, which is why they do not develop drift as they wear. The one this design is drawn around is the YTL 13-series, sold in a Hall version and a TMR version. Both datasheets confirm the stick runs on 3.3 V and has a built-in click switch rated for a million presses. The Hall version draws about 2 mA and is the cheaper one; the TMR version draws a tenth of that. Either is a small load next to the radio.

    The small Joy-Con style sticks would make the controller thinner, but they connect with a tiny ribbon and socket, screw to the case and not the board, and have no published datasheet. The full-size module is 14 ordinary solder joints and sits on the board by its own metal legs, which is far more forgiving for a first build and far stronger in a bag.

    4. Face buttons: a silicone pad with carbon contacts

    Store-bought controllers get their soft, quiet press from a moulded silicone dome with a carbon pill under it; pressing the button squashes the dome and the pill bridges two bare gold contacts on the board. This design does the same. The board has four gold contact patterns, and a replacement rubber pad made for a Super Nintendo style controller sits on top with a printed cap on each dome.

    That pad was chosen because it has been made unchanged for decades by many factories, and an open-hardware board design exists that shows its contact layout: the four contacts sit 27 mm apart left to right and 21 mm top to bottom. Select, Start and Home are small soft-press switches placed by the factory; the four shoulder buttons are side-facing switches, which do click lightly, as the bumpers on most commercial controllers do.

    5. Power: charging that works whether the switch is on or off

    A USB-C socket feeds a charger chip and the battery. A protection chip on the board cuts the battery off if it is over-charged, run flat or shorted, in addition to the one inside the cell. The slide switch does not carry the battery's current: it only tells the voltage regulator to turn on or off, so the switch's tiny contacts are never stressed and the controller draws almost nothing when off. A small transistor also switches the stick's power off when the controller sleeps.

    Parts list

    Every part in one controller, down to the last resistor, then everything to buy for a batch of 30. Prices are in US dollars and were looked up on 16 November 2026. For the parts on the board they are what JLCPCB's parts library charged that day for the quantity a batch of 30 uses. "C" numbers are LCSC part numbers, which JLCPCB's assembly service also uses. To confirm marks anything that could not be read from a listing or a datasheet. Stock changes weekly, so check every number again in the JLCPCB parts library when you order.

    Download: daedalus-bom-jlcpcb.csv, the board's parts in the four columns JLCPCB's assembly order asks for (Comment, Designator, Footprint, JLCPCB Part #), ready to upload as its parts list; and bom.json, everything in the three tables below. The tables and the CSV are both made from that one file, so they cannot disagree. JLCPCB also asks for a placement file; that comes out of the board drawing, which does not exist yet.

    On the board, placed by the factory

    One row for each different part. "Qty" is how many of it one board carries; "Each" is the price of one.

    RefQtyPart and valueRatingSizeWhat it does hereMaker and part numberLCSC no.JLCPCB classEach
    This table needs JavaScript. The same list is in the two files above.

    Basic and Extended. JLCPCB keeps its Basic parts loaded on the assembly machines and charges nothing extra for using them. Every different Extended part adds a one-off $3.07 to the order, however many boards are made. The exception is an Extended part marked "Preferred", which carries no fee on the Economic assembly service this plan uses. All the resistors, capacitors and lights here were chosen from the Basic list for that reason.

    Where each value comes from. The page's wiring section fixes most of these. Where it did not, or where the reason matters, the working is here.

    The shoulder switches are still the parts most likely to wear out first. Half a million presses is five times better than the first switch considered, but a heavily used R1 will get there one day. They are small and easy to re-solder. Their click is also very short, about 0.12 mm of travel, which is normal for this kind of switch.

    Fitted by hand, and everything else in the box

    What one finished controller holds besides the parts above, and what to buy for a batch of 30 with sensible spares. The 13 printed pieces are listed under Printing; they come out of the filament in this table.

    ItemExactly what to buyWhereFor one controllerTo buy for 30Cost in oneNotes
    This table needs JavaScript. The same list is in bom.json.

    What is left over after 30: 3 sticks, 10 thumb caps, 2 batteries, 3 pad sets, 20 inserts, 80 of the longer screws and 40 of the shorter, most of the roll of tape, and whatever filament the failed prints did not use. The spare sticks, batteries and pads are the parts most likely to be needed for a repair later.

    Tools and consumables, bought once

    Needed once for the whole batch, however many controllers are made. Borrow what you can.

    ItemWhat to buyWhereWhat it is forPriceNotes
    This table needs JavaScript. The same list is in bom.json.

    What to buy first, with links

    Real listings found on 14 November 2026. "Read" means the listing page itself was opened and showed that price; "search result" means the price was only seen in a search summary, because the shop's page would not load. Check each before you pay. Nothing here is sponsored.

    For the breadboard prototype

    ItemListingSellerPriceChecked
    Development board, 1ESP32-C6-DEVKITC-1-N8DigiKey$9.00Read; in stock
    Stick, 2YTL YHE-YG13-013 (Hall), LCSC no. C42410941LCSCabout $2.20 eachPart page read; price from a search result. The page does not say whether the click switch is fitted: check the datasheet
    Stick, quicker but dearerGuliKit TMR Joystick for DualShock 4, 2 sticks and 2 capsiFixit$29.99Read; ships from the US
    Rubber pads, 2 setsSuper NES Controller Silicone MembranesHand Held Legend$2.99 a setRead
    BreadboardFull Sized Premium Breadboard, 830 tie pointsAdafruit$5.95Read; in stock
    Jumper wiresJumper Wires Standard 7" M/M, 30 packSparkFun$3.50Read; in stock
    Push buttons, 12Mini Pushbutton SwitchSparkFun$0.50 eachRead; in stock
    USB-C cable that carries dataUSB Type A to Type C Cable, 1 mAdafruit$4.95Read; in stock
    Thumb capsPS4-style replacement thumbstick caps, 20 packeBayabout $5.50Search result only. Fit on a 4 mm D-shaped shaft not confirmed

    That is about $50 with the LCSC sticks. No ready-made adapter was found that lets this kind of stick plug into a breadboard, so the prototype starts with a first soldering job: eight thin wires onto the stick's pins.

    Tools

    The full list, with links and prices, is under Tools and consumables, bought once in the parts list: about $180 if you own none of it. For the breadboard prototype the soldering iron, solder, cutters and the practice kit are enough.

    For the two prototype units and the batch

    Options for each part

    Two or three choices for everything you buy, with the one this plan assumes marked Pick. Prices are from the listing pages on 14 and 15 November 2026 unless a row says "search result", which means the shop's page would not load and the price is unconfirmed. The picks that go on the board were checked again in JLCPCB's parts library on 16 November.

    Stick

    OptionListingSellerPer stickWhy you would choose it
    Pick: cheapestYTL YHE-YG13-013 SH3B166A5, HallLCSC$1.69 at 30; $1.47 at 80; $2.25 for oneThe one the board's holes are drawn from, with a full datasheet. 460 in stock. Ships from China with the other LCSC parts
    Lower powerYTL YTMR-YG13-006 SH3B174A5, TMRLCSC$2.62 at 30Same holes and pin order, a tenth of the current. Only 22 in stock when checked, not enough for a batch; the better-stocked TMR, YTMR-YG13-010 SH3B174A3 (C52677831, $2.86 at 30), has its two sensors wired opposite ways round, so the board would need changing
    Small packs, quickerAKNES HallPi V7 TMR Joysticks, without capAKNES$3.00 ($5.99 a pair)Sold as controller repair parts. Check the pin order against the board before soldering: these are made for a PlayStation or Xbox board
    Best known brandGuliKit V6 TMR Joystick, 1 pair (NS51)AKNES; also Hand Held Legend with caps at $16.49 a pair$5.50 to $8.25The brand most repair guides use. Same caution about pin order

    Parts on the board

    JobOptionLCSC no.Each, at 30 to 50Why you would choose it
    Radio modulePick: ESP32-C6-WROOM-1-N8C5366877$3.49Same module as the development board, 8 MB of storage, 4,200 in stock
    ESP32-C6-WROOM-1-N4C6034714$3.26Drops straight in and saves $0.27. Set Flash Size to 4 MB when flashing; the firmware needs 0.7 MB. The N16, the external-antenna and the MINI versions are not accepted on JLCPCB's cheap assembly service
    Shoulder switchPick: SHOU HAN TS3819ZJC6386917$0.10500,000 presses, the longest life found. Very short travel, 0.12 mm
    Alps SKRTLAE010, or Panasonic EVQP7C01PC110293, C388883$0.12, $0.15A little more travel (0.2 mm), but rated 100,000 presses. Different footprints
    Select, Start, HomePick: XUNPU TS-1088-AR02016C720477$0.04A Basic part (no fee), 100,000 presses
    Panasonic EVQP2202MC528967$0.301,000,000 presses. Slightly larger, 4.7 × 3.5 mm
    ChargerPick: TP4056 with a transistor and diode beside itC16581$0.19 at 30; $0.15 at 50Cheap, easy to solder and inspect, well understood. A "Preferred" Extended part, so no fee
    TI BQ24075C2865459$0.97Powers the controller and charges the battery at once by itself, replacing the transistor and diode. A tiny no-lead package, harder to check or rework
    3.3 V regulatorPick: ME6211C33C82942$0.06500 mA; uses 60 µA itself. An Extended part
    Richtek RT9080-33C841192$0.10Uses 2 µA itself, which would cut the sleeping drain from about 75 µA to about 17 µA. Input limit 5.5 V, which this circuit stays under. Check its pin order against the ME6211 before swapping
    USB protectionWorth adding: USBLC6-2SC6 (TECH PUBLIC)C2827654$0.04Shields the USB data pins from static when a cable is plugged in. Not in the first design; it adds one Extended part fee to the order (about 10 cents a board at 30)
    Battery socketPick: XYECONN XY-S2B-PH-SM4-TBC54582899$0.05A copy of the JST part with the same pad positions on its drawing. 3,134 in stock at JLCPCB on 16 November 2026
    JST S2B-PH-SM4-TB(LF)(SN)C295747$0.20The original, and the one to use when it can be had. On 16 November 2026 JLCPCB had none and LCSC had 15, which is why it is no longer the pick
    Green charge lightPick: KENTO KT-0805G, size 0805C2297$0.02A Basic part, so no fee. One size larger than the other two lights
    KENTO KT-0603G, size 0603C12624$0.01The same size as the others, but an Extended part: it adds $3.07 to the order

    Battery

    OptionListingSellerEachSize, and what to know
    Pick: fits the caseLithium Ion Polymer Battery 3.7 V 1200 mAh 603450PMD Way$7.41 in a 10-pack ($74.11); $23.64 for one50 × 34 × 6 mm, JST-PH 2.0 plug. Ships from China or Hong Kong in 3 to 4 weeks. The listing does not say whether a protection board is fitted or which way the plug is wired
    Confirmed and quickLithium Ion Polymer Battery 3.7 V 500 mAhAdafruit$7.16 in tens; $7.95 for one29 × 36 × 4.75 mm, protected, JST-PH, in stock in the US. Fits the pocket with room to spare, for roughly 12 hours of play
    Most capacity, wrong shapeLithium Ion Polymer Battery 3.7 V 1200 mAhAdafruit$8.96 in tens34 × 62 × 5 mm: 8 mm too long for the pocket as drawn. Usable only if you lengthen battery_box in the case model and check it clears the stick's pins
    Cheapest, unconfirmed"603450 1200 mAh PH2.0" cells from Amazon or AliExpress sellersAmazon, AliExpressabout $3 to $5Search results only. Often good value, but check for a protection board and test the plug's polarity on every one

    No US shop that could be checked stocks a protected 603450 cell with the right plug. Whichever you buy, test the plug with a multimeter before it goes near the board.

    Development board for the breadboard prototype

    OptionListingSellerPricePins
    PickESP32-C6-DEVKITC-1-N8DigiKey (Adafruit lists it at $9.95, out of stock)$9.00Carries the same module as the finished board and brings out every pin the firmware uses
    Smaller, cheaperESP32 C6 Supermini Dev BoardAmeriDroid$6.95No GPIO10, so L1 has nowhere to go without changing the sketch
    SmallestSeeed Studio XIAO ESP32-C6Seeed Studio$5.20Too few pins on its edges for this controller. Good for other projects, not this one

    Rubber pad

    OptionListingSellerPer setWhat is in it
    PickSuper NES Controller Silicone MembranesHand Held Legend$2.99D-pad, the four-button pad this design uses, Start / Select, and both shoulder pads
    Same priceSilicone Pads for Super NintendoRetro Modding$2.99D-pad, four-button pad and Start / Select
    BulkLot of 100 replacement rubber button sets, SNES controllereBayabout $2.25Search result only. Ask the seller for a photo of the four-button pad before buying a hundred

    Pads from different makers differ slightly: one buyer's review measured a 4 mm carbon pill where the original has 5.1 mm. Buy all the pads for a batch from one seller, after measuring a sample.

    Inserts, screws and filament

    ItemOptionSellerPriceNotes
    M2 brass heat-set insertsPick: Heat Set Inserts, M2 short, 100 pcsPrusa$11.99CNC Kitchen's design. The M2 × 3 insert is 3.0 mm long and 3.6 mm across, and wants the 3.2 mm hole the case already has
    ruthex Threaded Insert M2, 70 pieces, M2 × 43DJake$8.79Search result only. 4 mm long: fits, since the holes are 4.5 mm deep
    M2 screws, 8 mm and 6 mm longPick: socket head cap (ISO 4762), stainless, packs of 100. A pan head (ISO 7045) also fitsMcMaster-Carr, Zoro, Amazonabout $10 to $45 a hundredPrices vary wildly for the same screw; none could be confirmed from a listing page. The socket head is 3.8 mm across and the pan head 4.0 mm, in a 4.4 mm recess, so the socket head has more room in a printed hole, and a hex key stays in it at the bottom of the deep grip holes
    PETG, 1 kgCheapest: Overture High Speed PETGOverture$14.99
    Pick: Polymaker PETGPolymaker$18.99
    Most consistent: Prusament PETG Jet BlackPrusa$23.99Tight diameter tolerance, so clearances come out the same on every case
    Tougher in heatPolymaker ASAPolymaker$24.99Holds its shape to about 100 °C. Needs an enclosed printer and ventilation
    Hides layer linesFiberon PETG-rCF08 (carbon-fibre filled)Polymaker$19.99Matt finish that hides layers well. Needs a hardened nozzle

    Soldering and bench tools

    ItemOptionSellerPriceNotes
    Soldering ironCheapest: Soldering Iron, 30 WSparkFun$11.50No temperature control. Enough for the practice kit; not what you want for 30 sticks
    Pick: Adjustable 60W Pen-Style Soldering IronAdafruit$19.95Adjustable, plugs into the wall
    Better: Pinecil V2Pine64$25.99Heats in seconds and holds its temperature. Needs a USB-C charger that gives 20 V at 3 A, such as Pine64's PinePower 65 W ($24.99), and a cable
    Bench station: Weller WLSK3012A, or Hakko FX-888DXSparkFun$64.95; about $125Worth it only if you expect to keep soldering after this project. Hakko price from a search result
    SolderPick: SAC305 lead-free, 0.031", rosin core, 100 gAdafruit$29.95Lead-free needs the iron about 20 °C hotter and flows less easily
    Leaded 63/37, 0.031", 100 gSparkFun$24.95Easier to learn with. This one has a water-soluble core: wash the joints with water afterwards. Wash your hands after handling leaded solder
    Flux and wickChip Quik no-clean flux pen; solder wick 0.8 mmAdafruit$7.95; $2.95Flux makes a reluctant joint flow; wick removes a mistake
    MultimeterPick: Digital Multimeter - BasicSparkFun$21.50
    Pocket Autoranging Digital MultimeterAdafruit$24.95Picks the range for you
    CalipersPick: Solar Digital CalipersAdafruit$14.95
    Digital Caliper, 0 to 150 mmiFixit$39.95Reads to 0.01 mm
    Holding the workPCB clamp holder, Pro's Kit SN-390; or a "helping hands" standAdafruit$19.95; $6.95The clamp is much the better of the two for a board this size
    BenchInsulated silicone rework mat; safety glassesAdafruit; SparkFun$9.95; $5.10Wear the glasses when cutting leads: the offcuts fly
    Charger for the controllerAny 5 V USB charger or computer port; for example 5 V 1 A USB power supplyAdafruit$5.95The controller takes under 0.4 A and does not need a fast charger

    Who makes the board

    ServiceBoardsAssemblyNotes
    Pick: JLCPCBYesYes, from its own parts stockThe parts list on this page uses its part numbers. Charges US import duty at checkout
    PCBWayYes; advertises $5 for 10 small boardsYes; advertises $29 for 20 boards, 3 to 5 days, parts bought from DigiKey, Mouser and othersThe nearest like-for-like alternative. The parts list would need re-matching to its suppliers
    Seeed FusionYes; $9.90 for 10 small boardsYes, from 7 working days, with free shipping on assembly ordersNo minimum order
    AislerYes, made in Europe, from €14.20Yes, within 6 business daysFree worldwide shipping; made outside China, which may matter for duty
    OSH ParkYes, made in the US, gold finish as standard: $5 per square inch for three boards, so about $43.50 for three of theseNoGood for the first three bare boards if you are willing to solder every part by hand, which is a hard first project

    None of these sites said how they handle US import duty, and none has quoted this board. The advertised prices are for small simple boards; treat them as a guide to which to ask for a quote.

    Wiring and pin assignments

    Every button connects its pin to ground when pressed; the chip's built-in pull-up resistors hold the pins high otherwise. These numbers are the ESP32-C6's GPIO numbers and are the ones the firmware uses. The letters in brackets (R6, C10 and so on) are the references in the parts list.

    PinConnects toNotes
    GPIO0L2 switchCan also read a voltage, for a future analog trigger
    GPIO1R2 switchSame
    GPIO2Stick X outputThrough a 1 kΩ resistor (R16), with 100 nF (C10) from the pin to ground
    GPIO3Stick Y outputSame filter (R17, C11)
    GPIO4L3, the stick's click switch
    GPIO5Home button100 kΩ pull-up to 3.3 V (R6); wakes the controller from sleep
    GPIO6Battery voltageBattery + through 1 MΩ (R8), then 1 MΩ (R9) and 100 nF (C12) to ground, so the pin sees half the battery voltage
    GPIO7Start button100 kΩ pull-up to 3.3 V (R7); also wakes the controller
    GPIO8Gate of the stick's power transistor (Q2)10 kΩ pull-up to 3.3 V (R12). Low = stick powered. The chip also needs this pin high at start-up, which the pull-up provides
    GPIO9BOOT button (inside the case)10 kΩ pull-up (R11). Held at power-on, it forces the chip into flashing mode: the way back in if firmware ever goes wrong
    GPIO10L1 switch
    GPIO12USB D−Straight to the USB-C socket
    GPIO13USB D+Straight to the USB-C socket
    GPIO15Status lightThrough 1 kΩ (R15) to the white LED (LED1), LED to ground. High = on
    GPIO16, 17Test pads (serial TX, RX)Not used by the firmware; handy for fault-finding
    GPIO18Top face button (triangle position)Gold contact pattern under the pad
    GPIO19Right face button (circle position)Same
    GPIO20Bottom face button (cross position)Same
    GPIO21Left face button (square position)Same
    GPIO22R1 switch
    GPIO23Select button
    EN10 kΩ to 3.3 V (R10), 1 µF to ground (C6)Holds the chip in reset for a moment at power-on
    3V3, GNDRegulator output, ground22 µF (C5) and 100 nF (C7) right at the module's power pin
    USB-C5 V in TP4056 charger3 kΩ = 0.37 A Battery 1,200 mAh+ protection chip D1 diodeUSB to rail Q1 transistorbattery to rail 3.3 V regulatoron/off pin = switch Slide switchcarries no power ESP32-C6 module Q2, then the stickoff while asleep system rail battery + also feedsGPIO6 (two 1 MΩ)
    How power flows. With the cable in, the controller runs from USB while the battery charges; with it out, Q1 connects the battery. Charging works with the switch off.

    The rest of the circuit, connection by connection

    Firmware

    One Arduino sketch, about 500 lines, with every setting at the top: download daedalus.ino.

    Show the code
    Loading…

    What it does

    Settings at the top of the sketch

    NameSet toWhat it changes
    DEVICE_NAME"Daedalus"The name shown in Bluetooth settings
    STICK_INVERT_X, STICK_INVERT_Y, STICK_SWAP_XYfalseFlip these if a direction comes out backwards or the axes are swapped on your board
    INNER_DEADZONE0.08How much of the travel round the centre reads as zero. Set just above the 6.3 % the stick is specified to re-centre within; raise it if anything creeps with the stick at rest
    OUTER_DEADZONE0.04How close to the edge already reads as full
    STICK_CURVE1.01.0 follows the stick exactly. 1.5 gives finer control near the centre
    DEBOUNCE_MS5How long a button is ignored after it changes. Raise to 8 if a worn button double-presses
    TX_POWER_DBM3Radio power. Raise for more range, at the cost of battery life
    IDLE_SLEEP_MS, SEARCH_SLEEP_MS10 minutes, 3 minutesHow long before it sleeps when untouched, or when no computer is found

    Setting up and flashing

    1. Install the Arduino IDE 2.
    2. In Boards Manager, install "esp32" by Espressif Systems (version 3). In Library Manager, install "NimBLE-Arduino" by h2zero (version 2).
    3. Put daedalus.ino in a folder with the same name, daedalus, and open it.
    4. Under Tools: Board "ESP32C6 Dev Module"; USB CDC On Boot "Enabled"; CPU Frequency "80MHz (WiFi)"; Flash Size "8MB (64Mb)".
    5. Plug the board in with a USB-C cable that carries data (many charge-only cables do not), pick its port under Tools > Port, and press Upload.
    6. If the port does not appear or the upload fails: hold the BOOT button, switch the controller off and on, release BOOT, and upload again. On a finished controller that means taking the back off first; it should only ever be needed if firmware has gone badly wrong.
    7. Open Tools > Serial Monitor. Twice a second the controller prints which buttons are down, the stick position and the battery level. Use this to check a board before it goes in a case.
    8. On the computer, open Bluetooth settings and add "Daedalus". On Windows, joy.cpl (Set up USB game controllers) shows every button and axis.

    If you prefer PlatformIO to the Arduino IDE, the folder also has a platformio.ini that pins the exact versions: put it beside the sketch and run pio run -t upload.

    On a breadboard first

    For the batch, flash the first board from the Arduino IDE, then use Sketch > Export Compiled Binary and Espressif's free esptool to write that one file to the other 29. It takes about 20 seconds a board.

    What "compiles" does and does not mean. The sketch was built for the ESP32-C6 with version 3.3.12 of the esp32 board package and version 2.5.2 of NimBLE-Arduino, with no errors or warnings. That catches typing mistakes, not behaviour. Pairing, the report layout, sleep and calibration all still need checking on a real board, which is step one of what to do first.

    Test a controller in the browser

    Pair the controller with this computer, press any button on it, and this box shows what the browser receives, using the controller's own button order. It works with any gamepad, so you can try it now with one you already own (the names will not match).

    No controller seen yet. Press a button on it.

    The circuit board

    Software

    Use EasyEDA (free, runs in the browser). It is made by the same company as JLCPCB and the LCSC parts shop, so every part in the list below can be dropped in by its "C" number with a correct footprint, and the order files for assembly come out with one click. KiCad is the stronger tool and worth learning later, but for a first board that a factory will assemble, EasyEDA removes the two most common beginner mistakes: wrong footprints and wrong part rotations.

    The board

    Numbers to draw it to

    ItemValueNotes
    Signal tracks0.25 mm wide, 0.2 mm apart or moreWell inside what JLCPCB can make, so a small error still gets made correctly
    Power tracks0.5 mm; 0.8 mm for USB power and the batteryThe radio draws short bursts of a few hundred milliamps
    USB data pair0.25 mm tracks side by side, under 20 mm long, same length within 1 mmAt this short length nothing more exact is needed
    Vias0.3 mm hole, 0.6 mm pad
    GroundFilled copper on both layers, stitched together with vias every 10 mm or soNot under the antenna, and not under the face contacts' combs
    Copper to board edge0.4 mm or moreExcept the USB-C socket and shoulder switches, which sit at the edge by design
    Capacitors22 µF + 100 nF (C5, C7) within 3 mm of the module's 3V3 pin; 10 µF at the regulator's input and output (C3, C4); 10 µF at the charger's input and at the battery (C1, C2); each 100 nF right beside the pin it serves
    White printLabel the battery socket + and −, every test pad, and the board's versionThe + and − marks are what you check the battery plug against

    Where everything goes

    The case model and the board are drawn from one list of numbers, so they cannot drift apart. This drawing and table are read from that list (layout.json); board.dxf is the board's outline and holes, ready to import into EasyEDA or KiCad as the board edge. Positions are in millimetres from the board's bottom-left corner, seen from the front.

    The drawing needs JavaScript. The numbers are in layout.json.

    Board, front side. Change a number in the case model, run it again, and this drawing, the board outline and the case all move together.
    PartXYNotes

    Ordering from JLCPCB

    1. In EasyEDA, run the design check until it reports no errors, then choose "Order at JLCPCB". (From KiCad: export Gerber files, a parts list and a placement file.)
    2. On the order form: base material FR-4; 2 layers; 108 × 46 mm; thickness 1.2 mm; surface finish ENIG; outer copper 1 oz; any colour; leave everything else as it is.
    3. Turn on PCB Assembly: "Economic", top side. For the first order choose 5 boards with 2 assembled; for the batch, assemble all.
    4. Check the parts list it matched, line by line, against the parts list on this page. (If you drew the board outside EasyEDA, daedalus-bom-jlcpcb.csv is that list as a file to upload.) "Basic" parts carry no extra fee; each different "Extended" part adds a small one-off fee to the order. If a part is out of stock, pick the suggested equivalent and check its footprint is the same.
    5. Look at the placement preview carefully. Check the dot or notch on every chip, the direction of the diode and LEDs, and that the USB-C socket faces off the board. Wrong rotation is the classic first-order mistake.
    6. Pay. Boards usually arrive in one to two weeks. The price at checkout includes any import duty for your country: use that number, not an estimate.

    The case

    Two shells, front and back, that screw together with the board trapped between them. The fourth version is modelled and ready to download below. To change it, edit the numbers in the model and run it again. Version 4's shells are sculpted, so they exist only as printable STL files; versions 2 and 3, further down, also come as STEP files that open in any 3D design program (Onshape and Fusion are free for personal projects, and FreeCAD is free for any use, which matters if you sell).

    Case files, version 4

    Drawn, not yet printed. These files come from datasheets and estimates. Print coupon.stl first: a small test piece with one button hole, one Select hole, one insert post and the USB-C opening. Then check the sizes marked MEASURE in the model against your real stick, pad and switches before printing a whole case.

    What changed from version 3. The outline, the board and every part position are the same; the surfaces are not. Version 3 was a flat slab with rounded edges. In version 4 the front is a shallow dome, highest between the stick and the buttons, falling 2.6 mm to each side and nearly 6 mm down the grips. The back is flat in the middle, where the battery lies, and swells 7 mm into each palm. Each edge rolls over in one curve, 5.5 mm on the front and 8 mm on the back, with no flat step. The wall is 2 mm thick everywhere, so the inside follows the outside. Each face button's top is cut to the curve where it sits, which is why there are now four different ones.

    Through the middle 22.2 mm Through a grip 27.4 mm frontback top edge grip tip board
    The case cut from front to back, seen from the side, with the top edge on the left: through the middle, and through the right-hand grip 50 mm from the centre. The outer wall and the board only; posts and parts are left out. Drawn from the model.

    What it costs. A flat face can lie on the printer's plate; a curved one cannot. Both shells now print with the open rim on the plate and supports inside, which uses more plastic and time, and the gently sloping faces show fine contour lines, like a map's, where each layer ends. See Printing for how to make the best of that. If the finish matters more than the shape, version 3 is still here.

    Earlier versions, kept for reference. Each model writes its own shells, buttons and board files when run.

    Before any plastic: open template.svg in a browser, print it at 100 % (the page has a 50 mm bar to check with a ruler), cut it out and hold it. It shows the real size and how far your thumbs have to reach.

    The model is a Python program in two files. It uses the free CadQuery library for the exact parts (holes, posts, slots, buttons) and four more free libraries (numpy, scipy, scikit-image and manifold3d) for the sculpted surfaces; the install command is at the top of the file. Every size is a named number: the button spacing, the height of the rubber domes, the insert diameter, the battery pocket, and the height and spread of the dome and the palm swells. Change a number, run it, and it writes every file above again in a few minutes.

    To turn the case round in 3D and watch it go together part by part, use the workbench near the top of this page. Its "Floor plan" tab shows where every hole, post and part sits.

    Dimensions

    FeatureSizeWhy
    Outside125 wide × 78 tall; 22.2 mm thick in the middle; 29.2 mm from the crown to the bottom of the palm swells. Shoulders sweep round at a 22 mm radius; the sides flare 3.5 mm to the heel of the hand; grips end in full roundsFits any printer with a 130 mm bed
    Front faceA dome 11.0 mm above the board at its highest, 8.4 mm at the left and right ends, 10.2 mm at the top edge, and about 5.3 mm over the gripsThumbs rest on a surface that falls away from them, as on a moulded controller
    Back faceFlat in the middle, 10.0 mm behind the board; a swell in each grip standing 7 mm further out, centred 50 mm from the middleThe swells fill the palms, so the fingers wrap round something
    Walls and edges2.0 mm walls throughout. The front rolls into the sides at a 5.5 mm radius, the back at 8 mm. Hole rims eased by 0.5 mmNo flat step anywhere on the outside
    Front of board to inside of front shell8.3 mm at the stick and the face buttons, 9.0 mm under the crownRoom for the stick's body and the button caps. Confirm against your stick
    Back of board to inside of back shell8.0 mm in the middle, more in the grips6 mm battery, 0.6 mm of tape under it, and 1.4 mm above it so it clears the USB-C socket's solder legs
    Stick opening25 mm circle, its rim thickened to 4 mm by a ring inside the shellThe rim takes sideways knocks so the stick's solder joints do not
    Face button holesCap diameter + 0.5 mm; caps 10.6 mm acrossFree movement without rattle. Print the coupon first
    Button capsA base 2.4 mm wider than the hole, with one flat that runs against a rib in the shell. Each top follows the curve of the case, 2.6 mm proudThe base stops the cap coming out; the flat stops it turning, so its sloped top stays lined up with the case
    USB-C opening9.4 × 3.6 mm, in a 13 × 6.6 mm pocket 1.4 mm deepThe socket's mouth sits just inside the wall, so the pocket lets the moulded end of a cable push fully home
    Slide switchIn a 9 × 4 mm pocket 1.4 mm deep; move it with a fingernailSo it cannot be knocked on in a bag
    ScrewsSix M2 socket head screws into brass heat-set inserts: four, 8 mm long, pass through the board's holes; two, 6 mm long, sit in the grips, where there is no board between the shells. All six heads seat at the same depth, so the two in the grips are at the bottom of holes 4.4 mm wide and about 13 mm deepScrews cut straight into printed plastic strip after a few openings; inserts do not. The deep holes need a hex key or driver with a thin shaft

    How the parts mount

    Printing

    SettingValueWhy
    MaterialPETGPLA softens at about 55 °C, which a car in summer reaches. PETG is tougher and bends before it snaps
    Nozzle and layers0.4 mm nozzle; 0.12 mm layers for the shells and the face buttons, 0.2 mm for the rest. If the slicer has variable layer height, use it on the shellsThe curved faces are built from steps one layer high. Thinner layers make the steps smaller and the contour lines closer and fainter, at the cost of a longer print
    Walls4 perimeters, 5 top and 5 bottom layersThe 2 mm walls come out solid
    Infill25 %, gyroidOnly the posts and button bases have any inside to fill
    TemperaturesNozzle 235 to 245 °C, bed 75 to 85 °C; use the filament maker's figures
    Cooling and speedFan about 40 %; outer walls at 40 to 60 mm/sPETG strings and goes brittle with too much fan
    SupportsBoth shells: on, "from the build plate only", tree or organic style if the slicer has it. Buttons and coupon: noneEach shell is an upside-down bowl on the plate, so its whole roof needs holding up. Everything the supports touch is inside the case. The posts hang from the roof, so their ends are printed on supports too
    PlateAny; textured PEI releases PETG most easilyOnly the two rims touch the plate now, so the plate no longer sets the finish of the faces
    First layerTurn on "elephant foot compensation", about 0.15 mmStops the two rims printing oversize, which would leave a ridge where the shells meet
    Top surfaceIroning off for the shellsIroning only works on flat tops; on a curved face it leaves patches
    PartHow manyWhich way up
    Front shell1As drawn: rim on the plate, front face up
    Back shell1Turned over: rim on the plate, back face up (use the slicer's "place on face" tool on the rim)
    Face buttons1 each of top, right, bottom, leftAs drawn, wide base on the plate. Mark each one underneath as it comes off the printer; they differ by less than a millimetre
    Select / Start button, Home button2 and 1As drawn, base on the plate
    Shoulder buttonsL1, R1, and 2 of the L2 / R2 partAs drawn, lying on the flat top face
    Coupon1, firstFlat

    Assembly, step by step

    The factory has already soldered every small part. Per controller, you solder one part (the stick) and assemble.

    1. Look the board over. Check the USB-C socket and the module are flat and straight.
    2. Flash and test the bare board before soldering anything. Plug it in, upload the firmware, open the Serial Monitor, and press each switch with a fingertip; bridge each gold face contact with the tip of a metal screwdriver. Every one should show up.
    3. Solder the stick. Push it flat against the board, solder one frame leg, check it is still flat, then solder the other 13 joints. Iron at about 350 °C, 2 seconds a joint.
    4. Check the battery plug with a multimeter before it ever touches the board. Red must line up with the pad marked +. Sellers do not agree on which way round this plug is wired, and a reversed battery destroys the board. If it is reversed, lift the two metal tabs out of the plug housing and swap them.
    5. Plug in the battery, switch on. The light should blink slowly. Pair it with a computer and check every input in joy.cpl or a browser gamepad tester.
    6. Calibrate the stick: hold Start + Select for 3 seconds and follow the light.
    7. Charge test: plug in USB with the switch off. Red light on; it turns green when full.
    8. Set the six brass inserts into the front shell's posts with the soldering iron at about 220 °C. Press gently and let the heat do the work.
    9. Load the front shell, lying face-down: the four button caps, each in its own hole (top, right, bottom, left, as you hold the controller), the silicone pad, the four shoulder plungers, the small button caps, then lower the board onto its posts.
    10. Fit the battery into the back shell with foam tape, bring its lead up through the notch in the board's bottom edge, plug it into the socket beside the notch (the plug goes in from the left), and close the case without trapping the lead. Six screws, the two shorter ones in the grips; snug, not tight.
    11. Push on the thumb cap and run the full test once more.

    Time: the first one will take over an hour. Once practised, expect about 20 to 25 minutes of hands-on work per controller, so roughly 12 hours for 30, plus about 200 hours of unattended printing and a few minutes each of support removal.

    Tools you need: the list is under Tools and consumables, bought once. Practise on a solder practice kit first; the stick is not the part to learn on.

    Cost at 10, 30, 50 and 200

    The $10 to $15 target is not met. A realistic figure at 30 units is $23.20 to $27.60 per controller with US import duty, depending on the battery: $23.20 if a $3 cell from Amazon or AliExpress proves good, $27.60 with the cheapest cell whose price could be confirmed ($7.41). Even at 200 units it is about $15.50 before duty with the cheap cell. Four things set it: the radio module ($3.49), the battery, the rubber pad ($3), and the 35 % US import duty JLCPCB adds to boards and assembly at checkout.

    BatchPer unit, before US dutyPer unit, with dutyWhole batch, with dutyBoard assembly service
    10about $28about $32about $320Economic
    30about $20.40about $23.20about $695Economic
    50about $18.50about $21about $1,050Economic (its limit)
    200about $15.50about $17.50about $3,500Standard

    JLCPCB's cheap Economic assembly service stops at 50 boards. Beyond that it is the Standard service, which costs more to set up and needs edge rails added to a board this narrow; at 200 the larger quantity more than pays for that.

    The table assumes the $3 battery. With the $7.41 one, add $4.40 to every row. Treat every figure as within about $3 either way: shipping, the bare-board price and the screws' price are estimates too.

    These rows count the parts that go into each controller. Spares and part-used packs come on top: about $60 for a batch of 30, worked out under the parts list, so expect to spend about $755 in all on 30.

    Revised on 16 November 2026, when every part was listed and priced one by one. The rows went up by about $1, almost all of it in the case: six brass inserts cost $0.72 and six screws about $0.60, where the first estimate allowed $0.35 for both and the tape, and a case takes 75 g of filament, not 70 g. On the board the changes nearly cancel: the parts add up to 7 cents more, and the charger turned out to be a part with no Extended fee. Only the 30-unit row was added up again part by part; the other three were raised by the same dollar.

    Where the $23.20 goes, at 30 units

    ItemPer unitHow firm
    Parts on the board: all 50$5.07JLCPCB's prices on 16 November 2026, added up in the parts list
    Factory fees: set-up $8.18, stencil $1.53, $3.07 for each of 7 Extended parts, and about $0.30 a board to solder some 170 joints$1.34JLCPCB's published fees. The eighth Extended part, the charger, is a "Preferred" one and carries no fee
    Bare boards, 108 × 46 mm, 1.2 mm, gold finish$1.50Estimate; the real figure comes from the quote page
    US import duty, 35 % of the three lines above$2.77JLCPCB's stated rate; exactly what it is charged on is not stated
    Shipping the boards$1.65A guess. JLCPCB only shows shipping at checkout, and one buyer reported $169 for express shipping on a 50-board assembled order in April 2026
    Stick and thumb cap$1.97Listed price for the Hall module at 30 ($1.69), plus a cap at $0.28 from a search result
    Battery$3.00Unconfirmed (Amazon or AliExpress). $7.41 from the cheapest listing that could be read
    Rubber pad$2.99Listed price for one set
    Case: 75 g of filament, 6 inserts, 6 screws, tape and a drop of clear glue$2.89Filament ($1.42) and inserts ($0.72) from listings; screws ($0.60), tape and glue to confirm
    Total$23.18Call it $23.20

    Ways to bring it down: a 600 mAh battery saves about $1 and still gives several long evenings of play; buying pads in a lot of 100 saves about $0.75 each; ordering 50 boards instead of 30 saves about $2 a unit. Not worth cutting: the gold board finish, the protection chip, the brass inserts.

    One-off costs not in the table: the breadboard prototype (about $50), the 5-board prototype order (roughly $70 to $110 with shipping and duty) and tools (about $180 if you have none).

    Making the case in quantity

    BatchCheapest methodWhat it takes
    10Your own printerAbout 35 hours of printing, $15 of filament
    30Your own printerAbout 100 hours: two weeks of printing a few a day
    50Your own printerAbout 175 hours. Print two cases per plate overnight
    200Still printing, on two or three printersAbout 700 printer-hours. A second budget printer pays for itself here

    Printing stays the cheapest method at every one of these quantities. A print service making the shells in nylon would cost several dollars a case; get a quote before deciding. Injection moulding needs steel tools costing thousands of dollars and only becomes the cheapest route at around a thousand units or more.

    If you sell them

    This is the part most hobby write-ups leave out, and it changes the answer. This is general information, not legal advice.

    Honest trade-offs against a store-bought controller

    What to do first

    1. Breadboard it (about $50). Buy one ESP32-C6-DevKitC-1 development board (it carries the same module), two sticks, one rubber pad set and a handful of push buttons. Wire them to the pins in the table, flash the firmware and get it working as a gamepad on your computer. This proves the firmware and tells you how the stick and pad feel before any money goes on boards. The shopping list has every item.
    2. Measure, and print the coupon. With calipers, measure the pad (dome spacing, pill size, peg positions) and the stick. Put those numbers into the case model, run it, and print the test coupon and one case.
    3. Draw the board and order 5, with 2 assembled (roughly $70 to $110 with shipping and duty). Build two complete controllers with printed cases. Expect to find at least one mistake; that is what this order is for.
    4. Use those two for a few weeks, in a bag, every day. Fix what breaks.
    5. Then order the 30.

    Sources for the figures on this page are the parts' datasheets, the JLCPCB and LCSC sites, the Bluetooth SIG fee schedule, Apple's Accessory Design Guidelines and Microsoft's Bluetooth accessory guidelines, read in November 2026. Prices and rules change: check them again before you order or sell.