Pages: [1]   Go Down
Author Topic: Using resistances  (Read 406 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm begginer in electronic and I connected a dc motor and a led to digital pins in PWM mode of the arduino board without a resistance (I connceted them directly), I want to know if do that is damaging for the arduino board or only is bad for the Led or the motor that use 5v, for that I think that the motor don't need a resistance. It's true?
Thanks.
Logged

Montreal
Offline Offline
Faraday Member
**
Karma: 29
Posts: 2590
Per aspera ad astra.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You damaging arduino. Use resistors with leds, for motor you need transistor.
Logged

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

.... for motor you need transistor.

And a diode to take care of the back emf when the motor stops, as explained here.

Logged

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

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 246
Code Monkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I'm begginer in electronic and I connected a dc motor and a led to digital pins in PWM mode of the arduino board without a resistance (I connceted them directly), I want to know if do that is damaging for the arduino board or only is bad for the Led or the motor that use 5v, for that I think that the motor don't need a resistance. It's true?
Thanks.

See here: http://www.arduino.cc/playground/Main/InterfacingWithHardware#Physical_Mechanical
Logged

I yield() for co-routines.

Pages: [1]   Go Up
Jump to: