Arduino Uno with waterpump

Good afternoon, I'm new to this kind of stuff, I don't know much about Arduino Uno but I do have a question about it:

is it possible to drive a motor with an Arduino Uno board with a step-up converter? I've already managed to get it running all the time, but I really want to have a time that the motor runs at a certain time. Is that possible without anything in between and really just the motor, step-up and Arduino?

thanks in advance.

No. You need a driver between the UNO and the motor.

I have a step-up converter from 5v to 12v, works perfectly, motor runs all the time, but I want to have a schedule in between, that the motor runs 10 secs 1x a day as an example. Is that possible? But if I want this, then of course I can't grab the 5v output, but what does work?

tl;dr: Weird idea. Stick with a relay or MOSFET or other switch.

As @Railroader suggests, using a step-up regulator in this manner would be unconventional.

But some voltage regulators have a logical input which is used to enable (turn on) or disable (turn off) them.

So you could swim upstream fairly briskly and find such a step-up regulator.

You have said nothing about where any serious power is going to come from - you will have to have a supply capable of delivering enough power to run the motor, no matter what voltage you start with, you will need corresponding current to come up with the power for the motor.

a7

The voltage comes from the 5v of the Arduino Uno board. I don't want to get 12v from anywhere else. like now everything works fine but the motor is always running now i want to be able to turn it off and on with a certain amount of time so you say i need a step up board with a signal that i can switch it?

Where does the Arduino UNO board get its power? 5v from the board has a limited current capacity, so you'll want to get real power, be it 5 volts or not, from somewhere other than off the board.

a7

Okay, but software wise is it possible to get 5v from somewhere from the Arduino Uno? Without using the 5v from the Arduino Uno. A digital or analog or something?

No. The arduino 5V output shouldn't be used for any substantial load. I honestly wouldn't trust it for anything over 100mA and even that's probably pushing it.

There are "real" Arduinos and clones. The clones can use any of a number of voltage regulators, all with different specs. Don't trust them as power outputs. If you have an actual branded Arduino, then there's probably a spec that you can trust on how much current that 5V can supply.

Might be helpful if we knew how much current the motor needs and how much current your power supply can supply.

There are two points in your post:

can you also use that if you want to switch between them? And I mean, for example, that it goes 1x every day, but that I can also set it to 2 days for example? With a RTC?

With a real time clock "RTC" module, your code has access to the time and date.

Your code can control a switch or relay for you motor.

Literally anything is possible schedule-wise given those two abilities. Just a matter of logic.

RTC modules are inexpensive and examples for using them abound, so very easy to use.

a7

But can I also switch between certain times when I use an RTC, for example: I press button 1 and then it starts the engine every hour for a sec, and when I press button 2, it goes every 2 hours, is that possible with an RTC? And in an RTC is a battery, right? how long does something like this last?

if the OP does not care what time the pump comes on, the OP could just use millis() for timing.

There are 86400000 mili seconds in a day

unsigned long PumpTurnOnInterval= 86400000;
unsigned long previousTime = millis();

voiding loops()
{


if ( (millis()-previousTime) >= PumpTurnOnInterval )
{
//turn pump on
previousTime = millis();
} 

}

millis in an hour 3600000.

The OP can use a button to increase or decrease an hourly count.

That makes sense, thanks for that! But if the button is a digital button, is that also possible?

what is a digital button?

For example an app or software. Regardless of which app or software, can that be programmed with an RTC? That i push the button on the app, and that it will change? Or is that impossible?

All those things are possible.

RTCs usually have a backup coin cell battery that can last for months.

CR2032 (235 mAH) with 70 uA backup drain = 4.3 months.

Think logically! All these things are possible. If a pushbutton on an input can make something happen, so can a voltage on the same pin. With the same code. And so forth.

a7

Not sure if you can do it but I am sure I can do it.

Ooh, so if I understand correctly is the battery as a backup? And do you just feed the RTC from the Arduino board?