Connecting a 5V submersible water pump and 3.3 V ESP-01 wifi module to UNO never works together

Hello all,

I have been encountering a problem with powering my environmental system prototype.

To give you an overview of my system, I am using an Arduino UNO, a DC Mini Submersible Water Pump (with a voltage range of 3V to 6V), a wifi esp8266 module (which requires 3.3V) and other air/water sensors.

w the external power supply is connected, the wifi module stops working, and I suspect this is due to voltage and current issues. Initially, the system worked smoothly, connecting to the wifi, operating the pump, taking readings from the air/water sensors, and sending them to the cloud before waiting for ten minutes and repeating the process. However, after the initial run, the wifi module refuses to connect.

It appears that combining these two components is causing a lot of issues. The system either works with the water pump only or the wifi module. I believe that there may be a problem with the voltage or current that is causing this issue.

I really appreciate any help, support and sight I have been struggling with this for weeks.

First of all your transistor circuit is inapplicable. Move the load and diode between + and collector. Even then the TIP transistors drop too much voltage, use a logic level MOSFET instead.

Thank Dr Diettrich,

Do you think the IRF520NPBF with 1N4007FFG will solve this issue?

Are there any other issues that you could identify in the schematic?

Thanks a lot!

That's not a logic level MOSFET. Look or IRL...
The MOSFET and diode must support the voltage (5V) and current (how much?) of the load.

Well, there's no level conversion going on between the WiFi module and the Arduino, unless you're holding something back from us

Have you considered using an ESP32 or an ESP8266 in your project instead of trying to integrate the ESP01 module with a Uno?

Hi Roshan,

No, I don't have any level of conversion, is it impossible to run the project without it?

This is a full circuit of my project apart from the water PH sensor communicated through I2C.

Any suggestions for the best level of conversion component and correct wiring?if possible

Thank you so much for your input.

Hi @cattledog

I am using a sensor from Atlas Scientific and they highly recommend using Arduino UNO, this is how the decision about the board was made.

Thak you

You do absolutely need level conversion. If you don't use it you could end up destroying your ESP01. In response to your question, read these two links which I got from @alto777:

To quote @alto777:

Take your pick. I like using a voltage dividers and relying on the logic level thresholds.
Just don't put 5 volts out to an input on the 3.3 volt parts.

Arduino UNO is great for beginners, but if power consumption is not a big worry in your project, and all your inputs are a 3.3v operating level, then using an ESP32 dev board would give you way more processing power and memory, along with built in WiFi and around 30 GPIO pins. A cheaper option would be the ESP8266

Not going to work.

Google Common Emitter.

Google Logic level MOSFET.

Can you please provide a link to the data sheet for this sensor.

Hi @cattledog,

Here it's

However, if all works well I might include other sensors from the same provider like dissolved oxygen and conductivity.

The Atlas pH sensor and interface board is best read with Serial. The UNO is less than optimal because you will have to use software serial which is not at robust at hardware serial.

I have used the Atlas pH probe with a Nano Every which has a second hardware serial port independent from the usb serial.

The data sheet indicates that they will run with 3.3 - 5.5v Vcc, and the pH probe should work fine with an ESP32 which has a several hardware serial ports independent from usb.

Given your need for WiFi in the project, I would be advising trying to make all the components work with the ESP32.

@LarryD @DrDiettrich

Hi everyone,

Thanks to everyone who helped me in understanding the concept of logic level MOSFET. I spent an entire day studying various tutorials to grasp the main concept, but I am still a bit confused about which diode would be suitable for my system and the correct wiring.

I have summarized the specifications of the component and created an initial schematic, but it may not be entirely correct.

I would be grateful if any of you guys could provide me with advice.

The Water Submersible Pump:

  • Powered by 3 - 6V voltage
  • Current: 130 - 220 mA

External Power Supply:

  • Powered by 3 - 6V voltage (I’m selecting 5V)
  • It can supply with any current less than 2A

Logic-level MOSFET:

Diode:

image

No !

:scream:

The 5v will short to GND when the MOSFET turns on !



You need to do it like this:

Oh thank you, I got the diode wrong as expected!

Could you recommend which diode would work better with the system, the Schottky diode or the flyback diode?

Thanks again.

A 1N400X (ex. 1N4007) is good for a load that is less than 1 amp

Where usually the 1N4001 (35V) is sufficient.
Schottky is not normally required, it will slow down the turn off.

As mentioned, any 1N400X diode could be used.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.