Ugly Clock?
External difficulties.
I am trying to run a NTE3101 optocoupler into a NTE4029 counter.· I want to monitor rpm.· Using a debounced switch, the counter works great.· Using the 3101, strange things happen.· Do I need to condition the output of the 3101 so that it looks more like a clock pulse.· I don't have a scope so I am just assuming that the problem is a waveform issue.· Voltage out is over 8 on a 9V supply.· The debounce switch is putting out less than that, so I don't think voltage level is a problem.· Rise time fall time?· The 3101 is a darlington pair in the detector.· I would think that rise and fall would be very abrupt.· Suggestions?
I am trying to run a NTE3101 optocoupler into a NTE4029 counter.· I want to monitor rpm.· Using a debounced switch, the counter works great.· Using the 3101, strange things happen.· Do I need to condition the output of the 3101 so that it looks more like a clock pulse.· I don't have a scope so I am just assuming that the problem is a waveform issue.· Voltage out is over 8 on a 9V supply.· The debounce switch is putting out less than that, so I don't think voltage level is a problem.· Rise time fall time?· The 3101 is a darlington pair in the detector.· I would think that rise and fall would be very abrupt.· Suggestions?
Comments
You have the optocoupler output (collector) "tied HI" with a 4K7 resistor, the emitter at Ground, and the junction of the output and the resistor going to the counter input?
·
·· Typically a Schmitt Trigger is used to clean up pulses from an Opto-coupler.· This has the effect of providing a dead band where no transitions occur.· Basically it prevents oscillation from noise around the normal switching threshold for the logic.· Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support