throbscottle
Well-Known Member
I found how to add hysteresis to a photo-interrupter, now mechanical noise is banished!
So anyway, the interrupter's transistor outputs into the gate of a p-mos, originally to make the gear-tooth shaped waveform rectangular-ish I finally realised I can feed some signal back from the p-mos drain to the LED of the interrupter. Viola! An opto-schmitt trigger.
So anyway, the interrupter's transistor outputs into the gate of a p-mos, originally to make the gear-tooth shaped waveform rectangular-ish I finally realised I can feed some signal back from the p-mos drain to the LED of the interrupter. Viola! An opto-schmitt trigger.