Page 2 of 2

Re: ESP32 PIN.OUT voltage

Posted: Mon Feb 11, 2019 6:11 am
by Roberthh
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

Posted: Mon Feb 11, 2019 9:14 am
by ajocius
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?