Currently, I have a board that powers 4 DC fans. A PWM signal is received from an external microcontroller to control the fan speeds. Unfortunately, the microcontroller sometimes fails to send the PWM signal, and I can not change it at this stage. When the PWM signal is not received the fans ramp up to maximum speed due to an internal pullup resistor in the fans. I want the fans to default at a speed anywhere between 20% and 50%.
I would like to make changes to this board by adding a default PWM signal which drives the fan speeds when no external PWM signal is received.
I have the following constraints and specifications:
All PWM signals have a frequency of 25kHz
I have 12V available to the board.
The board is tiny (the chosen components must be small and few).
The budget is low (the cheapest viable solution is prefered).
Below I have made a diagram of how I want to solve this problem. I have a few questions:
Is there a simpler way of solving this problem?
Is the 555 timer a good option for a PWM generator?
What logic level switch would be appropriate for a PWM signal?
How will I be able to convert a 25kHz frequency to 5V? (IC suggestions?)
Any advice, comments, critiques, component suggestions will be much appreciated.