Hello,
I have a 60hz PWM signal which can change from two stages when a switch is fliped.
It changes from 5% duty cycle to 12.5% duty.
What I want to do is create a circuit that take the PWM as an input and that at 5% duty cycle my voltage is 0V and when at 12.5% duty cycle I want the full 5Vdc out. So basically make the 5% duty cycle a 0% duty cycle and the 12.5% duty cycle a 100% duty cycle.
I was thinking of using a differential op-amp maybe, but want to know if anyone here has any other suggestions.
I have a 60hz PWM signal which can change from two stages when a switch is fliped.
It changes from 5% duty cycle to 12.5% duty.
What I want to do is create a circuit that take the PWM as an input and that at 5% duty cycle my voltage is 0V and when at 12.5% duty cycle I want the full 5Vdc out. So basically make the 5% duty cycle a 0% duty cycle and the 12.5% duty cycle a 100% duty cycle.
I was thinking of using a differential op-amp maybe, but want to know if anyone here has any other suggestions.