MCP3008: Reference Voltage, Source Resistance and a Real Acquisition Window
Read an MCP3008 with a Pico, compare first and repeated samples, and learn why a slow print loop cannot fix a high-resistance source during acquisition.
Unravel the Mystery of Electronics
Explore integrated circuits through practical projects, clear wiring diagrams, component explanations, calculations and complete code examples.
Read an MCP3008 with a Pico, compare first and repeated samples, and learn why a slow print loop cannot fix a high-resistance source during acquisition.
Build a three-data-bit even-parity checker with an exact SN74HC86N. Inject one- and two-wire errors, decode the syndrome and separate static logic from glitches.
Compare edge counts and reciprocal periods with a Pico loopback fixture. Learn counting steps, sampling-gap refusals and why a shared clock cannot calibrate itself.
Derive exact exponential PWM-filter ripple, include the meter as a load, and compare 1 kHz with 10 kHz using a complete Pico trial and ideal calculator.
Build an ADXL345 gravity lab with complete raw-register UNO code. Check buffered vectors, units, overrun and motion before treating an angle as static inclination.
Read fresh BMP390 pressure with a complete Pico driver. Track a short-lived local reference and show why weather, heating and air models prevent an automatic exact height.
Use ATtiny85 hardware CTC to drive an exact passive piezo, calculate clock and rounding errors, bound pin current, and stop the output in a defined low state.
Build an ESP32 touch pad that freezes its baseline during touch candidates and a held touch. Full code separates slow drift, hysteresis and latched read faults.
Compare MCP9808 window alarms, hysteresis and manual interrupt acknowledgement while reading temperature flags, CONFIG status and the physical ALERT wire separately.
Build a NAND memory latch with exact SN74HC00N pins, then compare valid storage, both-low inputs, release order and unspecified power-up.