main
Caleb
0.4.0: wiki page runs the live calculator (README.html loads the current source from the page repo), UI static mode, sh…
fc3ee8f
Changelog
0.4.0 — 2026-09-25
- The wiki page runs the calculator itself, no install: README.html fetches public/index.html, calcs.js and schematics.js from the page repo on every visit (served no-store) and runs them inline in a nested frame, so the page always runs the latest pushed source. A status bar shows the version and commit it loaded.
- UI static mode (window.HWCALC_STATIC): in-memory settings, no server calls, Copy link gives a wiki deep link (wiki.adom.inc/adom/hardware-calculator#?k=v), clipboard fallback for sandboxed frames.
- Settings spec moved into calcs.js (SETTINGS_SPEC) so the server and the page build share defaults.
0.3.0 — 2026-09-25
- Crystal load capacitors upgraded to a full Pierce oscillator CL calculator: caps for a rated CL or CL from C1/C2 (asymmetric), gm_crit and gain margin ≥ 5, drive level from a measured Vpp, frequency pulling and trim sensitivity. Verified against ST AN2867 Rev 10 §3.3–3.5 (tests reproduce its worked examples).
- Live schematics and PCB cross-sections for 26 calculators (
schematics.js), labelled with the entered values; also as SVG viaGET /api/schematicandhwcalc calc … --svg. Settingshow_schematics. - SOURCES.md standards register;
hwcalc-calculator-standardsdev skill andhwcalc-releasepublish skill.
0.2.0 — 2026-09-25
- 20 → 40 calculators after a market review. IPC-2152 curve fit is the trace-width default (IPC-2221 kept as legacy); IPC-2221C Table 6-1 spacing; IPC-2141 differential pairs; vias; fusing; attenuators; VSWR; regulators; MOSFET loss; PDN; op-amp; 555; NTC; spiral inductor.
0.1.0 — 2026-09-25
- First version: 20 calculators, Hydrogen UI, CLI, HTTP API.
# Changelog
## 0.4.0 — 2026-09-25
- The wiki page runs the calculator itself, no install: README.html fetches public/index.html, calcs.js and schematics.js
from the page repo on every visit (served no-store) and runs them inline in a nested frame, so the page always runs the
latest pushed source. A status bar shows the version and commit it loaded.
- UI static mode (window.HWCALC_STATIC): in-memory settings, no server calls, Copy link gives a wiki deep link
(wiki.adom.inc/adom/hardware-calculator#<calc>?k=v), clipboard fallback for sandboxed frames.
- Settings spec moved into calcs.js (SETTINGS_SPEC) so the server and the page build share defaults.
## 0.3.0 — 2026-09-25
- Crystal load capacitors upgraded to a full Pierce oscillator CL calculator: caps for a rated CL or CL from C1/C2
(asymmetric), gm_crit and gain margin ≥ 5, drive level from a measured Vpp, frequency pulling and trim sensitivity.
Verified against ST AN2867 Rev 10 §3.3–3.5 (tests reproduce its worked examples).
- Live schematics and PCB cross-sections for 26 calculators (`schematics.js`), labelled with the entered values; also as
SVG via `GET /api/schematic` and `hwcalc calc … --svg`. Setting `show_schematics`.
- SOURCES.md standards register; `hwcalc-calculator-standards` dev skill and `hwcalc-release` publish skill.
## 0.2.0 — 2026-09-25
- 20 → 40 calculators after a market review. IPC-2152 curve fit is the trace-width default (IPC-2221 kept as legacy);
IPC-2221C Table 6-1 spacing; IPC-2141 differential pairs; vias; fusing; attenuators; VSWR; regulators; MOSFET loss; PDN;
op-amp; 555; NTC; spiral inductor.
## 0.1.0 — 2026-09-25
- First version: 20 calculators, Hydrogen UI, CLI, HTTP API.