Op-Amp Voltage Comparator, LDR Light Sensor & Hysteresis — Engineering Notes & Troubleshooting
An op-amp used without negative feedback becomes a razor-sharp voltage judge: if V+ > V−, the output slams HIGH; if V+ < V−, it slams LOW. Pair an LDR light divider with a threshold knob to build an automatic dusk-to-dawn streetlamp!
Bench Challenge: Test Hysteresis: Slide ambient sunlight right onto the threshold with Hysteresis OFF to see chatter, then turn Hysteresis ON to lock a clean deadband!