Pages: [1]   Go Down
Author Topic: Program on/of motor dc??  (Read 595 times)
0 Members and 1 Guest are viewing this topic.
Indonesia
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is it same the program if i want to stop and run motor dc with LED blink ???
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26274
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, but with different hardware.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Indonesia
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

what you meant hardware ? component ?
can u tell me what the component i need ?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26274
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
what you meant hardware ? component ?
Yes.
Quote
can u tell me what the component i need ?
Without more detail, no I can't.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Indonesia
Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i'm just for spinning motor on/off ... im using 12vdc (2400)rpm..
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26274
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My son's slot cars have 12 volt motors.
My diesel car has a 12 volt starter motor.

Your move.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 626
Posts: 34122
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i'm just for spinning motor on/off ... im using 12vdc (2400)rpm..
So what are you using to drive that? This means what are you using to make the 5V signal from the arduino into a 12V signal for your motor?
Logged

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4316
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You need something like this, where the pin D6 (or whatever pin you used for Blink) is switching the transistor on and off in the same way it was switching the LED for you. The transistor in turns lets or refuses the connection V to ground through the motor which therefore goes on and off.

Don't forget the diode across the motor connected as shown.
Logged

Roy from ITCrowd: Have you tried turning it off an on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Pages: [1]   Go Up
Jump to: