ESP32 PIN.OUT voltage

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Online
User avatar
Roberthh
Posts: 1320
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: ESP32 PIN.OUT voltage

Post by Roberthh » Mon Feb 11, 2019 6:11 am

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.

ajocius
Posts: 51
Joined: Mon Feb 19, 2018 6:31 am

Re: ESP32 PIN.OUT voltage

Post by ajocius » Mon Feb 11, 2019 9:14 am

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?

Post Reply