Hello.
I have a circuit, that manages DC 12V fan via standard 4 pin interface, where PWM signal at 20 khz is delivered via a separate wire.
What I want to do, is to "divide" the duty cycle, while keeping the frequency. So say, duty cycle is 40% at input, and at output it should be 20% and so on.
I built a simple microcontroller circuit and done that in software (capture input high-low durations, calculate frequency and duty cycle, output desired as needed), but I'm curious, whenever there's some other way of doing this, say using logic circuits or something similar? I've googled, but all answers show how to divide pwm frequency, not duty cycle...