
Wired sculpt
chadaustin/wired-sculpt-pcb
KiCad design files for the Wired Sculpt conversion mod

This repository contains the schematic and layout files for the Microsoft Sculpt Wired Conversion Mod.
Wired sculpt is an open-source printed circuit board by frgrw, from the frgrw/reiyyeesr repository on GitHub. It is a 2-layer board of 40 × 54 mm with 38 parts on 83 nets, routed with 353 tracks and 17 vias.
It is built around the AT90USB1286-AUR, USBLC6-2SC6 and 2N7002BK,215-VB, with the BSS84AK,215(ES), CL21A475KOFNNNE and CL21B103KBANNNC among its other parts. Its parts include 13 resistors, 12 capacitors, 3 ICs, 3 connectors and 2 transistors. It belongs with the AVR (ATmega, ATtiny) boards of this library.
This repository contains the schematic and layout files for the Microsoft Sculpt Wired Conversion Mod.
To get the board manufactured:
rev6 board with USB-C
Also has some adjustments to board layout, and removes RST switch header to reduce BOM
rev5 board with minor updates.
Rearrange the board layout to fix some Design Rule Check failures and extend the board to match the full layout of the original PCB. A few parts were replaced too, due to supply shortages. No functional changes were made.
The rev4 board design is complete.
When I upgraded the 30-pin ribbon connector to one that fit better, it lowered the resistance to the LEDs. This caused me to burn the microcontroller on a test rev3 board by drawing too much current. So the question became: what values are appropriate for "maximum" brightness on both red and green. Today I found that, given a 5.15V VUSB, whatever resistance in the flex cable, and whatever voltage drop on the LEDs, 150 Ohms gives an even brightness on both red and green. Green draws about 15 mA and red about 10 mA, both within USB low-power spec and the current limits on the microcontroller.
I added an outputs directory containing the different revisions, and gerber files and drill files generated for either PCBWay or OSH Park.
The biggest challenge right now is the chip shortage. Even some of the capacitors I chose are out of stock. The hardest component to acquire is the ESD protection IC: USBLC6-2SC6. The USBLC6-4SC6 is available, but it would require some tweaking to the PCB layout.
On the software side of things, I added an internal ring buffer for debugging the debouncer. It can be dumped to the HID debug channel by holding both shifts and pressing H. I am trying to figure out why, with my custom low-latency debouncer, sometimes "the" comes out as "theb". For anyone that isn't trying to optimize latency as much as me, you can just run with the default QMK debouncer, which I've never seen produce phantom keys.
One thing that annoyed me about the previous board design was that neither LED was hooked up to a PWM-capable pin and that the green one couldn't be driven, since it wants -5V. I want both lights to work and both to be dimmable.
Rev3 includes a charge pump to produce -5V and two MOSFETs that allow switching the green cathode with PWM.
I also figured out how the Fn switch works: it's a resistor divider that toggles 47K pull-down on a pin with a permanent 1M pull-up. Rev3 includes said 1M pull-up, so the firmware can read the Fn switch's state.
Sadly, it looks like there were many arrangements of media keys on the Sculpt over the years, and most of the media keys have nonsensical icons with behavior that differs on each platform. I'll try to make at least volume and play/pause work.
The parts for board rev 3 arrived last week. Some adjustments were required due to the chip shortage, but it's not too bad. The microcontroller is still available at least.
I attempted assembly of one, and it worked fine, but I screwed up the red and green pins, so I cut some traces and bodged in some kynar wire.
Both lights work!
I have not tested PWM. I did observe that twice as much current is being drawn for each light as I expected. I fear 40 mA could burn out the lights, so I plan to measure an appropriate series resistor this week. It's possible I never had this problem before because I was using a worse-fitting ribbon connector previously. In the past, I always measured 100 Ohms on every pin, but never tested the new ribbon connector.
Also, it kind of sucks that the LED brightness is a function of USB voltage (anywhere between 4.6 V and 5.25 V), but I don't want to include a regulator...
Assembly took about five hours for one board. A lot of that was getting my desk set up. I imagine I could do three boards in ... eight? I think if I used a stencil, hot air assembly could go pretty quickly. Especially if I had a preheater like the MHP30.
A couple people have suggested I set up an Etsy, but if I properly priced in hours of my labor, it would get prohibitive. And I don't want to deal with returns and warranties.
Remaining items before I can say the board is done:
In February, I tried pushing latency further than QMK offers out of the box. I switched from the default debouncer to sym_eager_pk, but since then I've observed some false keydowns and occasionally a phantom keypress. It's common for "the" to produce "theb". (Note that I use the Dvorak key layout.) I haven't looked at the matrix, but it's clear some debouncing is needed on keydown.
I'm planning on writing a custom debouncer that requires at least two frames for a keydown to register and at least 10 ms for a keyup. Having never done AVR optimization, I am trying to get a simavr benchmark harness up to make sure I don't regress the scan rate.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | CL10A105KA8NNNC | Capacitor_SMD:C_0603_1608Metric | C4, C5, C6, C9 |
| 3 | CL10B104KB8NNNC | Capacitor_SMD:C_0603_1608Metric | C10, C11, C12 |
| 3 | ERJ-PA3F22R0V | Resistor_SMD:R_0603_1608Metric | R1, R2, R7 |
| 2 | CL10C160JB8NNNC | Capacitor_SMD:C_0603_1608Metric | C7, C8 |
| 2 | ERJ-3EKF5101V | Resistor_SMD:R_0603_1608Metric | R13, R14 |
| 2 | ERJ-3GEYJ331V | Resistor_SMD:R_0603_1608Metric | R6, R10 |
| 2 | ERJ-PA3J151V | Resistor_SMD:R_0603_1608Metric | R11, R12 |
| 2 | ERJ-PA3J472V | Resistor_SMD:R_0603_1608Metric | R3, R8 |
| 1 | 2N7002BK,215 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | AT90USB1286-AUR | Package_QFP:TQFP-64_14x14mm_P0.8mm | U3 |
| 1 | AVR-ISP-6 - NOT FITTED | Connector_IDC:IDC-Header_2x03_P2.54mm_Vertical | J3 |
| 1 | AlignmentHole | MountingHole:MountingHole_3mm | H3 |
| 1 | BSS84AK,215 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | CL21A475KOFNNNE | Capacitor_SMD:C_0805_2012Metric | C1 |
| 1 | CL21B103KBANNNC | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | CL21B104KACNNNC | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | ERJ-3EKF8873V | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | ERJ-PA3J473V | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | EVQ-P7A01P | Button_Switch_SMD:SW_SPST_EVQP7A | SW1 |
| 1 | FFC3B07-30-T | Connector_FFC-FPC:TE_3-84952-0_1x30-1MP_P1.0mm_Horizontal | J2 |
| 1 | LM2776DBVT | Package_TO_SOT_SMD:SOT-23-6 | U2 |
| 1 | MountingHoleNorth | MountingHole:MountingHole_2.2mm_M2 | H1 |
| 1 | MountingHoleSouth | MountingHole:MountingHole_2.2mm_M2 | H2 |
| 1 | TSX-3225 16.0000MF18X-AC0 | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U1 |
| 1 | USB_C_Receptacle | Connector_USB:USB_C_Receptacle_Amphenol_12401610E4-2A | J1 |

