I want to create a active cooling for power supply when charging a battery with BQ24610 IC.
BQ24610 has open drain pin "STAT1" that switches on when battery is being charged.
I'd like to have the LEDs and add additional circuitry (LDO) that powers the 12 V fan if the battery is getting charged.
Adapter + is 12 – 28 V. 19 V nominal in my case.
The goal: LEDs stay as they are in the schematic but with addition that if STAT1 is ON then turn on LDO that powers the fan.
What kind of ciruit I'd need to achieve above goal?
I'm not too familiar with open drain circuits.
Edit:
As I undestand from block diagram from BQ24610, this is how STAT1 looks like currently (changed to 3v3 power, so there won't be need for zener diode that protects the VGS from voltages of 20 V or above)
simulate this circuit – Schematic created using CircuitLab
And now I have to add somewhere else additonal components to achieve my goal, but I can't seem to find any solutions.