Relay battery and motor

Hello!
I'm gonna ask some really stupid questions next, but please bear with me.

I want to control a water pump using a MCU , through a relay. Open configuration, because im powering the pump rarely and only for a few seconds. But maybe in the future it will 1-2 minutes max.

The pump specifications vary, depending on what site I look , but mostly they're

  • 3-6V operating voltage
  • 100-200mA operating current ( I've seen 130-220 also)

The battery I want to use is 9V, but when measuring its voltage, it shows 9.6V . The circuit is like this, except like I said , I'm using a battery not a socket.

My questions are:

  1. Will I damage the pump if I use it with 9V battery ?
  2. What other better choices I have? 4xAA 1.5V ? Why are they a better choice ?

Hello. If you want help, give as much information as possible.
Please clarify what the lamp does in your diagram and where is the pump in the diagram?
What motor driver are you planning to use?

Your system will not work, there is o power to the Arduino. You might want to reconsider your suggested power source, a 9V battery will only last a few hours. Spend a little time and create a schematic, it would be much easier for us to follow then light bulbs and plugs.

@Boffin @gilshultz My bad for posting a random picture and not giving enough info. Here is my schematic . My load is just a motor

image

So far you have a weak project idea.
You need a 6V motor power supply, a 5V LOLIN32 power supply, you need a motor driver that will be controlled by a LOLIN32, the pins of which give 3.3V levels.

9V batteries have low capacity and you don't need 9V, use 4 x AA batteries for 6V and more capacity.
The relay module is not the best choice. Its coil has a resistance of 70 ohms, it is 70ma from 5V or 85 ma from 6V, or 130 ma from 9V. At the control input of the KY-019, the LED is connected in series, I do not know how well it will work from 3.3V.

Try to read for a couple of articles first and reconsider your project idea.
Control a DC Motor with Arduino, ESP8266 or ESP32
ESP32 - DC Motor
The L298N driver is also not the best, there are more modern and economical FET drivers.

A complete schematic would help. your LOLIN32 cannot operate it has no power.

The relay is a "srd 5vdc sl c" actually. My board is connected through USB to my computer for now.
Why would I need a driver like L298N ? I just want to start my water pump ( which is just a DC motor ) , for a few seconds once every few days. ( watering a plant ) .

@gilshultz ... its just a schematic. the board is connected to my PC through USB

EDIT : Nevermind , the KY-019 is actually "SRD 5VDC SL C" . I didnt know .

My questions were around the battery. I wanted to know the main difference between 4xAA and 9V and why the first option is better. But now it seems like even the relay I've chosen is bad.. or the idea itself

You go to the forum and ask a question.
There are people who can volunteer and help you for free.
However, for this they need the most complete and accurate information.
You are not giving such information. First you have a module with two relays and a lamp, then a KY-019 module, then you say "It doesn't matter, but I have different equipment."
Each component has its own characteristics, they need to be found, evaluated and offered one of the possible solutions. This takes time.
Therefore, if you want to get help, give full information (type of module, links to the seller's website, photos) about each module.

The driver is needed because the motor consumes 200 ma from 6V (much more when starting), and the controller can provide 20-40 ma at 3.3 V on its pins.
Now the role of the driver is played by your relay, but you cannot connect a separate relay to the controller, because it needs 5V and 70mA, and the controller has 3.3V and 40mA. You need not just a relay, but a relay module with a built-in transistor signal amplifier.

A 6V battery is better for a 6V motor because that is how the motor is designed. If you provide 9V, the current will be much higher. I don't know what the final will be, maybe the motor will burn out.

1 Like

First of all, I would like to apologise for the poor wording of the question and not giving enough information at the beggining. Second of all, thank you for taking your time to write me, and explain things.

Now, what if I use the relay module ? That comes with everything I need: flyback diode, built-in transistor, optocoupler? Would be that be an ok alternative to the driver, to just control the on/off state of a motor ?

Thank you again

You can use this module as a driver, but check with the seller what voltage you need to supply to its inputs IN1, IN2. I don't know if it will work from 3.3V.

1 Like

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