August 2, 2026

Trigger warning: comment drama

Schmitt Trigger: Robust Comparator Design with Hysteresis

This tiny circuit fix sparked a power-waste warning and one brutally savage review

TLDR: The article explains a simple trick that stops noisy electronic signals from flipping wildly, which matters for buttons, sensors, and low-power devices. In the comments, one reader warned some microcontrollers already do this internally and can waste power if misused, while another just called the whole thing “Slop.”

A humble lesson on a noise-proof switch somehow turned into a mini comment-section soap opera. The article itself is classic electronics nerd gold: a Schmitt trigger is basically a smart gatekeeper that refuses to panic when a signal gets wobbly. Instead of flipping on and off every time a messy voltage jitters near the line, it uses two separate trip points so the output stays calm. That makes it useful for everything from cleaning up button presses to taming slow, fuzzy signals in sensors and simple timing circuits. The piece walks through several ways to build one, from old-school transistor setups to popular chips like the 74HC14 and speedy comparators like the LM393 and TLV3201.

But the real drama came from the comments. One reader dropped a practical bombshell: on some microcontrollers, including certain STM32 chips, setting a pin as a digital input may already route it through a built-in Schmitt trigger. Translation for normal humans: your tiny computer may secretly have this cleanup feature already baked in. The catch? If that pin is left floating, it can waste power by twitching endlessly, which instantly gave the thread a public-service-announcement vibe.

And then came the chaos goblin energy: one commenter simply posted “Slop.” No explanation, no mercy, just a drive-by roast. That one-word takedown became the thread’s entire mood board: half useful engineering tip, half internet snark. So yes, the article explains how to stop circuits from chattering—but the comments proved people online never will.

Key Points

  • A Schmitt trigger uses positive feedback to create hysteresis, allowing separate rising and falling input thresholds that reduce output chatter caused by noise or slow input transitions.
  • For an inverting op-amp Schmitt trigger, the article gives thresholds V(TH) = (R1 / (R1 + R2)) × V(sat) and V(TL) = (R1 / (R1 + R2)) × (−V(sat)), with hysteresis width V(H) = (2 × R1 / (R1 + R2)) × |V(sat)|.
  • For a non-inverting Schmitt trigger, the article gives V(UT) = +(R1 / R(f)) × V(sat), V(LT) = −(R1 / R(f)) × V(sat), and hysteresis equal to 2 × (R1 / R(f)) × |V(sat)|.
  • A discrete BJT Schmitt trigger using two transistors and a shared emitter resistor produces hysteresis because the emitter voltage changes with output state; typical designs yield about 0.4 V hysteresis.
  • The article compares integrated devices including the SN74HC14, SN74LVC1G14, LM393, and TLV3201, providing operating-voltage, threshold, hysteresis, and timing figures for practical design use.

Hottest takes

"digital input" means that the signal is routed through a Schmitt trigger circuit — wrigby
"the Schmitt trigger circuit itself will waste power" — wrigby
"Slop" — aappleby
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.