An optimal input circuit for an optical sensor?
Here's what I have:https://tinyurl.com/2y2b76gjThe opto-coupler simulates (very roughly) the TCST2103 optical sensor.My goal is to accurately measure the pulse frequency. The Q MOSFET's gate represents the MCU GPIO input. The 1M resistor represents t...