Hey all!
I'm trying to build an LED frequency counter. My input signal is an LED I'm using as a detector recieving from an output LED on my signal generator. I'm using square wave output to emulate pwm and my circuitry is going to process the signal to output a 5v logic output that can be read my my microprocessor.
An inherent problem with this is the voltage variance from the LED as I move the source close and further from the detector.
Is there any way I can regulate this voltage while still being able to read the duty cycle? Like a gain stage limiter or something?
Please help,
Josh
I'm trying to build an LED frequency counter. My input signal is an LED I'm using as a detector recieving from an output LED on my signal generator. I'm using square wave output to emulate pwm and my circuitry is going to process the signal to output a 5v logic output that can be read my my microprocessor.
An inherent problem with this is the voltage variance from the LED as I move the source close and further from the detector.
Is there any way I can regulate this voltage while still being able to read the duty cycle? Like a gain stage limiter or something?
Please help,
Josh