Hardware Calculator
Public Made by Adomby adom
40 hardware design calculators whose every number traces to a standard (IPC-2152/2221C/2141, ST AN2867, NXP UM10204, IEC 60063), with live labelled schematics and PCB cross-sections. Hydrogen UI, CLI and HTTP API.
Skills
The skills this repo ships, by tier, each with a quick health read. Install the user skills with:
adom-wiki skills install adom/hardware-calculatorHardware Calculator (hwcalc) v0.3: an Adom app with 40 hardware design calculators in a Hydrogen webview UI, a CLI and an HTTP API sharing one formula module, each result showing its formula and standard, plus a live schematic or PCB cross-section labelled with the entered values for 26 of them. PCB: IPC-2152 (default) / IPC-2221 trace width and drop, IPC-2221C Table 6-1 conductor spacing, IPC-2141 microstrip/stripline and differential-pair impedance, via R/L/C/current, Onderdonk fusing current. Power: LDO, buck, boost, adjustable-regulator resistors, MOSFET losses, PDN target impedance, hold-up cap, battery life. Signal/RF: RC/RL/LC, RLC resonance, op-amp gain/bandwidth, 555, rise time/critical length, skin depth, dBm/W/V, VSWR/return loss, Pi/Tee attenuator, wavelength, planar spiral inductor. Components: E-series with colour/SMD codes, two-resistor combination finder, series/parallel, unit converter; plus divider, LED resistor, I2C pull-up, crystal caps, ppm, shunt, ADC, NTC, junction temperature, AWG; crystal oscillator load caps (CL, C1/C2, gm_crit and gain margin per ST AN2867, pulling, trim sensitivity, drive level). Use when the user asks to calculate, size or check any of these, or says hwcalc, hardware calculator, open the calculator, crystal load capacitors, oscillator caps, gain margin, trace width, clearance for voltage, diff pair impedance, via current, attenuator, VSWR, LM317 resistors.
How to add, change or fix a calculator in the Hardware Calculator (hwcalc) source so it meets the bar every existing one meets: each formula, constant and table verified against the governing standard or a trusted primary source fetched in the same session (current revision confirmed), a hand-checked test that reproduces the source's own worked example, a cited `ref`, and a labelled schematic or cross-section for any calculator that describes a circuit or physical structure. Use when someone says add a calculator to hwcalc / Hardware Calculator, new hardware calculation, update a formula, a standard changed (new IPC revision), fix a wrong result, add or fix a schematic drawing, or review a hwcalc pull request.
Release a new version of the Hardware Calculator (hwcalc) to the Adom Wiki page adom/hardware-calculator: run the tests, regenerate SOURCES.md, bump the version, publish the package and push the source (including dev and publish skills). Use when someone says release hwcalc, publish the hardware calculator, ship the new calculator, or update the wiki page.
Health: the size chip is green when right-sized, yellow when getting long, red when the model likely skims it. A green check is a passed preamble/structure signal; an amber mark is a gentle nudge, not a hard failure.