main
John Lauer Review native power paths, sensor trip margin and real tach adapter boundaries 0af9941

Fan feedback and load interlock

Selected candidate: Sunon MF40200V1-1000U-G99, 5 V, nominal 7000 RPM ±15%, three wires including frequency-generator feedback. Manufacturer specification D04114960G-01, page 8, retrieved 2026-10-08 through Mouser's native-browser product page, shows two pulses per revolution and an open-collector output. Maximum pull-up supply 6 V, sink current 5 mA, low output 0.5 V. The existing 10 kΩ pull-up to 3.3 V draws at most 0.33 mA. J9: 1=5V_AUX, 2=GND, 3=FAN_TACH to MCU PA7. Verify wire colors and connector assembly against the drawing before energizing.

The fan runs whenever auxiliary power is present. Keep the load disabled during spin-up. The portable policy now refuses ARM unless qualified RPM is valid and within a provisional 5000–10000 RPM window; it latches F_FAN and clears the DAC/enable when speed leaves that window, becomes invalid/nonfinite, or no tach edge arrives for 250 ms. Returning fan motion never automatically rearms the load. These limits are conservative bring-up settings, not a validated airflow rating.

The new portable fan_tach module calculates RPM = 30,000,000 / period_us from rising edges, requires eight consecutive periods in the 3000–6000 µs window, resets qualification on out-of-window timing, handles 32-bit timer wrap and invalidates readings 15 ms after the last edge. The output-locked STM32 bring-up adapter now connects PA7 rising-edge EXTI to a 32-bit 1 MHz TIM2 counter and atomically snapshots this ISR-owned state. It expires stale history and requalifies after a polling gap over 15 ms, preventing stale RPM from reappearing after a full timer wrap. This integration compiles but has not run on physical hardware. A tach wire stuck high or low, unplugged fan, stalled rotor and implausible pulse frequency must all fault. The actual fan adapter now passes fake-HAL tests for clock refusal, pin/IRQ setup, edge qualification, both timer wraps, interrupt-mask restoration, stale input and delayed acquisition. These are host tests; physical interrupt and shutdown timing remain unverified. The dashboard carries measured RPM; disconnected readings remain empty.

Host C tests cover slow, zero, implausibly fast, nonfinite and unqualified RPM, missing edges and latched shutdown. Physical validation must additionally test startup, locked rotor, supply variation, blocked airflow and tach disconnection at load. RPM alone does not prove airflow: case-temperature shutdown remains independent, and the heatsink/duct must pass thermal testing before raising the 5 W ceiling.

The reusable fan component page contains the symbol, mechanical mounting pattern, nominal STEP, animated GLB, thumbnails and fan-specific state skill. Its preview is simulated and does not switch this board's always-powered fan. The proposed motion contract separates Fan.Housing and Fan.Rotor; Fan.Rotor.Revolution plays at RPM/60 cycles per second, with explicit presentation scaling. Measured telemetry must carry freshness/validity; unknown feedback must never look like confirmed OFF.

On 9 October, fan component 0.2.3, Wiki Skill Pack 0.8.42 and Component Widgets 1.1.17 were released with gentle hero-presentation guidance and explicit connector assets. The baked hero animation works in the published canonical viewer without a new state runtime. The optional Adom harness is M20-1060300 plus three M20-1180046 contacts, mating with J9 M20-9990346. Native board readback confirms J9 pins 1/2/3 are 5V_AUX/GND/FAN_TACH, matching the documented red/black/yellow assembly map. The factory fan is bare-ended; orientation, strip preparation, crimp and continuity checks are still required.

Interactive shared motion-widget integration remains proposed in Component Widgets PR 1, wiki motion-authoring PR 8, and Probing issue 1. These remained open when checked on 9 October. AIFlow PR 32 is closed, not merged; do not cite it as a pending runtime delivery. Published hero playback does not establish a released probing simulator capability.

The temperature trip budget separately shows why nominal sensor readings need an installed measurement margin. Software tests do not establish airflow or actual-case temperature acceptance.