Dc motor with timer

Anyone can help me to build arduino coding to run my dc motor with timer. I just use one dc motor. And did i need to buy L298N too for this? Or just motor with arduino uno?

1.i want the dc motor run every 1 hour
2.then the dc motor will spin for 2 minutes then stop

I hope you all can help me because i need to do for my project to graduate.

Hi, and welcome to the forum.
A few general points:
Arduinos are microcontrollers and can supply little current. An appropriate power driver is needed to power the device.
The power supply to the device cannot be taken from the Arduino board, but must be provided separately.

So, to answer your question, you will need a motor driver board, a power supply for the motor, and you will need to write a program to do what you want the motor to do.
There are many motor driver boards available.

Please take a look at this link:
https://create.arduino.cc/projecthub/electropeak/the-beginner-s-guide-to-control-motors-by-arduino-and-l293d-139307

Please specify the type of motor (brushed or brushless) and its power or voltage and current requirements.

Lots of tutorials on line -- search for "arduino dc motor control".

Brush dc motor
Power 3w
Voltage 12v
Current 0.5A

12V at 0.5A is 6W.

This MOSFET driver will work. Be SURE to use a logic level MOSFET.

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