chadaustin/wired-sculpt-pcb
KiCad design files for the Wired Sculpt conversion mod


deep-th/CAN_Logger
This is a compact and reliable CAN logger board built for automotive and industrial applications. It features the ESP32-S3 microcontroller and MCP25625 CAN controller with integrated transceiver, supporting two…

vsnrain/ms-keyboard
Custom Microsoft Sculpt compatible board replacement using MS88SF3 NRF52840 microcontroller.

techberet/msft_sculpt_rp2040_stamp_hw
Lots of details available in my (rather long) blog post.

ZigEmbeddedGroup/sycl-badge
The badge for the SYCL conference! https://zigembeddedgroup.github.io/sycl-badge/

EcoApi/EcoApi_BeeHiveMonitoring
describ options with 0R resistors. etc ...

abhinav937/SiC-Based-Bi-Directional-Circuit-breaker
KiCad 7 PCB design files for E_Fuse
It measures 40 × 54 mm and has 2 copper layers, 1.6 mm thick.
38 parts, built around the AT90USB1286-AUR, USBLC6-2SC6, 2N7002BK,215-VB and BSS84AK,215(ES). 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.
From the frgrw/reiyyeesr repository on GitHub, at the commit this page was made from: the board is wired-sculpt.kicad_pcb and its schematic wired-sculpt.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask frgrw before reusing the design.