ESP32 PIN.OUT voltage
Re: ESP32 PIN.OUT voltage
Total power supply should not be the problem. If you use a separate power path for the pump, a n-type transistor is is, with Source (Emitter) to GND and the Pump between power and drain (collector). Names in () for a NPN transistor instead of N_MosFET. In case of a NPN tansistor, you nee a resistor between GPIO pin and the transistors base pin.
Re: ESP32 PIN.OUT voltage
Ok, so we established that
-total power supply should not be a problem;
-I would prefer to use one power supply in this project;
-I should use transistor or relay to supply current to pump and use ESP32 to just control that transistor or relay
-Power output from any ESP32 pin is not sufficient to drive pump directly (too low current)
Given above I think I need to make two power supplies out of my micro USB cable? One would feed ESP32, the other one would go via transistor or relay to pump? Or can I make it somehow without cutting USB cable?
-total power supply should not be a problem;
-I would prefer to use one power supply in this project;
-I should use transistor or relay to supply current to pump and use ESP32 to just control that transistor or relay
-Power output from any ESP32 pin is not sufficient to drive pump directly (too low current)
Given above I think I need to make two power supplies out of my micro USB cable? One would feed ESP32, the other one would go via transistor or relay to pump? Or can I make it somehow without cutting USB cable?