Controlling DC Motors on a Timer with a button

So I am having a huge issue, I am having major issues with finding a solution to controlling dc motors with an arduino on a timer. The program must be triggered by a button on the breadboard. If someone has ANY suggestion, code, or solution, PLEASE feel free to post them here. It would help so much.

Thank You,


Start with getting an LED to turn on & off from a timer. If you can do that, then its just a matter of improving the control interface to the motor with transistors or a relay that the Arduino controls.

For example, look at the Blink without Delay example in the IDE to periodically turn an output on & off.
If you can do that, you can expand it to have different on & off times, like an hour on and 23 hours off.