Hi,
I've been googling forever and can't seem to progress. More of a software than hardware guy...
I'm working on a projet where I want to run a 12v fan (PWM) according to temp in room. I'm controlling everything through an ESP32.
The fan (12v/0.5A) is connected to a buck converter (set at 12v) which is connected to a solar panel (32W, open voltage 21v). This works as long as the panel delivers enough energy. When the supply is low (low light), the voltage of the panel drops and the fan run slow. This is expected, but I'd like to stop the fan from running when it can't reach 11.5v.
I've studied comparators and mosfet, but I don't think that what I need. I could also use software (reading fan voltage and adjusting pwm down to zero if unable to get to 12v) but that would mean my ESP32 is always running and I need it to get into deep sleep. If I use a comparator to disconnect load when voltage under 11.5, then voltage shoot up immediately. Even with hysteresis, it seems hard (when no load, the voltage is fairly constant).
Really desperate here. Any idea?
Much appreciated. Thanks in advance. Ludo
I've been googling forever and can't seem to progress. More of a software than hardware guy...
I'm working on a projet where I want to run a 12v fan (PWM) according to temp in room. I'm controlling everything through an ESP32.
The fan (12v/0.5A) is connected to a buck converter (set at 12v) which is connected to a solar panel (32W, open voltage 21v). This works as long as the panel delivers enough energy. When the supply is low (low light), the voltage of the panel drops and the fan run slow. This is expected, but I'd like to stop the fan from running when it can't reach 11.5v.
I've studied comparators and mosfet, but I don't think that what I need. I could also use software (reading fan voltage and adjusting pwm down to zero if unable to get to 12v) but that would mean my ESP32 is always running and I need it to get into deep sleep. If I use a comparator to disconnect load when voltage under 11.5, then voltage shoot up immediately. Even with hysteresis, it seems hard (when no load, the voltage is fairly constant).
Really desperate here. Any idea?
Much appreciated. Thanks in advance. Ludo