Go Down

Topic: beginner, need help with dc motor control (Read 667 times) previous topic - next topic


hi, i'm a new arduino user and i don't know very much about programming.
This is what i want my dc motor to do:
1. I press a push button, the motor runs for a few seconds
2. the motor stops, and doesn't start until i press the button again.

i have the motor, a push button and the arduino uno board
thankful for any help.


You need some sort of driver to convert the small ammount of current from the pin into enough to drive the motor.
As for software it is just like you do the same thing with a LED look at the examples in the arduino software about detecting a change in state of the input, not just reading its value.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131