← Back to the chapter · Previous detail
Technical detail · Feature Scaling Lab: Preprocessing Workflow
Thermistor arithmetic and sampling limits
The simulator’s 10000 * (4095/adc - 1) solves the voltage-divider equation backward. At ADC code 2048 it gives 9,995 ohms, close to the 10 kΩ balance point, correcting the earlier 9,990-ohm arithmetic slip. The 12-bit, 3.3 V converter has a 0.806 mV code step and 0.233 mV RMS rounding noise.
The 200 ms loop samples at 5.00 Hz. Its Nyquist boundary is 2.50 Hz; a signal must stay below that boundary for unambiguous sampling, rather than treating exactly 2.50 Hz as safely recoverable. An illustrative 3.00 Hz cycle folds to 2.00 Hz before normalization starts. Scaling cannot undo that aliasing.