Pages: [1]   Go Down
Author Topic: [Help] Newbie making an arduino-controlled motor  (Read 1217 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I recently started playing with the arduino(uno) and decided to try and connect some motors together.
I have a 30N06L transistor and a 12v dc motor. I found this diagram that shows how to connect them:
I noticed they use a capacitor for each motor. My question is, is that necessary? Will I fry or damage my Arduino in any way if I don't use one? or is it there just to catch noise?

Thanks
Logged

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

Those are diodes, not capacitors. They're connected back-to-front to prevent spikes casued by the motor stopping from zapping the transistor.

So yep they're basically compulsory- use them whenever you have a motor, a solenoid or a relay driven like that.

Logged

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

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

Oh ok, thanks. How about this diagram (going from + to - on the motor)? Is this also a diode or is it a capacitor?

We connected it without one and it worked fine.

Logged

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

Quote
Is this also a diode or is it a capacitor?

We connected it without one and it worked fine.

It's a diode too... have a look at a site like this to help you with identification and purpose of components.

The motor will run without the diode, but don't leave it out unless you're happy to fry the transistor when the motor stops and sends a spike back.
Logged

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

Pages: [1]   Go Up
Jump to: