gokul/macro-six-usbc
A six-key macro keyboard PCB paired with a separate physical enclosure.
- Version
- 0.1.16
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone gokul/macro-six-usbc # download the package files into ./macro-six-usbc
tsci add gokul/macro-six-usbc # add it to your project as @tsci/gokul.macro-six-usbcIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
manufacturing/readiness/ASSEMBLY-AND-BRINGUP.md
# Assembly handoff and prototype acceptance
This supplements the existing enclosure instructions. The PCB outline, mounting holes, key positions and encoder position are retained.
## Assembly order must be agreed before ordering PCBA
1. Complete top-side SMT assembly and inspection first.
2. Fit the six key switches into the support plate and insert the plate/switch assembly into the PCB before soldering the keys. Verify clips seat without force and the plate sits level.
3. Solder the switch pins with a process compatible with the plate material. A printed plastic plate must not be assumed to tolerate wave-solder temperatures. Agree a selective/hand-solder sequence with the assembler; otherwise order SMT assembly and complete the through-hole mechanical assembly locally.
4. Complete the encoder and slide-switch through-hole assembly, checking actuator clearances and orientation.
5. Install the base, nominal M3 hardware and small-control extensions using enclosure/README.md. Check that plungers do not preload RESET/BOOT and that switch travel is not obstructed.
6. Flash and verify application firmware; inspect soldering and perform the electrical tests below.
The BOM includes through-hole items, but a populated BOM alone is not evidence that Economic PCBA will accept this assembly sequence. Do not approve automated full assembly until the supplier accepts the plate-first requirement and the soldering process. CAD keycaps/knob remain reference designs pending fit qualification.
## Electrical acceptance
- Use the application firmware instructions in firmware/README.md. Factory DFU is a programmer, not the application.
- Check shorts, polarity and supply rails before connecting to a host.
- Verify USB enumeration and all HID functions, repeatedly, with representative computers and cables.
- Measure configured current against the firmware's 100 mA descriptor budget. Measure before configuration and during suspend, including held keys and encoder states. Do not infer compliance from the LED arithmetic alone.
- Six 12 mA/channel LEDs could draw approximately 216 mA in channel current at unrestricted full white, before LED controller and board consumption. The supplied animation uses a maximum channel value of 32/255; an all-channel cap at that value corresponds to about 27.1 mA nominal channel current, not a measured total.
- Measure VCC and LED_5V at the greatest supported lighting load and worst intended cable. Meet the exact MCU USB and LED supply specifications. CPU prescaling to 8 MHz improves MCU operating margin but does not establish USB/LED voltage compliance.
- Check RGB data stays low while LED_5V is switched off, including reset/suspend/resume transitions. Scope the supply and data; there must be no unintended back-powering.
- Qualify printed plate fit, button travel, key travel, fastener retention and underside solder clearance on a physical prototype.
These physical and supplier checks are outstanding until performed. Local DRC and CAD checks do not replace them.